Thanks Josh, that was exactly what I was looking for! Andreas
> -----Ursprüngliche Nachricht----- > Von: Josh Canfield [mailto:joshcanfi...@gmail.com] > Gesendet: Mittwoch, 15. Juni 2011 18:49 > An: Tapestry users; andr...@deininger.net > 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: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org