You should be ablet to use the component-id with @EventListener's targets-Parameter.
sth like: @EventListener( targets="textField", events="onchange" ) public void doIt(){...} @Component public TextField getTextField() > -----Original Message----- > From: Marcelo C. de Freitas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 26, 2007 8:55 PM > To: Tapestry users > Subject: [4.1] EventListener within a component > > Hello there, > > I have a issue that might be quite simple to solve but > I'm completely lost. > > I have a component, let's call it !EditableCell, that > has a TextInput whose id is dynamically created. How can I > create an "onchange" EventListener for it in the component's class? > > > > -- > Marcelo C. Freitas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]