Tapestry does generate some “data" attributes, eg. data-validate, data-update-zone, data-async-trigger, and data-dismiss-url; but data-id is not one of them. Svein added data-id himself, but he could have called it anything so long as its name doesn’t clash with a Tapestry-generated one.
For anyone unfamiliar with “data” attributes, here’s some good info: http://webdesign.tutsplus.com/tutorials/all-you-need-to-know-about-the-html5-data-attribute--webdesign-9642 > On 18 Sep 2015, at 7:18 pm, Davide Vecchi <d...@amc.dk> wrote: > > Thanks, it sounds interesting. I will have to find out what the data-id > "does" in Tapestry in general though, and whether it's already used for > something else in this web app, because I don't want to interfer with other > functionalities. So far I couldn't find much info about data-id but I will > definitely keep this as a possible option. > > -----Original Message----- > From: Svein-Erik Løken > Sent: Friday, September 18, 2015 10:16 > To: users@tapestry.apache.org > Subject: RE: Make Tapestry add an id to the <table> tag of the grid > > In zone I am using data-id: > > > Eg: <t:select data-id="typeSelect" > > $("select[data-id='typeSelect']") > > I think you can do the same! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org