Em Tue, 21 Oct 2008 14:38:41 -0300, James Sherwood <[EMAIL PROTECTED]> escreveu:

@OnEvent(component = "submitButton")
       void onSubmitButton() {
             System.out.println("Submit button was pressed!");
       }
}

The Submit components fires the "selected" event, not the "submit" event. So your annotation must be @OnEvent(component="submitButton", value="selected") or your method name must be onSelectedButton. You don't need both at the same time.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
Consultor, desenvolvedor e instrutor em Java
http://www.arsmachina.com.br/thiago

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

Reply via email to