I use the BUTTON_CLICKED event for this, so something like
for (Event event : bundle.getEvents())
{
if (event.getType() == EventType.FORM_BUTTON_CLICKED &&
event.getButtonName().contains("submit"))
{
// ...
}
}
On Oct 3, 7:27 pm, Mark Fayngersh <[email protected]> wrote:
> FormElement submitButton = doc.getFormView().getFormElement("Submit");
> Now how do i know when submitButton is clicked?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---