You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Stephane Decleire <sd...@cariboo-networks.com> on 2007/01/15 09:51:01 UTC

EventListener in a dynamic form

Is there a way to link EventListeners to a dynamic form ?

I mean is there a way to declare an EventListener without knowing the 
id(s) of the component(s) it shoulb be linked to ? In a dynamic form 
(generally build with a loop with the For component), the developer 
doesn't always know the ids that will be assigned to the components.

So is there a way to tell an EventListener it should listen to a class 
of components (like CheckBoxes for exemple) or a subclass ? Perhaps 
linking the component with a regular expression would be powerfull so 
that one could link for exemple a listener with all the text fields in a 
loop (field_0, field_1, field_...).

--
Stéphane Decleire