Yes, surely I could but it is not the case I want to make the validation
during the onSubmit of a dynamically generated button which is embed in a
panel and this panel is in the form that I want to validate , so I cannot do
this.  

Thanks for your purpose, may be you have an other idea about my problem ?


Mr Mean wrote:
> 
> If you subclass form you can use validate.
> 
> Maurice
> 
> On Mon, Mar 17, 2008 at 3:33 PM, BertrandDatas <[EMAIL PROTECTED]>
> wrote:
>>
>>  Hello,
>>
>>  In my web applicaction I have a form with a panel into that generates
>> fields
>>  and buttons dynamically. for these button i would like to make form
>>  validation but I don't want to submit.
>>  In order to do this I set DefaultFormProcessing to false which is quite
>> good
>>  beacause it does not use the onSubmit of the form but it does not
>> validate
>>  the form too, which is bad for me.
>>  And I can not call the validate method of the form because it is a
>> protected
>>  method.
>>
>>  Do you have some ways of doing that ??
>>
>>  Thanks
>>
>>  Bertrand DATAS
>>
>>  --
>>  View this message in context:
>> http://www.nabble.com/How-to-validate-without-submitting-a-form-tp16092894p16092894.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/How-to-validate-without-submitting-a-form-tp16092894p16098483.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]

Reply via email to