[
https://issues.apache.org/struts/browse/TILES-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antonio Petrelli resolved TILES-202.
------------------------------------
Resolution: Not A Problem
This is not an issue for Apache Tiles, but eventually for Struts-Tiles.
Anyway I think that "beanName" and "definition" are synonyms. Just test it and,
if it does not work, create an issue in Struts 1 (code: STR) with "Tiles"
component.
> error on example
> ----------------
>
> Key: TILES-202
> URL: https://issues.apache.org/struts/browse/TILES-202
> Project: Tiles
> Issue Type: Bug
> Components: site
> Reporter: Andrea Battistini
>
> On page "Creating Templates" at url:
> http://struts.apache.org/1.3.8/struts-tiles/examples.html
> at bottom of section "Basic Template" I've found an error.
> Last source for somepage.jsp (calling a definitions in tiles-def) is:
> <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
> <tiles:insert beanName="templateDefinition" />
> BUT it should be:
> <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
> <tiles:insert definition="templateDefinition" />
> WITH beanName REPLACED WITH definition
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.