[Wicket-user] Wiki: Comparing Wicket and Struts

2005-12-02 Thread Eelco Hillenius
Hi,

Who wrote http://www.wicket-wiki.org.uk/wiki/index.php/Struts ?

I like it!

Eelco


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] New Wicket-contrib-dojo release

2005-12-02 Thread Marco van de Haar
It should be fixed in CVS version. though I have no valid test-case to 
test it on, maybe you could give me a case to test the serializable?
Anyway, it will be in our next release which we plan on releasing soon 
as our next component will be included and some of the major bugs are fixed.


Marco

Ingram Chen wrote:


Thanks for the fix, I will try it next release.

Another small bug I found is inner class FXAjaxValidationHandler.RGB does
not implement Serializable. Hope this can be fixed too.

Thanks in advance !

On 11/28/05, *Marco van de Haar* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


We fixed the FXAjaxValidationHandler so that is supposed to work with
all FormComponents now, as was intended.
We tested it on a TextArea and it works fine. The fix is not in
the 0.3
release, but you can check out wicket-contrib-dojo
FXValidationAjaxHandler.java We will add the fixed handler to our next
release and add a TextArea example in our next example app.

We did have to add a restriction to our handler. The FormComponent
where
the handler is bound to has to be added to a page BEFORE you add the
handler like this:

tarea = new TextArea(tarea, new
PropertyModel(ValidationTestPage.this, textValue));
tarea.add(LengthValidator.max(10));

//add the component first before you add the handler
form.add(tarea);
tarea.add(new FXValidationAjaxHandler(onblur));

otherwise, and exception will be thrown.

Marco  Ruud

NOTE: due to a previously erronomous commit you will still get a
filename-case warning when checking out wicket-contrib-dojo on
BasicTooltipTutorial.xml , this is in the process of bieng fixed,
but can
take a few days. It should not affect checked out code.

 Hi,
 I tried FX AJAX Validation and it works great with TextField.
 Thanks for the great job !

 But I found that it does not work with TextArea (raise Unmodified
 related exception from ValueMap) .
 Have any body tried ?


 On 11/25/05, *Ruud Booltink*  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:

 Hi all,

 We're proud to anounce our first real contrib-dojo release :)
 This release contains:
 Dojo FX Decorators
 Dojo FX Tooltip
 FX ajax Validation
 FXFeedbackIndicator
 xdocs updated with new site
 Example applications

 You can check our release at
 http://wicket-stuff.sourceforge.net/wicket-contrib-dojo/

 Have fun with the release, and if you have any comments,
please feel
 free to post them on the mailinglist :)

 Regards,

 Ruud and Marco




 ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep
through
 log files
 for problems?  Stop!  Download the new AJAX search engine
that makes
 searching your log files as easy as surfing the  web.  DOWNLOAD
 SPLUNK!
 http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
  http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




 --
 Ingram Chen
 Java [EMAIL PROTECTED]
 Institue of BioMedical Sciences Academia Sinica Taiwan
 blog: http://www.javaworld.com.tw/roller/page/ingramchen




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through
log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD
SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen 





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that 

[Wicket-user] Wicket @ JavaPolis 2005

2005-12-02 Thread Martijn Dashorst
All,

There is a short introductory article on Wicket published in the JavaPolis newsletter. You can find the article below.

http://wiki.javapolis.com/confluence/download/attachments/16623/page7.gif

There is also a (4MB) PDF version available, somewhere on the wiki.

See all pages:
http://wiki.javapolis.com/confluence/display/JP05/JavaNews+2005
Enjoy the read!

Martijn Dashorst
-- Living a wicket life...Martijn Dashorst - http://www.jroller.com/page/dashorstWicket 1.1 is out: 
http://wicket.sourceforge.net/wicket-1.1


Re: [Wicket-user] New Wicket-contrib-dojo release

2005-12-02 Thread Eelco Hillenius
The easiest way to test whether you wicket application behaves well
when serialized, turn on the debugging logging for WebSession, like:

log4j.logger.wicket.protocol.http.WebSession=DEBUG

Eelco


