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 2003/04/08 09:20:55 UTC

DO NOT REPLY [Bug 18799] New: - using with a global-forward to a tile

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18799

using <logic:forward> with a global-forward to a tile

           Summary: using <logic:forward> with a global-forward to a tile
           Product: Struts
           Version: 1.1 RC1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: ndeloof@capgemini.fr


I defined this global forward in struts-config.xml:
<global-fowards>
  <foward name="index" path="tile:login">
</global-fowards>

tile:login is a tile form my tiles-def.xml

In login.jsp (welcome-file of the webapp) I try to forward to this tile:
<logic:forward name="index">

It fails as the server looks for the ressource "/[app-context]/tile:login

I solved my problem including the tile definition in index.jsp :
<tiles:insert definition="tiles:index" />

This bug can so be marked as enhancement, or just add to <logic:forward> doc 
that it doesn't support tiles.

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