tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-1606) EmbeddedMixin concept
Date Fri, 12 Aug 2011 23:33:28 GMT

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

Hudson commented on TAP5-1606:
------------------------------

Integrated in tapestry-trunk-freestyle #476 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/476/])
    TAP5-1606: EmbeddedMixin, applying the patch from Dragan Sahpaski

kaosko : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1157207
Files : 
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/pageload/PageLoaderImpl.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/model/MutableComponentModelImpl.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/pageload/EmbeddedComponentAssemblerImpl.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/model/ComponentModel.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/model/MutableComponentModel.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/EmbeddedMixinWorker.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/EmbeddedMixin.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java


> EmbeddedMixin concept
> ---------------------
>
>                 Key: TAP5-1606
>                 URL: https://issues.apache.org/jira/browse/TAP5-1606
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.3
>            Reporter: Dragan Sahpaski
>            Assignee: Kalle Korhonen
>            Priority: Minor
>              Labels: mixin
>             Fix For: 5.3
>
>         Attachments: EmbeddedMixin patch.diff
>
>
> The EmbeddedMixin concept allows applying mixins on embedded components of an existing
component.
> Usage scenario:
> A mixin can have embedded mixins defined with the new @EmbeddedMixin annotation.
> A motivational demo can be found here http://dragansah.com/demoapp/embeddedmixinexamples
> Usage example:
> <t:grid t:mixins="mixinForGrid" />
> public class MixinForGrid
> {
>         // apply the MixinForGridCell mixin to the rows.gridCell subcomponent of the
grid
>         @EmbeddedMixin(componentId="rows.gridCell")
>         private MixinForGridCell mixinForGridcell;
>         // render phases on the grid
>         void beginRender()
>         {
>         }
> }
> public class MixinForGridCell
> {
>         // render phase on gridCell
>         void beginRender()
>         {
>         }
> }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message