I knew this got to me easy and elegant!

Thanks!

2007/9/27, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> 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]
>
>


-- 
Marcelo C. Freitas

IM's:
MSN: [EMAIL PROTECTED]
ICQ: 24263609
Jabber: [EMAIL PROTECTED]
GTalk: [EMAIL PROTECTED]
Yahoo: baterausp

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to