Re: Make Tapestry add an id to the tag of the grid

2015-09-18 Thread Geoff Callender
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 an

Re: Frontend Frameworks / Libraries

2015-09-18 Thread Harry Zhou
Don't know if this has been mentioned, but when Angular.js makes XHR request via $http, it does NOT by default set the header, which Tapestry checks to do request.isXHR(). See http://stackoverflow.com/questions/18168836/angularjs-resource-not-sending-x-requested-with Therefore it appears to be ne

RE: Make Tapestry add an id to the tag of the grid

2015-09-18 Thread Davide Vecchi
By the way is TAP5-1569 ( https://issues.apache.org/jira/browse/TAP5-1569 ) the fix for this issue ? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

RE: Make Tapestry add an id to the tag of the grid

2015-09-18 Thread Davide Vecchi
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 d

RE: Make Tapestry add an id to the tag of the grid

2015-09-18 Thread Davide Vecchi
Hi, thanks for the suggestion. It's a good option, I will have to slightly twist it because the tags already have a class - namely class="t-data-grid" - but I can add multiple class names there and jQuery should be able to pick them up. Good idea. -Original Message- Sent: Friday, Sep

RE: Make Tapestry add an id to the tag of the grid

2015-09-18 Thread Svein-Erik Løken
In zone I am using data-id: Eg: mailto:ml-node+s1045711n5731247...@n5.nabble.com] Sent: 18. september 2015 09:59 To: Svein-Erik Løken Subject: Make Tapestry add an id to the tag of the grid Hi everybody, I have the same need described in the thread at http://apache-tapestry-mailing-list-arch

Re: Make Tapestry add an id to the tag of the grid

2015-09-18 Thread mailingl...@j-b-s.de
Hi! You asked for a workaround...why not using a css class temporarily until this issue is properly resolved? class="your-id-1" You can use a placeholder to dynamically provide different id's (well, css classes) per grid. At least a jquery selector will now be able to pick it up and I am awar

Make Tapestry add an id to the tag of the grid

2015-09-18 Thread Davide Vecchi
Hi everybody, I have the same need described in the thread at http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/How-to-add-table-id-into-the-Grid-td2417082.html : although in my .tml I do have a t:id attribute in the tag, the resulting HTML does not have an id attribute in the