[richfaces-issues] [JBoss JIRA] (RF-12226) Support for CDK fragments to allow recursion and abstraction of code

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Tue Jun 12 13:08:04 EDT 2012


    [ https://issues.jboss.org/browse/RF-12226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700845#comment-12700845 ] 

Lukáš Fryč commented on RF-12226:
---------------------------------

Added support for {{@required}} and {{@default}} in {{cc:attribute}}:

{code:xml}
<cdk:fragment name="fragment">
        <cc:interface>
            <cc:attribute name="xyz" type="String" required="true" />
        </cc:interface>
        <cc:implementation>
            Test
        </cc:implementation>
    </cdk:fragment>
{code}
                
> Support for CDK fragments to allow recursion and abstraction of code
> --------------------------------------------------------------------
>
>                 Key: RF-12226
>                 URL: https://issues.jboss.org/browse/RF-12226
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: cdk
>    Affects Versions: 4.2.1.Final
>            Reporter: Lukáš Fryč
>            Assignee: Lukáš Fryč
>             Fix For: 4.3.0.Milestone1
>
>
> https://gist.github.com/2576862
> {code:xml}
> <cdk:root>
>   <cc:interface />
>   <cc:implementation>
>   
>     <cdk:render name="my" value="#{attr_value}" />  
>   </cc:implementation>
>   <cdk:fragment name="my">
>     <cc:interface>
>       <cc:attribute name="value" type="java.lang.String" />
>     </cc:interface>
>     <cc:implementation>
>       <cdk:render name="my" value="#{cc.value.recursiveParameter}" />
>     </cc:implementation>
>   </cdk:fragment>
> </cdk:root>
> {code}

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

       



More information about the richfaces-issues mailing list