ListObject obj = (ListObject) getCurrentRowObject();

HTH,

Matt

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of [EMAIL PROTECTED]
> Sent: Saturday, January 03, 2004 7:59 AM
> To: [EMAIL PROTECTED]
> Subject: [displaytag-user] TableDecorator Documentation is Out of Date
> 
> 
> I realize that the TableDecorator for hypertext links 
> ('Standard, creating 
> dynamic links') is out of date.
> 
> The code for getLink1() references a getObject() method. 
> There is no such 
> method in the TableDecorator class.
> 
> public String getLink1()
> {
>   ListObject lObject= (ListObject)getObject();
>   int lIndex= getListIndex();
>   return "<a href=\"details.jsp?index=" + lIndex + "\">" + 
> lObject.getId() 
> + "</a>";
> }
> 
> I do not want to use the ColumnDecorator since it is 
> depreciated. Can anybody 
> let me know how to get to the current row object of a list 
> using a table 
> decorator ?
> 
> Fred
> 
> 
>  
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign 
> up for IBM's Free Linux Tutorials.  Learn everything from the 
> bash shell to sys admin. Click now! 
> http://ads.osdn.com/?ad_id=1278&alloc_id=3371> &op=click
> 
> _______________________________________________
> 
> displaytag-user mailing list [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
> 



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to