*Problem: *Having issues getting KeyUp and KeyDown events to be called with
UiRenderer.
Using the syntax below they don't always get called:
@UiHandler({"inputTextBox"})
void onKeyUpEvent(KeyUpEvent event, Element parent, String name)
(from:
https://developers.google.com/web-toolkit/doc/latest/DevGuideUiBinder#Rendering_HTML_for_Cells)
Switching to overriding onEnterKeyPressed results in an incorrect parent
element? So when I call:
renderer.getInputTextBox(parent).getValue()
The item isn't found because the parent is wrong?
*Question: *Has anyone successfully used KeyUp/KeyDown in a UiRenderer
context and successfully caught the KeyCode being pressed?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/AwnCAXjUXx0J.
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-web-toolkit?hl=en.