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

Fri, 18 Sep 2015 01:13:12 -0700

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 aware of the 
fact using class to mimique ID's is generally wrong...

Jens



Von meinem iPhone gesendet

> Am 18.09.2015 um 09:58 schrieb Davide Vecchi <d...@amc.dk>:
> 
> 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 ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to