I've just implemented a form where the user can choose between different payment-types through a RadioGroup. Depending on the payment-type different textfields on the same form are required.

So I did 'custom-form-processing' and for validation I had to get first to the value of the payment-type RadioGroup. getInput() gives an int as String or something else. For validation it would be nice to get the actually choice object before setting it on the model. Is there some way to get this, differnt than translating getInput()?

BTW: when I did the 'custom form processing' I also wanted to call Form.persistFormComponentData() but this is private. Should this be called when Button.defaultFormProcessing = false.

Christian
        

        
                
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to