You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Aidan O'Loan <ai...@magnustechnologies.com> on 2003/12/02 23:46:49 UTC
HTML Links with tiles and submodules
I have a link in a submodule JSP as follows:
<a href='/editDocument.do?action=view&id=<bean:write name="document"
property="document_id"/>' title="View">View</a>
These links have stopped working since I have migrated to tiles. Do I now
need to hard-code the submodule so that the link now looks like:
<a href='/MYSUBMODULE/editDocument.do?action=view&id=<bean:write
name="document" property="document_id"/>' title="View">View</a>
also, what if my layout JSP is in a directory named layouts, which is on
the same level as my submodule directories.
e.g.
/
|
| /layout/layout1.jsp
| /MYSUBMODULE/index.jsp
then do I need to say:
<a href='../MYSUBMODULE/editDocument.do?action=view&id=<bean:write
name="document" property="document_id"/>' title="View">View</a>
This doesn't seem like good code to me. Any help appreciated.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org