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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to