On Thu, 11 Aug 2011 10:00:19 -0300, Barry Books <trs...@gmail.com> wrote:

I'm implementing a selector binding for jQuery. I'd like to be able to
do something like

<t:any>${selector:this}</t:any>

and have selector:this emit the html id of its container if it
supports getClientId().

Not out of the box. I'd try to implement a mixin that with an @InjectContainer field to get the component instance and then apply it to all components implementing a ComponentClassTransformWorker.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to