Use decorator to create HREF. HREF displayed as a string. ---------------------------------------------------------
Key: DISPL-391 URL: http://jira.codehaus.org/browse/DISPL-391 Project: DisplayTag Issue Type: Bug Components: Decorators Affects Versions: 1.1 Reporter: sasha I am using decorator tp create href link . <display:table name="resList" requestURI="" id="resident pagesize="25" class="list" export="false" decorator="com.pg.webapp.decorator.DecoratorWrapper"> <display:column style="width:112px;" property="link2" title="Name" escapeXml="true" sortable="true"/> Where link2 in my decorator is: public String getLink2() { ResidentInfo object = (ResidentInfo) getCurrentRowObject(); return "<a href=\"details.jsp?index=" + "TEST" + "\">" + "TEST" + "</a>"; } My page displays a string returned by the decorator ( not as a link, but a string). View source on a page shows: <td style="width:112px;"><a href="details.jsp?index=TEST">TEST</a></td> I have tried using different escape characters in my decorator, but it did not help. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel