Hi,

I am trying to create a generic TableDecorator to output an HTML link, but the contents of the link should be dynamic, depending on some other attribute in the <display:column> tag, in particular, the href attribute. Is there any way to access the tag attributes from a table decorator?

For example:
<display:column property="link3" href="/someaction.do" />

so in the getLink3() method of TableDecorator, is there any way to get the value passed in href?

Also, is there an easier way of passing multiple values for the param* attributes to create links with more than one prameter i.e. "/someaction.do?a=1&b=2&c=3" without using a Decorator? I was thinking something like passing a key-value map similar to how it is done in Struts.

Thanks.


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to