[richfaces-issues] [JBoss JIRA] (RF-12260) Support for cdk:renderFacet

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Mon May 28 14:15:18 EDT 2012


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

Lukáš Fryč edited comment on RF-12260 at 5/28/12 2:14 PM:
----------------------------------------------------------

Ok, we have agreed to use {{<cc:renderFacet />}} from JSF 2.0 [1],

it can be used to for printing default value as follows:

{code:xml}
<cc:renderFacet name="header">Default value</cdk:insertFacet>
{code}

or for using attribute's value as default value:

{code:xml}
<cc:renderFacet name="header">#{component.attribute}</cdk:insertFacet>
{code}

[1] http://javaserverfaces.java.net/nonav/docs/2.0/vdldocs/facelets/index.html
                
      was (Author: lfryc):
    Ok, we have agreed to use {{<cc:renderFacet />}} from JSF 2.0 [1],

it can be used to for printing default value as follows:

{code:xml}
<cdk:insertFacet name="header">Default value</cdk:insertFacet>
{code}

or for using attribute's value as default value:

{code:xml}
<cdk:insertFacet name="header">#{component.attribute}</cdk:insertFacet>
{code}

[1] http://javaserverfaces.java.net/nonav/docs/2.0/vdldocs/facelets/index.html
                  
> Support for cdk:renderFacet
> ---------------------------
>
>                 Key: RF-12260
>                 URL: https://issues.jboss.org/browse/RF-12260
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: cdk
>    Affects Versions: 4.2.0.Final
>            Reporter: Brian Leathem
>            Assignee: Lukáš Fryč
>            Priority: Minor
>             Fix For: 4.3.0.Milestone1
>
>
> Support to render the facet content directly, similarly to {{cdk:body}}

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