The following comment has been added to this issue:

     Author: fabrizio giustina
    Created: Mon, 27 Sep 2004 12:10 PM
       Body:
Sounds like a resin tag pooling bug (or "particular" behaviour): similar bugs have 
already been reported with resin.
Could you please submit a simple -struts free- example with a working and a not 
working table? This will be very helpfull in testing and fixing the problem

thanks
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/DISPL-17?page=comments#action_24660

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/DISPL-17

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DISPL-17
    Summary: Sorting doesn't work correctly when using struts <bean:write>
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: DisplayTag
 Components: 
             Tag Library
   Versions:
             1.0 RC2

   Assignee: 
   Reporter: fabrizio giustina

    Created: Sat, 25 Sep 2004 5:05 AM
    Updated: Mon, 27 Sep 2004 12:10 PM

Description:
====
imported from sf tracker
id 1017130 
submitted by innanill
http://sourceforge.net/tracker/index.php?func=detail&group_id=73068&atid=536613&aid=1017130
 
====

Using displaytags 1 rc1, and Resin 2.1.11 and struts.

With the following, sorting does not work correctly:

<display:table id="row" class="display-tags-Data"
width="780" align="center" hspace=0 vspace=0
name="sessionScope.application.qualifiedLoanOptionsSort
ed" defaultsort="2" defaultorder="ascending">

<display:column align="center"
headerClass="DataHeader" class="edit-labels"
property="orderNum" title="Option ID" sortable="true" />
<display:column align="center"
headerClass="DataHeader" class="edit-labels-3"
sortable="true" title="Product Name" >
<bean:write name="row" property="productName"/>
</display:column>
<display:column align="right"
headerClass="DataHeader" class="edit-labels"
sortable="true" title="Loan Amount" >
<bean:write name="row" property="loanAmount"/>
</display:column>


</display:table>


The two columns that have <bean:write> will sort
together. That is, if I click on the "Product Name"
header to sort, both the "Product Name" and "Loan
Amount" columns will appear sorted (arrow_up or down
as needed, and bright orange color). Any ideas?

Thanks!


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to