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/02/20 17:55:16 UTC

[jira] Created: (TILES-118) Creating a custom definition extending another does not work

Creating a custom definition extending another does not work
------------------------------------------------------------

                 Key: TILES-118
                 URL: https://issues.apache.org/struts/browse/TILES-118
             Project: Tiles
          Issue Type: Bug
          Components: tiles-core
    Affects Versions: 2.0.1
            Reporter: Antonio Petrelli
         Assigned To: Antonio Petrelli


If you want to create a custom definition extending another (configured or custom) definition, it leads to an exception.
For example:

<tiles:definition name="definitionName" extends="myFirstDefinition" >
  <tiles:putAttribute name="title"  value="My first extended definition tag page" />
</tiles:definition>

does not work.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TILES-118) Creating a custom definition extending another does not work

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

Antonio Petrelli closed TILES-118.
----------------------------------


> Creating a custom definition extending another does not work
> ------------------------------------------------------------
>
>                 Key: TILES-118
>                 URL: https://issues.apache.org/struts/browse/TILES-118
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-core
>    Affects Versions: 2.0.1
>            Reporter: Antonio Petrelli
>         Assigned To: Antonio Petrelli
>             Fix For: 2.0.2
>
>
> If you want to create a custom definition extending another (configured or custom) definition, it leads to an exception.
> For example:
> <tiles:definition name="definitionName" extends="myFirstDefinition" >
>   <tiles:putAttribute name="title"  value="My first extended definition tag page" />
> </tiles:definition>
> does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TILES-118) Creating a custom definition extending another does not work

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

Antonio Petrelli resolved TILES-118.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.2

Added a copy-constructor to ComponentAttribute, that is used for inheritance in DefinitionManager.
Fixed some NPException due to incorrect method calls.
Added JSP test page and Selenium test.

> Creating a custom definition extending another does not work
> ------------------------------------------------------------
>
>                 Key: TILES-118
>                 URL: https://issues.apache.org/struts/browse/TILES-118
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-core
>    Affects Versions: 2.0.1
>            Reporter: Antonio Petrelli
>         Assigned To: Antonio Petrelli
>             Fix For: 2.0.2
>
>
> If you want to create a custom definition extending another (configured or custom) definition, it leads to an exception.
> For example:
> <tiles:definition name="definitionName" extends="myFirstDefinition" >
>   <tiles:putAttribute name="title"  value="My first extended definition tag page" />
> </tiles:definition>
> does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.