I am attempting to use @EventListener to submit the value of a TextField
onChange. So, I have an input defined:
<input jwcid="myField" value="ognl:text"
displayName="Text" />
In the page class I have:
@Component(bindings = {"validators=validators:required"})
public abstract TextField getMyField();
@EventListener(events={"onchange"}, elements="myField")
public void testEvent(IRequestCycle cycle)
{
logger.debug("LOOKHERE... " + getText());
}
But I'll be darned if any of the events are firing.
To rule out other problems, I copied the "big brother is watching"
sample from:
http://tapestry.apache.org/tapestry4.1/ajax/eventlistener.html
to the same page, and it works just fine..
30 Apr 2007 11:35:36,658 [http-8080-Processor24] DEBUG
com.starpoint.instihire.web.tapestry.page.Test - User clicked on x/y
coordinates 159/326
Am I barking up the wrong tree? My final goal is to have a dropdown
update it's contents based on the text in the TextField, but until I can
dynamically get it's value I'm stuck.
Thanks in advance for all the help.
Tony Nelson
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]