Re: Submit Button on Form & Event Handler Actions

2009-06-09 Thread Clark H.Robert
Yeah,man ,this problem was caused because you hadn't add a event type for this button. THe default event type is "action" ,which means that your event handler could be equal to following: @OnEvent(value="action" component="submitButton") But things are a little different on Submit . The default e

Re: Submit Button on Form & Event Handler Actions

2009-06-02 Thread Inge Solvoll
You can put event="myEvent" on the submit button, and then you just need to have a method (no annotation) in you java class named onMyEvent(). Your event handler will be called before the regular form event handlers. Or, the onSuccess() handler mentioned by Thiago. On Wed, Jun 3, 2009 at 4:23 AM,

Re: Submit Button on Form & Event Handler Actions

2009-06-02 Thread Thiago H. de Paula Figueiredo
Em Tue, 02 Jun 2009 18:03:10 -0300, spaway escreveu: could anybody help me with a solution? I don't know what's wrong, but you don't need a Submit component to submit a form: just handle the EventConstants.SUCESS event from the form. -- Thiago H. de Paula Figueiredo Independent Java con