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

Extends fails in JSP-based Definitions

           Summary: Extends fails in JSP-based Definitions
           Product: Struts
           Version: 1.1 RC1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Tiles framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


The extends keyword when used in a JSP-Based attempts to access a non-existent
xml tile-defs file.  The following code returns unable to find definition.

<%@ taglib uri="struts-tiles"   prefix="tiles"%>
<%@ taglib uri="struts-bean"    prefix="bean"%>

<tiles:definition id="core_definition" page="/layout.jsp" scope="request">
        <tiles:put name="header"        value="/header.jsp"/>
        <tiles:put name="sidenav"       value="/sidenav.jsp"/>
        <tiles:put name="footer"        value="/footer.jsp"/>
        <tiles:put name="title"         value="empty"/>
        <tiles:put name="body"          value="empty"/>
</tiles:definition>

<tiles:definition id="login_definition" extends="core_definition" scope="request">
        <tiles:put name="title">
                <bean:message key="login.title"/>
        </tiles:put>
        <tiles:put name="body" value="/login_body.jsp"/>
</tiles:definition>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to