DisplaytagColumnDecorator doesn't provide an accurate pageContext variables
---------------------------------------------------------------------------

                 Key: DISPL-531
                 URL: http://jira.codehaus.org/browse/DISPL-531
             Project: DisplayTag
          Issue Type: Bug
          Components: Decorators
    Affects Versions: 1.1.1
            Reporter: fullname
            Priority: Minor
         Attachments: error code.txt

The row object is not accurate from the pageContext within the 
DisplaytagColumnDecorator.decorate() method.

For example:
in this scenario "entry" is the value of the id attribute of the 
display-el:table tag

Here are a few lines of code from the DisplaytagColumnDecorator.decorate() 
method
temp = ((SearchResultEntryDto) pageContext.getAttribute("entry"));
and
temp = temp+pageContext.getAttribute("entry_rowNum");

The above code is called for each row of data but the values for each are 
always the same object and row number for each method call! So if my table tag 
has 3 rows of data I get the value 3 for each method call when looking for the 
rowNum variable. Also the object of my "entry" object is the same object.

-- 
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

        

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to