[richfaces-issues] [JBoss JIRA] Updated: (RF-8990) togglePanel: switching from empty state to some actual item throws js error

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Thu Jul 29 07:24:33 EDT 2010


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

Nick Belaevski updated RF-8990:
-------------------------------

         Assignee: Alex Kolonitsky  (was: Nick Belaevski)
    Fix Version/s: 4.0.0.Milestone2
      Component/s: component-panels-layout-themes


> togglePanel: switching from empty state to some actual item throws js error
> ---------------------------------------------------------------------------
>
>                 Key: RF-8990
>                 URL: https://jira.jboss.org/browse/RF-8990
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-panels-layout-themes
>    Affects Versions: 4.0.0.Milestone1
>            Reporter: Ilya Shaikovsky
>            Assignee: Alex Kolonitsky
>             Fix For: 4.0.0.Milestone2
>
>
> Switching works in this case
> 		<h:form>
> 		<rich:togglePanel id="panel1">
> 			<rich:togglePanelItem name="item1">
> 				<h:outputText value="Item1"/>
> 			</rich:togglePanelItem>
> 			<rich:togglePanelItem name="item2">
> 				<h:outputText value="Item2"/>
> 			</rich:togglePanelItem>			
> 		</rich:togglePanel>
> 		</h:form>
> 		<h:commandButton>
> 			<rich:toggleControl forPanel="panel1" targetItem="item2"/>
> 		</h:commandButton>
> But in the console I see
> oldPanel is null
> http://localhost:8080/richfaces-showcase/javax.faces.resource/script/TogglePanel.js.jsf
> Line 85

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list