New display:column attribute tdIdPostfix
-----------------------------------------
Key: DISPL-395
URL: http://jira.codehaus.org/browse/DISPL-395
Project: DisplayTag
Issue Type: New Feature
Reporter: Martin Soltis
It would be nice if display:column tag had attribute tdIdPostfix.
If this attribute is set in some column, this column in every row should have
unique id which consist of: tableId, rowNumberOnPage and tdIdPostfix.
We have JS object which can really easy access values, inputs ... in
particular rows and columns in specified table via tdIdPostfix and row# so
validation is therfore very easy to specify.
Example src:
<display:table id="fileCtx" ... >
<display:column title="File Name" tdIdPostfix="name">
...
<display:column>
...
</display:table>
Example html:
<table class="disptag" id="fileCtx">
<thead>
<tr>
<th>File Name</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td id="fileCtx_0_name"><input .../></td>
<td>...</td>
</tr>
<tr class="even">
<td id="fileCtx_1_name"><input .../></td>
<td>...</td>
</tr>
<tr class="odd">
<td id="fileCtx_2_name"><input .../></td>
<td>...</td>
</tr>
</tbody>
</table>
Martin
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel