You solution recommendation would seem to work for me. would you add the JS in wicket? How?
Thanks! joe. Johan Compagner wrote: > > I would do that in javascriot itself, why having a round trip to fill > 1 set of data to some fields. Just do that in some javascript that you > attach to the checkbox onclick handler > > On 1/16/08, Doug Leeper <[email protected]> wrote: >> >> I have both a Contact Address and a Billing Address object displayed in a >> Form. >> >> I also have a CheckBox that, when checked, is to copy the Contact Address >> field values into the Billing Address. >> >> What is the best way to do this? >> >> I have tried several methods ( CheckBox with a >> FormComponentUpdatingBehavior >> and an AjaxCheckBox ) but the values that are entered into the Contact >> Address fields are not being updated to the model. >> >> I basically want a submit without form validation. Is this possible? >> >> Thanks in advance >> - Doug >> -- >> View this message in context: >> http://www.nabble.com/CheckBox-and-Form-submit-question-tp14894939p14894939.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://www.nabble.com/CheckBox-and-Form-submit-question-tp14894939p23803943.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
