[richfaces-issues] [JBoss JIRA] (RF-12280) rich:panelToggleListener doesn't work when panel is nested inside some components

Mohammad Weshah (JIRA) issues at jboss.org
Tue Mar 11 10:15:13 EDT 2014


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

Mohammad Weshah edited comment on RF-12280 at 3/11/14 10:15 AM:
----------------------------------------------------------------

Hello All,
 if you need to know the state of panel expanded or collapsed to be send to backing bean , you can send it as parameter to a method by  rich:findComponent('panelId').expanded .

or use 
	public void panelAction(AjaxBehaviorEvent ajaxEvent){
		    ((UICollapsiblePanel)ajaxEvent.getComponent()).isExpanded();
	}

 <a4j:ajax event="switch"  limitRender="true" listener="#manageImpoundDocumentBacking.panelAction}" />

Regards
Wish79
                
      was (Author: wish79):
    Hello All,
 if you need to know the state of panel expanded or collapsed to be send to backing bean , you can send it as parameter to a method by  rich:findComponent('panelId').expanded .

Regards
Wish79
                  
> rich:panelToggleListener doesn't work when panel is nested inside some components
> ---------------------------------------------------------------------------------
>
>                 Key: RF-12280
>                 URL: https://issues.jboss.org/browse/RF-12280
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-panels-layout-themes
>    Affects Versions: 4.2.2.Final
>         Environment:     RichFaces 4.2.2.Final
>     Metamer 4.2.2-SNAPSHOT
>     Unknown version of JSF
>     JBoss AS 7.1.1.Final
>     Java(TM) SE Runtime Environment 1.6.0_32-b05 @ Linux
>     Firefox 12.0 @ Linux x86_64
>            Reporter: Jan Papousek
>             Fix For: 5-Tracking
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list