You can use onValidateFormFromXYZ where XYZ is the Form component.

Your onValidateForm() method may return true to cancel bubbling of the
server-side event.

On Fri, May 16, 2008 at 9:00 AM, kranga <[EMAIL PROTECTED]> wrote:
> Using IE 7: Form gets submitted even if there are client-side validation
> errors.
>
> Event bubbling side-effect: If you have a page that contains a form and a
> component A, and further if the component itself has a form, then if the
> component's form is submitted and you have a simple onValidateForm() method,
> that gets called for the component's form validation submission as well.
> Thats a not so pleasant side-effect ... on option would be allow a @Bubble
> annotation that should be present for an event handler to handle a bubbled
> event?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to