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)
    Affects Versions: 4.0.0.Milestone1
            Reporter: Ilya Shaikovsky
            Assignee: Nick Belaevski


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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to