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 <phunny.pha...@gmail.com> 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 <vadb...@gmail.com>
>
>
>
> > if (submitButton.getValue().equalsIgnoreCase("clicked")) {....}
>
> > On 3 окт, 23:27, Mark Fayngersh <phunny.pha...@gmail.com> wrote:
> > > FormElement submitButton = doc.getFormView().getFormElement("Submit");
> > > Now how do i know when submitButton is clicked?
>
> --
> ~phunny.pha...@gmail.com
> ~mar...@archlinux.us
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to