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/03/14 22:48:52 UTC

DO NOT REPLY [Bug 18017] New: - Extends fails in JSP-based Definitions

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: struts-dev@jakarta.apache.org
        ReportedBy: eschnell@nvisia.com
                CC: galwar@nvisia.com


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: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org