Juergen Donnerstag wrote:

>I don't have much experience with this yet: 0
>
>I'm not sure how many users will easily figure out that a Link will do
>as well. Would it make sense to add a little howto to our faq or the
>wiki knowledge base?
>  
>

Jon was suggesting to add onValidate to the button which calls
getForm().validate() in Button. If someone wants to take matters in
their own hand, they can override onValidate and not call super().

I like that pattern...

Consequence is that also Form.onSubmit() is called, but that is also
pretty clear IMO. Just document /that/.

Martijn

>Juergen
>
>On 4/22/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>  
>
>>I'm +1 for allways validating the form. If you (the user) want to get
>>around that, you can allways just add a Link instead of a button that
>>works with a form.
>>
>>Eelco
>>
>>
>>-------------------------------------------------------
>>SF email is sponsored by - The IT Product Guide
>>Read honest & candid reviews on hundreds of IT Products from real users.
>>Discover which products truly live up to the hype. Start reading now.
>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>_______________________________________________
>>Wicket-user mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>    
>>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
>_______________________________________________
>Wicket-user mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>  
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to