[richfaces-issues] [JBoss JIRA] Created: (RF-10586) togglePanel : ignores validation on ajax switching

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Tue Feb 22 06:06:13 EST 2011


togglePanel : ignores validation on ajax switching
--------------------------------------------------

                 Key: RF-10586
                 URL: https://issues.jboss.org/browse/RF-10586
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-panels-layout-themes
    Affects Versions: 4.0.0.Milestone6
            Reporter: Ilya Shaikovsky
            Assignee: Alex Kolonitsky
            Priority: Critical


<h:form>
<rich:togglePanel switchType="ajax">
<rich:togglePanelItem name="wstep1">
<h:outputText value="Page 1" />	
<h:inputText value=""  required="true"/>
<rich:messages></rich:messages>
<a4j:commandButton value="Next &gt;&gt;">
<rich:toggleControl disableDefault="true" targetItem="wstep2" event="click"/>
</a4j:commandButton>
</rich:togglePanelItem>
<rich:togglePanelItem name="wstep2">
<ui:include src="/richfaces/togglePanel/samples/wstep2.xhtml" />
</rich:togglePanelItem>
</rich:togglePanel>
</h:form>

after clicking the button all seems fine at server side. messages appears and current 1 item encoded. But the problem seems at JS oncomplete which still switches the panel to the second(empty)  item.


!Additionally: what about tabs and accordion?


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list