Roger, I don't use the column decorator, I use the TableDecorator, which has that method. You put the decorator on the whole table, and create methods in the decorator to manipulate individual columns. If you reference a property that is not a method on the object referenced in the table, DisplayTag will then check the TableDecorator for that property.
Paul -----Original Message----- From: RogerV [mailto:roger.var...@googlemail.com] Sent: Thursday, March 31, 2011 10:40 AM To: displaytag-user@lists.sourceforge.net Subject: Re: [displaytag-user] DisplaytagColumnDecorator returns wrong row object 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 decorator should I extend to create my column decorator? Regards -- View this message in context: http://old.nabble.com/DisplaytagColumnDecorator-returns-wrong-row-object-tp31275210p31286984.html Sent from the DisplayTag - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user