Not sure what you're trying to do in your decorator but you have access
to the ticket object in the decorator.  Is there a reason you are using
EL expressions instead of just accessing the object in your decorator?

 

From: Rob van Oostrum [mailto:rva...@gmail.com] 
Sent: Wednesday, February 17, 2010 12:05 PM
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] display:table id attribute not updating

 

I tried the following:

 

<display:table name="tickets" id="ticket" >

            <display:column property="id" url="/ticket/${ticket.id}"
decorator="my.IdColumnDecorator" />

 

While the EL resolves, it seems to result in ${ticket} being stuck on
the first item in the list. If I do this instead it works:

 

<display:column><a href="<c:url
value='/ticket/${ticket.id}'/>">${ticket.id}</a></display:column>

 

But that workaround renders my decorator useless.

 

Is this a known issue? Am I doing something wrong? I searched the issue
tracker but didn't come across anything.


Thanks
Rob

 

 

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to