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

Alex Kolonitsky (JIRA) jira-events at lists.jboss.org
Sat Feb 26 06:26:05 EST 2011


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

Alex Kolonitsky resolved RF-10586.
----------------------------------

    Resolution: Done


Fixed. 
In addition, panel items are switched in UPDATE MODEL phase now.

> 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: base functionality , component-panels-layout-themes
>    Affects Versions: 4.0.0.Milestone6
>            Reporter: Ilya Shaikovsky
>            Assignee: Alex Kolonitsky
>            Priority: Critical
>             Fix For: 4.0.0.CR1
>
>
> <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