You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2007/01/28 18:40:21 UTC
[jira] Moved: (TILES-41) tag does not support
correctly the "name" attribute
[ https://issues.apache.org/struts/browse/TILES-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli moved SB-37 to TILES-41:
-----------------------------------------
Fix Version/s: (was: 2.0)
2.0.0
Component/s: (was: Tiles)
core
Affects Version/s: (was: 2.0)
2.0.0
Workflow: Struts (was: jira)
Key: TILES-41 (was: SB-37)
Project: Tiles (was: Sandbox)
> <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: 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.