Vinay,
It's pretty hard to tell from this. It looks fine to me. Can you send a
sample of the data and the generated HTML?
Solanki, Vinay V. wrote:
> 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]
>
>
--
Rick Herrick
[EMAIL PROTECTED]
I haven't got time for inner peace.
"No reasonable definition of reality could be expected to permit
this."--Albert Einstein, Boris Podolsky and Nathan Rosen in 1935
-------------------------------------------------------
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-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user