You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2012/02/17 01:52:01 UTC

[jira] [Commented] (TAP5-1847) An extension component template (with a root t:extend element) should allow t:block elements to be nested

    [ https://issues.apache.org/jira/browse/TAP5-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209940#comment-13209940 ] 

Hudson commented on TAP5-1847:
------------------------------

Integrated in tapestry-trunk-freestyle #685 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/685/])
    TAP5-1847: An extension component template (with a root t:extend element) should allow t:block elements to be nested (Revision 1245264)

     Result = SUCCESS
hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1245264
Files : 
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/SaxTemplateParser.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/internal/services/tapestry_5_4.xsd
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/TemplateParserImplTest.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/internal/services/block_can_nest_inside_extend.tml

                
> An extension component template (with a root t:extend element) should allow t:block elements to be nested
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1847
>                 URL: https://issues.apache.org/jira/browse/TAP5-1847
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.3, 5.4
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>              Labels: template
>             Fix For: 5.4
>
>
> Currently, this isn't possible, and the <t:block> elements must be placed inside some available <t:replace> block. It makes sense that defining a block specific to a sub-component should be allowed, even if other aspects of the containing template are not to be overridden.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira