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

Lukas Fryc (JIRA) jira-events at lists.jboss.org
Sat Feb 26 17:36:05 EST 2011


    [ https://issues.jboss.org/browse/RF-10586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584835#comment-12584835 ] 

Lukas Fryc edited comment on RF-10586 at 2/26/11 5:34 PM:
----------------------------------------------------------

Alex, does this mean that also item change listeners are called in UPDATE_MODEL phase?

I think listeners should be still fired in INVOKE_APPLICATION phase.
Or is UPDATE_MODEL required for the proper switching?

      was (Author: lfryc at redhat.com):
    Alex, does this mean that also listeners are called in UPDATE_MODEL phase?

I think listeners should be still fired in INVOKE_APPLICATION phase.
Or is UPDATE_MODEL required for the proper switching?
  
> 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