You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Andrea Battistini (JIRA)" <ji...@apache.org> on 2007/08/09 09:31:18 UTC

[jira] Created: (TILES-202) error on example

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.


[jira] Closed: (TILES-202) error on example

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/TILES-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli closed TILES-202.
----------------------------------


> 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.


[jira] Resolved: (TILES-202) error on example

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ 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.