<display:table id usage ----------------------- Key: DISPL-619 URL: http://jira.codehaus.org/browse/DISPL-619 Project: DisplayTag Issue Type: Bug Affects Versions: 1.1 Reporter: Jay Joel Malaluan Priority: Critical
I'm using the c:forEach taglib to generate tables using <display:table/> Let's say two tables were generated based from the list iterated by the c:forEach, my configurations are: <c:forEach items="${listGroups}" var="lGroup" varStatus="status"> <c:set var="listDetails" value="${listGroups.activeListDetails}"/> <display:table list="${listDetails}" cellspacing="0" cellpadding="0" requestURI="" defaultsort="1" htmlId="listDetails${status.index}" uid="listDetails${status.index}" id="listDetails" pagesize="3" class="table"> tables will have different ids (verified from page source). but when looking at the configuration, the id attribute will just be the same. when you paginate, the other table is also affected. but i thought using htmlId and uid will resolve the issue but it doesn't. if htmlId and uid are removed both tables have the same id and still the same effect when you paginate. using an EL expression to set the id attribute doesn't also allow and just gives a blank page. when the id attribute is set with different values for the tables, only then will the tables be not affected. I have no knowledge on how many list to be iterated and tables to be created so how can i make the id attribute dynamically changed? -- 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 ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel