Dear All
I have a table with multiple rows and every row has collapsed subtable when the JSP is loaded. Now when I try to expand a subtable/list and SORT that subtable/list, stangely another subtable in another ROW gets expanded. The behavior is pretty random
I think it is something to do with the code that is generated internally for sorting.
Can someone throw some light on this ?
Following is the code ?
<display:table name="employees" id="parent" class="its" pagesize="11" sort="list">
<display:caption class="toptab">Coverage by Employees<jsp:getProperty name="employees" property="clientName" /> </display:caption>
<display:column property="division" title="Division" sortable="true" />
<display:column property="lastName" title="Last Name" sortable="true" />
<display:column property="firstName" title="First Name" sortable="true" />
<c:set var="nestedName" value="employees.item[${parent_rowNum - 1 }].coverage" />
<!-- this is the subtable that is created in every row of the main table -->
<display:column title="Details" decorator="CoverageColumnDecorator">
<display:table name="${nestedName}" id="child${parent_rowNum - 1 }" class="its" sort="list">
<display:column property="oeClient" title="Client Name" sortable="true" />
<display:column property="productLine" title="Product Line" sortable="true" />
</display:table>
</display:column>
<display:column property="region" title="Region" sortable="true"/>
<display:column property="location" title="Location" sortable="true"/>
<display:column property="businessUnit" title="Business Unit" sortable="true"/>
<display:column property="businessPhone" title="Business Phone" sortable="true"/>
<display:column property="emailAddress" title="Email Address" sortable="true"/>
<display:column property="jobTitle" title="Job Title" sortable="true"/>
</display:table>
Vinay Solanki
Email- [EMAIL PROTECTED]

