Re: [displaytag-user] DisplaytagColumnDecorator returns wrong row object

2011-03-31 Thread RogerV
Paul Cooper-2 wrote: > > All decorators have a getCurrentRowObject() method that will return the > object that makes up each row. Cast the result of the method to whatever > Class it really is, and then call methods on it. > DisplaytagColumnDecorator is only an interface. Which concrete decor

Re: [displaytag-user] DisplaytagColumnDecorator returns wrong row object

2011-03-31 Thread RogerV
Sorry, The interface I was using to post through Nabble removed a chunk of my message - I'll try again I'm using Struts 2.2.1 with DisplayTag 1.2. I've got a simple jsp page that contains - and my decorator is as follows; public class EditOrDeleteDecorator impleme

[displaytag-user] DisplaytagColumnDecorator returns wrong row object

2011-03-30 Thread RogerV
Hi I'm using Struts 2.2.1 with DisplayTag 1.2. I've got a simple jsp page that contains - and my decorator is as follows; public class EditOrDeleteDecorator implements DisplaytagColumnDecorator { @Override public Object decorate(Object arg0, PageCo