You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by joeinazusa <hi...@gmail.com> on 2009/05/31 17:05:50 UTC

Re: CheckBox and Form submit question

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 <do...@yahoo.com> 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: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org