-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Textbox onChanging event doesn't work in Java but does in zul. I can write event.getValue() in my zul code and works fine, but I can't do it in a java class. ForwardEvent is raised in Java and event.getData is null.
I think this is an issue and both ways must be equivalent.
What do you think? Must I post an issue?
Thanks
Are you using a GenericForwardComposer? If so, are you naming your methods correctly?
public void onChanging$txtMyTextBox (Event evt) { {
Hi dmatag,
In Textbox onChanging event listener, the event is actual an InputEvent.
Therefore you should get input value in this way
public void onChanging$txbId(Event evt) { InputEvent event = (InputEvent) evt; String inputValue = event.getValue(); // do something..... }
Asked: 2011-10-19 17:27:06 +0800
Seen: 210 times
Last updated: Oct 21 '11