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

Fri, 18 Sep 2015 01:16:15 -0700

In zone I am using data-id:

Eg: <t:select data-id="typeSelect"

$("select[data-id='typeSelect']")

I think you can do the same!


From: Davide Vecchi [via Apache Tapestry Mailing List Archives] 
[mailto:ml-node+s1045711n5731247...@n5.nabble.com]
Sent: 18. september 2015 09:59
To: Svein-Erik Løken <sv...@jacilla.no>
Subject: Make Tapestry add an id to the <table> tag of the grid

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 <t:grid> tag, the 
resulting HTML does not have an id attribute in the corresponding <table> tag, 
so I cannot select the table through jQuery or retrieve it through JavaScript; 
I cannot assume that the page has only one grid so I need the <table> tag to 
have an id.

I am using Tapestry 5.3.7. In the above mentioned thread the guy asked how to 
report a bug about this issue but he got no reply. Is that fix already 
implemented in some newer version or is it planned to be implemented in future 
? Or is there some known workaround to get the <table> tag to have an id 
attribute in other ways ?
________________________________
If you reply to this email, your message will be added to the discussion below:
http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Make-Tapestry-add-an-id-to-the-table-tag-of-the-grid-tp5731247.html
To unsubscribe from users@tapestry.apache.org<mailto:users@tapestry.apache.org> 
Mailing List Archives, click 
here<http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2375125&code=c3ZlaW5AamFjaWxsYS5ub3wyMzc1MTI1fC0xNTM4NzY2ODg4>.
NAML<http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

Reply via email to