Hi Johan,
(Please cc me as I am not subscribed to the list.)
At some point in time, Johan Compagner wrote:
> you could use a FormValidator to validate those 2 fields (as it was
> one)
Yeah, this I already have.
At some point in time, Johan Compagner wrote:
> to combine the 2 as one value (because the can't et the min and max
> inside the IntegerRange object?) You could wrap the 2 text fields in a
> formcomponent and use only a MarkupContainer for those textfields (so
> not really textfields)
>
> So that from the form point of view there is only one formcomponent
> touching the IntegerRange object and that one can do convertValue() to
> convert it to a IntegerRange object and test it then and if that all
> is ok the converted input will be pushed to the model.
Sounds good. So now that I have use FormComponent, I suppose I can't use
a HTML template but have to do the rendering in
Component.onComponentTag() myself?
Pekka
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user