On 12/2/05, Marco van de Haar [EMAIL PROTECTED] wrote:
 It should be fixed in CVS version. though I have no valid test-case to
 test it on, maybe you could give me a case to test the serializable?
 Anyway, it will be in our next release which we plan on releasing soon
 as our next component will be included and some of the major bugs are fixed.

 Marco

 Ingram Chen wrote:

  Thanks for the fix, I will try it next release.
 
  Another small bug I found is inner class FXAjaxValidationHandler.RGB does
  not implement Serializable. Hope this can be fixed too.
 
  Thanks in advance !
 
  On 11/28/05, *Marco van de Haar* [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  We fixed the FXAjaxValidationHandler so that is supposed to work with
  all FormComponents now, as was intended.
  We tested it on a TextArea and it works fine. The fix is not in
  the 0.3
  release, but you can check out wicket-contrib-dojo
  FXValidationAjaxHandler.java We will add the fixed handler to our next
  release and add a TextArea example in our next example app.
 
  We did have to add a restriction to our handler. The FormComponent
  where
  the handler is bound to has to be added to a page BEFORE you add the
  handler like this:
 
  tarea = new TextArea(tarea, new
  PropertyModel(ValidationTestPage.this, textValue));
  tarea.add(LengthValidator.max(10));
 
  //add the component first before you add the handler
  form.add(tarea);
  tarea.add(new FXValidationAjaxHandler(onblur));
 
  otherwise, and exception will be thrown.
 
  Marco  Ruud
 
  NOTE: due to a previously erronomous commit you will still get a
  filename-case warning when checking out wicket-contrib-dojo on
  BasicTooltipTutorial.xml , this is in the process of bieng fixed,
  but can
  take a few days. It should not affect checked out code.
 
   Hi,
   I tried FX AJAX Validation and it works great with TextField.
   Thanks for the great job !
  
   But I found that it does not work with TextArea (raise Unmodified
   related exception from ValueMap) .
   Have any body tried ?
  
  
   On 11/25/05, *Ruud Booltink*  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
  
   Hi all,
  
   We're proud to anounce our first real contrib-dojo release :)
   This release contains:
   Dojo FX Decorators
   Dojo FX Tooltip
   FX ajax Validation
   FXFeedbackIndicator
   xdocs updated with new site
   Example applications
  
   You can check our release at
   http://wicket-stuff.sourceforge.net/wicket-contrib-dojo/
  
   Have fun with the release, and if you have any comments,
  please feel
   free to post them on the mailinglist :)
  
   Regards,
  
   Ruud and Marco
  
  
  
  
   ---
   This SF.net email is sponsored by: Splunk Inc. Do you grep
  through
   log files
   for problems?  Stop!  Download the new AJAX search engine
  that makes
   searching your log files as easy as surfing the  web.  DOWNLOAD
   SPLUNK!
   http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
  http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
  http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  mailto:Wicket-user@lists.sourceforge.net
   mailto:Wicket-user@lists.sourceforge.net
  mailto:Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
  
   --
   Ingram Chen
   Java [EMAIL PROTECTED]
   Institue of BioMedical Sciences Academia Sinica Taiwan
   blog: http://www.javaworld.com.tw/roller/page/ingramchen
 
 
 
 
  ---
  This SF.net email is sponsored by: Splunk Inc. Do you grep through
  log files
  for problems?  Stop!  Download the new AJAX search engine that makes
  searching your log files as easy as surfing the  web.  DOWNLOAD
  SPLUNK!
  http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
  http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
  ___
  Wicket-user mailing list
  

Re: [Wicket-user] JavaOne 2006 - Wicket presentation?

2005-12-02 Thread Dorel Vaida
Honestly I think the wicket presentation could be better when it comes 
about 1.) true OOP, and 2.) when it comes about tools integration support.


1.) Wicket brings back into it's right the true OOP approaches in the 
serverside java programming. I think this is almost all the time 
overlooked even by wicket users.( I am working at this time in three 
projects now: one wicket, one struts, one Spring MVC. After developing 
with wicket where all looks so natural plain java programming, I have 
difficulties even to ADAPT my thinking back to the request/response 
paradigm you find in action frameworks, being given that I've developed 
MVC for the last 3 years :-)) ). No jsp tags for components, no jsp 
fragments or includes, no decorators etc. That is all your code is in 
the same place, all your code is in java and you can design/componentize 
AS YOU WANT. Only your skills, not the technology you use, will limit 
the quality of your code and your software product.


2.) On top of this comes the tools support needed. You need a good java 
IDE and a good web development IDE (html/js/css) both of which are 
already a commonality in all java IDEs. Back to *Simple* is a Good THING TM.


With Wicket, what I see as big (well ... ) problems are:

1.) The session use, not from the size perspective but from the 
clustering perspective (I think some users will be really reluctant to 
the ideea that the session is overused in their opppinion. The truth 
is that *stateless* really helps with scalability BUT is all the time 
scalability a requirement ? It may be having in mind we're talking about 
web apps )


2.) I think some AOP kind of approach could be really usefull, for 
example to enable a complex authentication/authorization implementation, 
maybe something similar to what servlet filters are to the servlet 
environment (this MVC thing really goes into your blood ultimately as 
you can see :-)) )


Martijn Dashorst wrote:


If you were able to go to JavaOne, and was deciding which framework to
use, and one of the presentations is about Wicket, what kind of
information do you want to hear so you would give it a try? Or even
better, what kind of info are you looking for in the program so you
attend such a session?

I'm in the process to submit a proposal to the JavaOne committee, and
I could use this information to streamline the proposal... Deadline is
today.

Thanks,

Martijn


--
Living a wicket life...

Martijn Dashorst - http://www.jroller.com/page/dashorst

Wicket 1.1 is out: http://wicket.sourceforge.net/wicket-1.1


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

 





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-12-02 Thread Marco van de Haar
Is there any concrete (simple) code example for rerendering a part of a 
page? I tried myRequestCycle.request(myComponent), but all I got were 
huge errors in my console.



