You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2006/08/31 14:02:31 UTC
[jira] Work stopped: (SB-37) tag does not support
correctly the "name" attribute
[ http://issues.apache.org/struts/browse/SB-37?page=all ]
Work on SB-37 stopped by Antonio Petrelli.
> <tiles:insert> tag does not support correctly the "name" attribute
> ------------------------------------------------------------------
>
> Key: SB-37
> URL: http://issues.apache.org/struts/browse/SB-37
> Project: Sandbox
> Issue Type: Bug
> Components: Tiles
> Affects Versions: 2.0
> Environment: Tomcat 5.5.17, JDK 1.5.0_06
> Reporter: Antonio Petrelli
> Assigned To: Antonio Petrelli
>
> The <tiles:insert> tag does not support correctly the "name" attribute.
> Using the test webapp as a basis, "/testput.jsp" fails to load because:
> <tiles:insert> misunderstands "<tiles:insert template="/layout.jsp">": there is no "name" attribute, it tries to load a definition called "null":
> org.apache.jasper.JasperException: javax.servlet.jsp.JspException: Error - Tag Insert : Can't get definition 'null'. Check if this name exists in definitions factory.
> <tiles:insert> misunderstands "<tiles:put name="header" value="/header.jsp" />": it takes "header" as the name of a definition, therefore it cannot find it.
> org.apache.tiles.NoSuchDefinitionException
> at org.apache.tiles.taglib.InsertTag.processDefinitionName(InsertTag.java:478)
> at org.apache.tiles.taglib.InsertTag.processName(InsertTag.java:445)
> at org.apache.tiles.taglib.InsertTag.createTagHandler(InsertTag.java:416)
> at org.apache.tiles.taglib.InsertTag.doStartTag(InsertTag.java:356)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira