[richfaces-issues] [JBoss JIRA] (RF-13622) Undocumented feature - accordionItem header facets for specific states

Brian Leathem (JIRA) issues at jboss.org
Thu May 1 13:11:56 EDT 2014


     [ https://issues.jboss.org/browse/RF-13622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-13622:
-------------------------------

    Fix Version/s: 4.5-Tracking


Nice catch.  These facets are documented in the component reference for the {{<rich:tab>}} component, but not for the {{<rich:accordionItem>}}:
http://docs.jboss.org/richfaces/latest_4_X/Component_Reference/en-US/html_single/#sect-Component_Reference-Panels-richtab

Looking through our vdldoc it seems we do not document any of our facets there.  We should correct this.  The vdldoc should contain _all_ aspects of component configuration, with the component reference used for looking up usage details of those configuration aspects.

> Undocumented feature - accordionItem header facets for specific states
> ----------------------------------------------------------------------
>
>                 Key: RF-13622
>                 URL: https://issues.jboss.org/browse/RF-13622
>             Project: RichFaces
>          Issue Type: Quality Risk
>      Security Level: Public(Everyone can see) 
>          Components: doc
>    Affects Versions: 4.3.3
>            Reporter: David Rawlings
>            Priority: Minor
>             Fix For: 4.5-Tracking
>
>
> Having read the code I found that the richfaces accordion/accordionItem component supports the following:
> {code:xml}
> <rich:accordionItem>
>     <f:facet name="headerActive">
>         Some content for when item is active
>     </f:facet>
>     <f:facet name="headerInactive">
>         Some content for when item is inactive
>     </f:facet>
>     <f:facet name="headerDisabled">
>         Some content for when item is disabled
>     </f:facet>
> </rich:accordionItem>
> {code}
> I can't find this feature documented anywhere.  It would be useful to reference this in the vld docs for the 'header' attribute of the accordionItem tag.
> I found this feature useful to overcome issues I was having using rich:tooltip in an accordionItem header



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the richfaces-issues mailing list