I have a struts action that displays a table with a decorator.  I added the requestURI = “” attribute to the table and it is correctly creating the links back to the action to page/sort the table.

 

My issue is that I would like to access the same base URI inside my table decorator for some links it displays.  My attempts at getting the URI form the request all return the jsp page not the action.  Obviously the displaytag code correctly calculates the base URI, how does the table or row decorator get access to this derived URI?

 

I tried this in the init function, but it also returned the jsp.

 

this.tableModel.getProperties().getRequestHelperFactoryInstance().getRequestHelperInstance(pageContext).getHref()

 

Thanks

-------------------------------------------------------------------------
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-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to