Hi all,

This is a portion of my .jsp:

<display:table name="resultList" id="row">
    <display:column property="name" decorator="MyColumnDecorator">
</display:table> 

And this is my code:
public class MyColumnDecoratorimplements DisplaytagColumnDecorator {
        public Object decorate(Object arg0, PageContext arg1, MediaTypeEnum 
arg2) 
                        throws DecoratorException {
                // TODO Auto-generated method stub
                return null;
        }
}

If I use: pageContext.getAttribute("row"), then it will return me the last
row, not the current row. 

Is there other way to retrieve the current row? :confused:


-- 
View this message in context: 
http://www.nabble.com/How-to-get-current-row-from-DisplaytagColumnDecorator-tp24217790p24217790.html
Sent from the DisplayTag - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to