Please someone help me out, I cannot use href "page.jsp" in column
because I use tile. I want to specify html:link forward
So I used a Decorator like this:
public class ProjectDecorator
extends TableDecorator
{
static final Log log = LogFactory.getLog(ProjectDecorator.class);
public String getName()
{
ProjectData project = (ProjectData) getCurrentRowObject();
String rv = "<html:link forward=\"editProject\"
paramProperty=\"primaryKey\"" +
" paramId=\"id\"> " +
project.getName() +
"</html:link>";
log.error(rv);
return project.getName();
}
}
But it doesn't work.
Jianping Roth
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user