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 2005/06/03 04:37:02 UTC

DO NOT REPLY [Bug 35195] New: - cross-context tile definitions

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=35195>.
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=35195

           Summary: cross-context tile definitions
           Product: Struts
           Version: Unknown
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tiles framework
        AssignedTo: dev@struts.apache.org
        ReportedBy: bschneider@vecna.com


it would be great if there were a way you could declare paths with tiles to be
cross-context somehow.  for example, 

<definition id=".foo" extends=".mainLayout">
  <put name="body" value="/foo.jsp" webapp="/context">
</definition>

then <tiles:insert name="body"/> would pull /context/foo.jsp instead of /foo.jsp
(relative to the current context). 

The main use for this would be for portal-style systems where you have one set
of navigation/layout shared across multiple webapps.  This is, IMO, one of the
strongest points that Sitemesh has over Tiles.

cross-reference:

http://raibledesigns.com/page/rd?anchor=use_sitemesh_to_decorate_multiple

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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