You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/09/23 17:01:51 UTC

DO NOT REPLY [Bug 18426] - Add Tiles Support to tag.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=18426>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=18426

Add Tiles Support to <html:link> tag.





------- Additional Comments From niallp@apache.org  2004-09-23 15:01 -------
All the <html:link> tag is doing is rendering a url and I believe theres 
nothing in Struts currently which handles "tiles" urls so I don't see how this 
is possible - either through a forward or being able to specify a tile 
definition on a link tag.

The only way to achieve this at the moment would be to either have a specific 
action for "home" which forwarded to the "home" tile or have a generic "tile 
forwarding" action using the DefinitionDispatcherAction which picks up the tile 
name from a request parameter (default is "def" if you don't specify the 
parameter in the struts-config.xml).

I'm closing this. If I've got this wrong and someone provides a solution to 
this, it can always be re-openned.

Niall

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org