Ari Suutari wrote:


Hi,


Project wicket-stuff contains already some AJAX components
(scriptaculous and dojo based ones). Wicket core contain a AjaxHandler
and we provide a yet experimental component level re-render
(requestcycle.render(component). Though the latter one is no yet
accessible through a URL (that piece of code is missing; we've only
tested it with junit tests). So, yes some parts have been done, it is
not ready yet, but I think we are on a good way and some features can
be used already. Because it is in an dev stage, feedback is very much
welcome.



   So, If I create my own component (that I'm going to re-render
   with ajax) and add an interface based on IRequestListener I
   could build an URL that calls my component via that interface
   and returns re-rendering of component using 
requestcycle.render(this) ?


   Or is there a better way ? I took a look how IOnChangeListener is
   implemented on DropDownChoice and it looks rather simple to
   implement such a thing (although DropDownChoice uses it
   for different purposes)

   Ari S.



Juergen

On 11/25/05, Ari Suutari [EMAIL PROTECTED] wrote:


Hi,

We are developing applications, which have kind of a content 'push' 
system,

ie. data arrives from factory automation and we visualize it on-line.
Our traditional approach to this has been to send the data to browser
(via applet and additional tcp socket) and use javascript to render it.

However, I'm a little bit tempted to adjust our architecture so that
we would only push a notification of change and then use ajax
to re-render part of page.

Would it be possible with wicket ? Typically, the part that
would be re-rendered with ajax is just a text field or a table
(rendering whole page is too slow, since the data rate
can be quite fast; also flashes too much for slower cases).

There was some discussion on mailing list that something like
this would be in 1.2 ?

   Ari S.





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through 
log files

for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through 
log files

for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865opÌk
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user






---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
files

for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JavaOne 2006 - Wicket presentation?

2005-12-02 Thread Eduardo Rocha
Yes, with the proxy based solution it is not necessary (transient
fields). I was saying that with the AOP implementation it is
necessary, since there is no proxy working. What the AOP and proxy
solutions have in common is the code to inject the beans.

2005/12/2, Igor Vaynberg [EMAIL PROTECTED]:
 the way the new integration works you do not need to have your bean holding
 fields transient, thats the whole point. we create a small /serializable/
 proxy that contains just enough information to retrieve the bean from spring
 context or somewhere else
 (jndi/ejb3/servletcontext/wherever). so you can create this
 proxy and treat it as a pojo you can create these manually or you can use
 the injector to traverse your class and create these proxies for you for
 annotated fields.

 see the wiki page i mentioned earlier.

 -Igor



 On 12/1/05, Eduardo Rocha [EMAIL PROTECTED]  wrote:
 
  If phonebook is supposed to sample spring/hibernate usage with Wicket,
  I think it is more natural the code being in
  wicket-contrib-spring-examples, and remove the phonebook (although
  many people must be using phonebook as reference by now...). It is a
  nice pattern to have wicket-contrib-xxx and
  wicket-contrib-xxx-examples.
 
  I have asked about wicket-contrib-spring-examples because I have an
  AOP implementation for wicket-contrib-spring, so I could use the same
  example.
 
  Surely not everyone would be interested in AOP, but maybe it would be
  nice to have there. Besides the aspect itself, there are also issues
  with configuring the aspect with spring's context and using the jar as
  an aspect library. The pointcut it is very simple
 
  @Before(get(@SpringBean * *))
  public void matchAnnotatedFields(JoinPoint thisJoinPoint) {
  ...
  }
 
  This is read as: when there is a reference for an annotated field,
  fires this method, which sets the field value (if not null) (any
  feedback?). I am using custom code for setting the bean, but it could
  be easily refactored to use what already was written by Igor.
 
  There is also a declare error, which is raised when the field it is
  not transient:
 
 
 @DeclareError(get(@wicket.contrib.spring.aspectj.SpringBean
 !transient * *))
  public static final String MUST_BE_TRANSIENT = SpringBean annotated 
  + field must be transient.;
 
 
  2005/12/1, Igor Vaynberg [EMAIL PROTECTED]:
   No, the phonebook example is small. currently it covers the first
 approach
   discussed on that wiki page. I can convert it to the second approach
 since
   that is something people might like more, but i dont see a way or need
 to do
   both in that app. the wiki article pretty much walks you through setting
 it
   up anyways.
  
   -Igor
  
  
  
   On 12/1/05, Eelco Hillenius [EMAIL PROTECTED] wrote:
Sure. Does the phone book example covers all the basic Spring support
   things?
   
Eelco
   
   
On 12/1/05, Martijn Dashorst [EMAIL PROTECTED] wrote:
 I'm fine with it. I constantly send people to the phone book
 example,
 so might as well make it the primary example.

 Martijn


 On 12/1/05, Igor Vaynberg  [EMAIL PROTECTED] wrote:
  I am thinking of dumping the wicket-contrib-spring-examples in
 favor
   of
  wicket-phonebook since it demonstrates spring integration. any
   developers
  reading with us, what do you think?
 
  also see
 
 http://www.wicket-wiki.org.uk/wiki/index.php/Spring
   for
  explanation of the wicket-contrib-spring project.
 
  -Igor
 
 
  On 12/1/05, Eduardo Rocha  [EMAIL PROTECTED] wrote:
   Igor,
  
   I checked out wicket-contrib-spring and I could not find a
 example
   using SpringWebPage. I think it is pretty easy to use, but if
   wicket-contrib-spring-examples was updated it would nice.
  
  
   2005/12/1, Igor Vaynberg  [EMAIL PROTECTED]:
  
i guess that was the point of redoing wicket-contrib-spring -
 to
   have a
final solution that the wicket team is willing to support. so
   there it
  is.
check out wicket-contrib-spring. of course suggestions for
   improvements
  are
always welcome.
   
-Igor
   
   
On 12/1/05, Iman RahmatiZadeh  [EMAIL PROTECTED]
   wrote:
 Why? Igor and a couple of others build some pretty decent
   Spring
 support now? It's all in HEAD, and there has to be a proper
   build for
 it made, but I think we now have Spring integration that
 most
   people
 are happy with.

 I'm looking forward to see a real final solution to the
 spring
  integration
problem, I've
 seen most examples about it, and am currently using my own
   solution in
  my
app,
 but just think its time for everybody to agree on the best
   solution,
integrate it into
 the core, and stick to it from now on.

 And BIG thanks for all the good work !


Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-12-02 Thread Johan Compagner
that should work, what kind of errors do you getsee the unit test: SimplePageTestand then the rerender(component) calls.johanOn 12/2/05, 
Marco van de Haar [EMAIL PROTECTED] wrote:
Is there any concrete (simple) code example for rerendering a part of apage? I tried myRequestCycle.request(myComponent), but all I got werehuge errors in my console.Ari Suutari wrote: Hi,
 Project wicket-stuff contains already some AJAX components (scriptaculous and dojo based ones). Wicket core contain a AjaxHandler and we provide a yet experimental component level re-render
 (requestcycle.render(component). Though the latter one is no yet accessible through a URL (that piece of code is missing; we've only tested it with junit tests). So, yes some parts have been done, it is
 not ready yet, but I think we are on a good way and some features can be used already. Because it is in an dev stage, feedback is very much welcome.So, If I create my own component (that I'm going to re-render
with ajax) and add an interface based on IRequestListener Icould build an URL that calls my component via that interfaceand returns re-rendering of component using requestcycle.render
(this) ?Or is there a better way ? I took a look how IOnChangeListener isimplemented on DropDownChoice and it looks rather simple toimplement such a thing (although DropDownChoice uses it
for different purposes)Ari S. Juergen On 11/25/05, Ari Suutari [EMAIL PROTECTED]
 wrote: Hi, We are developing applications, which have kind of a content 'push' system, ie. data arrives from factory automation and we visualize it on-line.
 Our traditional approach to this has been to send the data to browser (via applet and additional tcp socket) and use _javascript_ to render it. However, I'm a little bit tempted to adjust our architecture so that
 we would only push a notification of change and then use ajax to re-render part of page. Would it be possible with wicket ? Typically, the part that would be re-rendered with ajax is just a text field or a table
 (rendering whole page is too slow, since the data rate can be quite fast; also flashes too much for slower cases). There was some discussion on mailing list that something like
 this would be in 1.2 ?Ari S. ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems?Stop!Download the new AJAX search engine that makes searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
 http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___
 Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.net email is sponsored by: Splunk Inc. Do you grep through
 log files for problems?Stop!Download the new AJAX search engine that makes searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK! 
http://ads.osdn.com/?ad_idv37alloc_id865opÌk ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems?Stop!Download the new AJAX search engine that makes searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
 http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Wicket-user mailing list
 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makes
searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-12-02 Thread Eelco Hillenius
you should use requestcycle.setResponseTarget with ComponentRequestTarget

Eelco

On 12/2/05, Marco van de Haar [EMAIL PROTECTED] wrote:
 Is there any concrete (simple) code example for rerendering a part of a
 page? I tried myRequestCycle.request(myComponent), but all I got were
 huge errors in my console.


 Ari Suutari wrote:

  Hi,
 
  Project wicket-stuff contains already some AJAX components
  (scriptaculous and dojo based ones). Wicket core contain a AjaxHandler
  and we provide a yet experimental component level re-render
  (requestcycle.render(component). Though the latter one is no yet
  accessible through a URL (that piece of code is missing; we've only
  tested it with junit tests). So, yes some parts have been done, it is
  not ready yet, but I think we are on a good way and some features can
  be used already. Because it is in an dev stage, feedback is very much
  welcome.
 
 
 So, If I create my own component (that I'm going to re-render
 with ajax) and add an interface based on IRequestListener I
 could build an URL that calls my component via that interface
 and returns re-rendering of component using
  requestcycle.render(this) ?
 
 Or is there a better way ? I took a look how IOnChangeListener is
 implemented on DropDownChoice and it looks rather simple to
 implement such a thing (although DropDownChoice uses it
 for different purposes)
 
 Ari S.
 
 
  Juergen
 
  On 11/25/05, Ari Suutari [EMAIL PROTECTED] wrote:
 
  Hi,
 
  We are developing applications, which have kind of a content 'push'
  system,
  ie. data arrives from factory automation and we visualize it on-line.
  Our traditional approach to this has been to send the data to browser
  (via applet and additional tcp socket) and use javascript to render it.
 
  However, I'm a little bit tempted to adjust our architecture so that
  we would only push a notification of change and then use ajax
  to re-render part of page.
 
  Would it be possible with wicket ? Typically, the part that
  would be re-rendered with ajax is just a text field or a table
  (rendering whole page is too slow, since the data rate
  can be quite fast; also flashes too much for slower cases).
 
  There was some discussion on mailing list that something like
  this would be in 1.2 ?
 
 Ari S.
 
 
 
 
 
  ---
  This SF.net email is sponsored by: Splunk Inc. Do you grep through
  log files
  for problems?  Stop!  Download the new AJAX search engine that makes
  searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
  http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
  ---
  This SF.net email is sponsored by: Splunk Inc. Do you grep through
  log files
  for problems?  Stop!  Download the new AJAX search engine that makes
  searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
  http://ads.osdn.com/?ad_idv37alloc_id865opÌk
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 
  ---
  This SF.net email is sponsored by: Splunk Inc. Do you grep through log
  files
  for problems?  Stop!  Download the new AJAX search engine that makes
  searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
  http://ads.osdn.com/?ad_idv37alloc_id865op=click
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 



 ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
 for problems?  Stop!  Download the new AJAX search engine that makes
 searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
 http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Adding Support for optgroup

2005-12-02 Thread Johan Compagner
That selectchoice is a thing you have to add to the collection of choices?then that is not that nice. Because choose one should only be there if no one is selected and null is required (or something like that)Because of that you can't add it easily to the collection because you have to know that you want to add it or not...
I like the getDefaultValue() or what is that method called of DropDown..johanOn 12/2/05, Igor Vaynberg 
[EMAIL PROTECTED] wrote:just checked in a fix. also the Select element does not add a choose one choice for you, you have to do it yourself by adding a SelectChoice that represents that element.
-Igor
On 12/2/05, Davide Savazzi [EMAIL PROTECTED] wrote:

On 11/30/05, Igor Vaynberg [EMAIL PROTECTED] wrote: any feedback on this yet? if not, i guess i will polish it with its current
 feature set and that will be that.
I have a Map that contains List of choices, my code is:Map choicesMap = getChoicesMap();Select select = new Select(mySelect, new PropertyModel(myModel,propertyName));IOptionRenderer renderer = new IOptionRenderer() {
public String getDisplayValue(Object selection) {return ((Selection) selection).getName();}public IModel getModel(Object selection) {return new Model(new Integer(((Selection) selection).getId()));
}};select.add(new SelectOptions(group1, new Model((Serializable)choicesMap.get(group1)), renderer));select.add(new SelectOptions(group2, new Model((Serializable)

choicesMap.get(group2)), renderer));When myModel.getPropertyName() is null I get a WicketException:09:50:07,679 ERROR [RequestCycle] Select[3:step1Form:section4Border:mySelect] contains a null model object,
must be an object of type java.lang.Object or java.util.Collection (in case of multi-valued select element)In other dropdown menu when model is null there is a entry like'Choose one', they don't throw an exception!
Am I using your extension correctly?Cheers,--Davide Savazzi---This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865opclick
___Wicket-user mailing listWicket-user@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wicket-user




Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-12-02 Thread Johan Compagner
that is what RequestCycle.request(component) does (and how the SimplePageTest works)On 12/2/05, Eelco Hillenius 
[EMAIL PROTECTED] wrote:you should use requestcycle.setResponseTarget
 with ComponentRequestTargetEelcoOn 12/2/05, Marco van de Haar [EMAIL PROTECTED] wrote: Is there any concrete (simple) code example for rerendering a part of a
 page? I tried myRequestCycle.request(myComponent), but all I got were huge errors in my console. Ari Suutari wrote:  Hi,   Project wicket-stuff contains already some AJAX components
  (scriptaculous and dojo based ones). Wicket core contain a AjaxHandler  and we provide a yet experimental component level re-render  (requestcycle.render(component). Though the latter one is no yet
  accessible through a URL (that piece of code is missing; we've only  tested it with junit tests). So, yes some parts have been done, it is  not ready yet, but I think we are on a good way and some features can
  be used already. Because it is in an dev stage, feedback is very much  welcome.   So, If I create my own component (that I'm going to re-render
 with ajax) and add an interface based on IRequestListener I could build an URL that calls my component via that interface and returns re-rendering of component using  
requestcycle.render(this) ?  Or is there a better way ? I took a look how IOnChangeListener is implemented on DropDownChoice and it looks rather simple to implement such a thing (although DropDownChoice uses it
 for different purposes)  Ari S.Juergen   On 11/25/05, Ari Suutari 
[EMAIL PROTECTED] wrote:   Hi,   We are developing applications, which have kind of a content 'push'  system,
  ie. data arrives from factory automation and we visualize it on-line.  Our traditional approach to this has been to send the data to browser  (via applet and additional tcp socket) and use _javascript_ to render it.
   However, I'm a little bit tempted to adjust our architecture so that  we would only push a notification of change and then use ajax  to re-render part of page.
   Would it be possible with wicket ? Typically, the part that  would be re-rendered with ajax is just a text field or a table  (rendering whole page is too slow, since the data rate
  can be quite fast; also flashes too much for slower cases).   There was some discussion on mailing list that something like  this would be in 
1.2 ?  Ari S.   ---
  This SF.net email is sponsored by: Splunk Inc. Do you grep through  log files  for problems?Stop!Download the new AJAX search engine that makes  searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
  http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click  ___
  Wicket-user mailing list  Wicket-user@lists.sourceforge.net  
https://lists.sourceforge.net/lists/listinfo/wicket-user ---  This SF.net email is sponsored by: Splunk Inc. Do you grep through
  log files  for problems?Stop!Download the new AJAX search engine that makes  searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!  
http://ads.osdn.com/?ad_idv37alloc_id865opÌk  ___  Wicket-user mailing list  
Wicket-user@lists.sourceforge.net  https://lists.sourceforge.net/lists/listinfo/wicket-user   
---  This SF.net email is sponsored by: Splunk Inc. Do you grep through log  files  for problems?Stop!Download the new AJAX search engine that makes
  searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!  http://ads.osdn.com/?ad_idv37alloc_id865op=click
  ___  Wicket-user mailing list  Wicket-user@lists.sourceforge.net  
https://lists.sourceforge.net/lists/listinfo/wicket-user  --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
 for problems?Stop!Download the new AJAX search engine that makes searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK! 
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user---This 
SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865opclick___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket @ JavaPolis 2005

2005-12-02 Thread Johan Compagner
dood? That means dead in dutch.. so are you saying you want to kill martijn ;)johanOn 12/2/05, Igor Vaynberg 
[EMAIL PROTECTED] wrote:nice glasses dood!-Igor
On 12/2/05, Martijn Dashorst 
[EMAIL PROTECTED] wrote:
All,

There is a short introductory article on Wicket published in the JavaPolis newsletter. You can find the article below.

http://wiki.javapolis.com/confluence/download/attachments/16623/page7.gif


There is also a (4MB) PDF version available, somewhere on the wiki.

See all pages:
http://wiki.javapolis.com/confluence/display/JP05/JavaNews+2005


Enjoy the read!

Martijn Dashorst
-- Living a wicket life...Martijn Dashorst - http://www.jroller.com/page/dashorst

Wicket 1.1 is out: 
http://wicket.sourceforge.net/wicket-1.1






[Wicket-user] Re: Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-02 Thread Nathan Hamblen
Ok, so form components using a root CompoundPropertyModel are never 
versioned, because their data is in the root model. That makes sense. 
But what does the form itself do? It doesn't seem to serialize its root 
model, and without doing that, it can't live up to its versioning 
contract.


I'm not so sure I want my root model serialized, and if it were I'd 
probably just turn versioning off, but the way it's working feels a 
little broken.


Nathan

Igor Vaynberg wrote:
that depends on the component and what it does. if you are using a pull 
model then there is no point of versioning it because the model is 
always recalculated even if the user presses the back button. this is 
also the case with some formcomponents, since their model is always 
current after request.


so really versioning should be considered on a case by case basis.

-Igor


On 12/2/05, *Nathan Hamblen*  [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Yeah but most models do change, right? The thing is, nothing is calling
modelChanging(), neither the Form process() nor the form component's
updateModel().

So versioning, even if it's on, is not activated. Why is this?

Nathan

Igor Vaynberg wrote:
  when a component is versioned and its model is changed it makes a
backup
  of the previous model value by serializing it.
 
  in case of the dataview when you change the sort that change is
recorded
  inside the SortableDataProvider which is the model of the
dataview. this
  causes the dataview to make a clone of the SortableDataProvider which
  causes the hierarchy to be serialized along with it if it is
anonymous.
  not good.
 
  so you have to be careful. if your model never changes (component
uses
  as read-only) it is ok to use an anonymous class because the model is
  never serialized. or if you turn off versioning it is also ok.
 
  as far as the dataview is concerned i have been thinking about a
fix to
  solve that problem. it would basically involve separating sorting
out of
  dataprovider. so the sorting bit can be used as a model instead
of the
  whole thing. that would allow one to use an anonymous
dataprovider for
  dataviews. its been on my list for a while, maybe i will move it up a
  notch or two.
 
  -Igor
 
 
  On 12/2/05, *Nathan Hamblen* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
  This came up before when I was trying to track down why
reversing the
  sort order of a DataView was bringing down my test application.
  (http://thread.gmane.org/gmane.comp.java.wicket.user/4309
   http://thread.gmane.org/gmane.comp.java.wicket.user/4309) It
  turned out
  that the page versioning code was serializing the entire view
hierarchy,
  recursively, because of anonymous model classes that
contained pointers
  back into the view.
 
  The consensus was that you would have to turn off page
versioning if
  you
  wanted an anonymous IModel. Is this still the case? I'm just now
  noticing anonymous IModels becoming sort of recommended. Does
that mean
  than page versioning is not recommended anymore?
 
  I'll admit don't even understand how versioning is supposed
to work.
  DataView sorting seems to be one of the few things that
triggers it.
  I've got forms updating models all over the place and nary a
version to
  be seen. So, I just turn it OFF then, and anonymously subclass
  IModel to
  my heart's content?
 
  Nathan
 
  Christian Essl wrote:
On Thu, 1 Dec 2005 14:24:20 -0500, Andrew Berman
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
wrote:
   
Honestly, I don't think there ever was a Spring Integration
  problem.  I
think people were just looking for a cookie-cutter
approach to using
Spring
within Wicket.  It's actually quite easy to do without
using any
  of the
Spring stuff that Igor and others wrote, but it's always
a good
  thing to
have a common approach that everyone can follow.
   
Honestly, I think Igor did a good job: It is just easier
and more
natural to write over and over again:
   
new HibernateModel(obj,_dao);
   
than
   
new HibernateModel(obj, new Model(){
   getObject(Component comp){
  return ((MyApplication)Appliation.get()).getDAO();
   }
});
   
and this is not restricted to HibernateDAOs but to any

Re: [Wicket-user] Adding Support for optgroup

2005-12-02 Thread Igor Vaynberg
no, SelectChoice is a component that represents a single option element. you add that to the Select component. SelectChoices is a convinience component that draws out a bunch of option tags much like our current components.
-IgorOn 12/2/05, Johan Compagner [EMAIL PROTECTED] wrote:
That selectchoice is a thing you have to add to the collection of choices?then that is not that nice. Because choose one should only be there if no one is selected and null is required (or something like that)Because of that you can't add it easily to the collection because you have to know that you want to add it or not...
I like the getDefaultValue() or what is that method called of DropDown..johanOn 12/2/05, 
Igor Vaynberg 
[EMAIL PROTECTED] wrote:just checked in a fix. also the Select element does not add a choose one choice for you, you have to do it yourself by adding a SelectChoice that represents that element.
-Igor
On 12/2/05, Davide Savazzi [EMAIL PROTECTED] wrote:

On 11/30/05, Igor Vaynberg [EMAIL PROTECTED] wrote: any feedback on this yet? if not, i guess i will polish it with its current
 feature set and that will be that.
I have a Map that contains List of choices, my code is:Map choicesMap = getChoicesMap();Select select = new Select(mySelect, new PropertyModel(myModel,propertyName));IOptionRenderer renderer = new IOptionRenderer() {
public String getDisplayValue(Object selection) {return ((Selection) selection).getName();}public IModel getModel(Object selection) {return new Model(new Integer(((Selection) selection).getId()));
}};select.add(new SelectOptions(group1, new Model((Serializable)choicesMap.get(group1)), renderer));select.add(new SelectOptions(group2, new Model((Serializable)


choicesMap.get(group2)), renderer));When myModel.getPropertyName() is null I get a WicketException:09:50:07,679 ERROR [RequestCycle] Select[3:step1Form:section4Border:mySelect] contains a null model object,
must be an object of type java.lang.Object or java.util.Collection (in case of multi-valued select element)In other dropdown menu when model is null there is a entry like'Choose one', they don't throw an exception!
Am I using your extension correctly?Cheers,--Davide Savazzi---This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!

http://ads.osdn.com/?ad_idv37alloc_id865opclick
___Wicket-user mailing listWicket-user@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wicket-user






Re: [Wicket-user] Adding Support for optgroup

2005-12-02 Thread Johan Compagner
yes then it is exactly what i say.for Choose one.. you shouldn't have to need a SelectChoice == option element in youre collectionBecause Choose one should only be there if nothing is selected and null value isn't allowed...
johanOn 12/2/05, Igor Vaynberg [EMAIL PROTECTED] wrote:
no, SelectChoice is a component that represents a single option element. you add that to the Select component. SelectChoices is a convinience component that draws out a bunch of option tags much like our current components.
-IgorOn 12/2/05, Johan Compagner 
[EMAIL PROTECTED] wrote:
That selectchoice is a thing you have to add to the collection of choices?then that is not that nice. Because choose one should only be there if no one is selected and null is required (or something like that)Because of that you can't add it easily to the collection because you have to know that you want to add it or not...
I like the getDefaultValue() or what is that method called of DropDown..johanOn 12/2/05, 
Igor Vaynberg 
[EMAIL PROTECTED] wrote:just checked in a fix. also the Select element does not add a choose one choice for you, you have to do it yourself by adding a SelectChoice that represents that element.
-Igor
On 12/2/05, Davide Savazzi [EMAIL PROTECTED] wrote:

On 11/30/05, Igor Vaynberg [EMAIL PROTECTED] wrote: any feedback on this yet? if not, i guess i will polish it with its current
 feature set and that will be that.
I have a Map that contains List of choices, my code is:Map choicesMap = getChoicesMap();Select select = new Select(mySelect, new PropertyModel(myModel,propertyName));IOptionRenderer renderer = new IOptionRenderer() {
public String getDisplayValue(Object selection) {return ((Selection) selection).getName();}public IModel getModel(Object selection) {return new Model(new Integer(((Selection) selection).getId()));
}};select.add(new SelectOptions(group1, new Model((Serializable)choicesMap.get(group1)), renderer));select.add(new SelectOptions(group2, new Model((Serializable)



choicesMap.get(group2)), renderer));When myModel.getPropertyName() is null I get a WicketException:09:50:07,679 ERROR [RequestCycle] Select[3:step1Form:section4Border:mySelect] contains a null model object,
must be an object of type java.lang.Object or java.util.Collection (in case of multi-valued select element)In other dropdown menu when model is null there is a entry like'Choose one', they don't throw an exception!
Am I using your extension correctly?Cheers,--Davide Savazzi---This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!


http://ads.osdn.com/?ad_idv37alloc_id865opclick
___Wicket-user mailing listWicket-user@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wicket-user








Re: [Wicket-user] Adding Support for optgroup

2005-12-02 Thread Igor Vaynberg
but a SelectOption is not in your collection - its a component. The whole point of the Select component is to have full control over the markup. All our core choice elements limit your access to markup by producing the entire select output for you including all the options. The point of Select/SelectOption is to have total control.
So for the previous example you cao do something like this:Collection smallCars=getSmallCars();Collection bigCars=getBigCars();IOptionRenderer carRenderer=new IOptionRenderer() {...}Select carSelect=new Select(carSelect).add(
RequiredValidator.getInstance());carSelect.add(new SelectOption(none, new Model(/*NULL*/));carSelect.add(new SelectOptions(small, smallCars, carRenderer));carSelect.add(new SelectOptions(big, bigCars, carRenderer));
and then in markupselect wicket:id=carSelectoption wicket:id=nonePlease Select One/optionoptgroup label=small cars span wicket:id=small/span
/optgroupoptgroup label=big cars span wicket:id=big/span/optgroup/selectpersonally i dont see what the point of select one is if a choice is required. easier to just not add one and let the box default to the first choice. sure it requires more attention on the part of the user - but thats what confirmation pages are for :)
-Igor
On 12/2/05, Johan Compagner [EMAIL PROTECTED] wrote:
yes then it is exactly what i say.for Choose one.. you shouldn't have to need a SelectChoice == option element in youre collectionBecause Choose one should only be there if nothing is selected and null value isn't allowed...
johanOn 12/2/05, Igor Vaynberg 
[EMAIL PROTECTED] wrote:
no, SelectChoice is a component that represents a single option element. you add that to the Select component. SelectChoices is a convinience component that draws out a bunch of option tags much like our current components.
-IgorOn 12/2/05, Johan Compagner 

[EMAIL PROTECTED] wrote:
That selectchoice is a thing you have to add to the collection of choices?then that is not that nice. Because choose one should only be there if no one is selected and null is required (or something like that)Because of that you can't add it easily to the collection because you have to know that you want to add it or not...
I like the getDefaultValue() or what is that method called of DropDown..johanOn 12/2/05, 
Igor Vaynberg 
[EMAIL PROTECTED] wrote:just checked in a fix. also the Select element does not add a choose one choice for you, you have to do it yourself by adding a SelectChoice that represents that element.
-Igor
On 12/2/05, Davide Savazzi [EMAIL PROTECTED] wrote:

On 11/30/05, Igor Vaynberg [EMAIL PROTECTED] wrote: any feedback on this yet? if not, i guess i will polish it with its current
 feature set and that will be that.
I have a Map that contains List of choices, my code is:Map choicesMap = getChoicesMap();Select select = new Select(mySelect, new PropertyModel(myModel,propertyName));IOptionRenderer renderer = new IOptionRenderer() {
public String getDisplayValue(Object selection) {return ((Selection) selection).getName();}public IModel getModel(Object selection) {return new Model(new Integer(((Selection) selection).getId()));
}};select.add(new SelectOptions(group1, new Model((Serializable)choicesMap.get(group1)), renderer));select.add(new SelectOptions(group2, new Model((Serializable)




choicesMap.get(group2)), renderer));When myModel.getPropertyName() is null I get a WicketException:09:50:07,679 ERROR [RequestCycle] Select[3:step1Form:section4Border:mySelect] contains a null model object,
must be an object of type java.lang.Object or java.util.Collection (in case of multi-valued select element)In other dropdown menu when model is null there is a entry like'Choose one', they don't throw an exception!
Am I using your extension correctly?Cheers,--Davide Savazzi---This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!



http://ads.osdn.com/?ad_idv37alloc_id865opclick
___Wicket-user mailing listWicket-user@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wicket-user