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
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,
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