[
https://issues.apache.org/struts/browse/TILES-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antonio Petrelli closed TILES-41.
---------------------------------
> <tiles:insert> tag does not support correctly the "name" attribute
> ------------------------------------------------------------------
>
> Key: TILES-41
> URL: https://issues.apache.org/struts/browse/TILES-41
> Project: Tiles
> Issue Type: Bug
> Components: tiles-core
> Affects Versions: 2.0.0
> Environment: Tomcat 5.5.17, JDK 1.5.0_06
> Reporter: Antonio Petrelli
> Assigned To: Antonio Petrelli
> Fix For: 2.0.0
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.