A button being clicked will generate a FORM_BUTTON_CLICKED event, when you get it, Event.getButtonName() will contain the "name" field of the clicked button. (and, of course, the standard other event calls work to get which wavelet, etc.)
On Oct 4, 11:02 am, Mark Fayngersh <[email protected]> wrote: > I know that, but how do i constantly check for that? Like, is there a way to > set a handler to that? > > 2009/10/4 vadbars <[email protected]> > > > > > if (submitButton.getValue().equalsIgnoreCase("clicked")) {....} > > > On 3 окт, 23:27, Mark Fayngersh <[email protected]> wrote: > > > FormElement submitButton = doc.getFormView().getFormElement("Submit"); > > > Now how do i know when submitButton is clicked? > > -- > [email protected] > [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~----------~----~----~----~------~----~------~--~---
