Re: What's the difference between Check and CheckBox

2008-10-24 Thread Minto van der Sluis
Hi igor, that's exactly where I discovered the existence of Check ;-) Being an almost complete newby I was surprised by the existence of 2 Classes so closely related. That is functionally related, since as far as I can tell from the javadoc they are not related in any way. regards, Minto

Re: What's the difference between Check and CheckBox

2008-10-24 Thread Igor Vaynberg
thats because they are not functionally related at all. just because they both represent a checkbox doesnt mean they are functionally equivalent. CheckBox only works with a imodelboolean while CheckGroup/Check can be used to populate a collection with arbitrary items. eg Check uses IModelT while

Re: What's the difference between Check and CheckBox

2008-10-24 Thread Minto van der Sluis
Thanx for clearing that up :-) Minto igor.vaynberg wrote: ... CheckBox only works with a imodelboolean while CheckGroup/Check can be used to populate a collection with arbitrary items. eg Check uses IModelT while CheckGroup uses IModelCollectionT ... -- View this message in

What's the difference between Check and CheckBox

2008-10-23 Thread Minto van der Sluis
Messing around with unittesting a CheckBox, I discovered Check as well: org.apache.wicket.markup.html.form.Check; org.apache.wicket.markup.html.form.CheckBox; To me it's not very clean what the difference is, since they are both attached to the same markup: input type=checkbox ...

Re: What's the difference between Check and CheckBox

2008-10-23 Thread Michael Sparer
the main difference is that checks belong to a checkgroup (useful in repeaters) and checkbox is convenient when used alone check out http://www.wicketstuff.org/wicket13/forminput/ ;-) regards, Michael Minto van der Sluis wrote: Messing around with unittesting a CheckBox, I discovered

What's the difference...

2008-02-21 Thread Martijn Lindhout
Hi, I read about Wicket-spring integration at http://cwiki.apache.org/WICKET/spring.html and now I wonder what's the difference between - extending SpringWebApplication combined with doing addComponentInstantiationListener(new SpringComponentInjector(this)) in init(), and - just

Re: What's the difference...

2008-02-21 Thread Martijn Lindhout
://cwiki.apache.org/WICKET/spring.html and now I wonder what's the difference between - extending SpringWebApplication combined with doing addComponentInstantiationListener(new SpringComponentInjector(this)) in init(), and - just doing addComponentInstantiationListener

Re: What's the difference...

2008-02-21 Thread Igor Vaynberg
SpringWebApplication only helps if you are on jdk1.4 or cannot use @SpringBean annotation. -igor On Thu, Feb 21, 2008 at 1:17 PM, Martijn Lindhout [EMAIL PROTECTED] wrote: Hi, I read about Wicket-spring integration at http://cwiki.apache.org/WICKET/spring.html and now I wonder what's

what's the difference between setResponsePage(java.lang.Class pageClass) setResponsePage(Page page)?

2008-02-10 Thread rosen jiang
Dear all, I don't konw what's the difference, Because they are both working well. Have some significant performances different? -rosenjiang -- View this message in context: http://www.nabble.com/what%27s-the-difference-between-setResponsePage%28java.lang.Class-pageClass%29---setResponsePage

Re: what's the difference between setResponsePage(java.lang.Class pageClass) setResponsePage(Page page)

2008-02-10 Thread Johan Compagner
of the time you can use hybrid url encoding) johan On Feb 10, 2008 2:20 PM, rosen jiang [EMAIL PROTECTED] wrote: Dear all, I don't konw what's the difference, Because they are both working well. Have some significant performances different? -rosenjiang -- View this message in context: http

Re: what's the difference between setResponsePage(java.lang.Class pageClass) setResponsePage(Page page)

2008-02-10 Thread rosen jiang
if you want to pass information to pages on the serverside also this generates a session spefic url (most of the time you can use hybrid url encoding) johan On Feb 10, 2008 2:20 PM, rosen jiang [EMAIL PROTECTED] wrote: Dear all, I don't konw what's the difference, Because they are both