Thanks Josh, that was exactly what I was looking for! Andreas
> -----Ursprüngliche Nachricht----- > Von: Josh Canfield [mailto:[email protected]] > Gesendet: Mittwoch, 15. Juni 2011 18:49 > An: Tapestry users; [email protected] > Betreff: Re: ajaxformloop: accessing id of elements > > > I used a prototype based plug in to mask the input for a text field > > with the id 'myid'. > > This is the code inside my page.tml which works perfectly fine: > > You may want to consider making "MaskedInput" into a mixin then you can > add the script dynamically as the fields are added to the page. > > <t:textfield t:id="myid" value="currentprop.prop" mixins="MaskedInput" > pattern="'99/99/9999'"/> > > http://tapestry.apache.org/component-mixins.html > > Josh --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
