[richfaces-issues] [JBoss JIRA] Updated: (RF-10607) TabPanel:wrong model updates when switching between pagens in ajax and server mode
Ilya Shaikovsky (JIRA)
jira-events at lists.jboss.org
Thu Feb 24 10:30:10 EST 2011
[ https://issues.jboss.org/browse/RF-10607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ilya Shaikovsky updated RF-10607:
---------------------------------
JBoss Forum Reference: http://community.jboss.org/message/589385#589385 (was: https://issues.jboss.org/browse/RF-10211)
> TabPanel:wrong model updates when switching between pagens in ajax and server mode
> ----------------------------------------------------------------------------------
>
> Key: RF-10607
> URL: https://issues.jboss.org/browse/RF-10607
> 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
> Fix For: 4.0.0.CR1
>
>
> All the switchable panels should be checked after fix additionally.
> <h:form>
> <rich:tabPanel switchType="ajax">
> <rich:tab header="Overview">
> <h:inputText value="#{userBean.name}" />
>
> </rich:tab>
> <rich:tab header="JSF 2 and RichFaces 4">
> <h:inputText value="#{userBean.email}" />
>
>
> </rich:tab>
> <rich:tab header="123123">
> <h:inputText value="#{userBean.age}" />
>
> </rich:tab>
> </rich:tabPanel>
> </h:form>
> bean code:
> public String getEmail() {
> System.out.println("UserBean.getEmail()");
> return email;
> }
> public void setEmail(String email) {
> System.out.println("UserBean.setEmail()");
> this.email = email;
> }
> ......
> 1)Initial rendering :
> UserBean.getName() in log only. OK
> 2)change value in inputu and switching to second tab:
> UserBean.getEmail() in log only- FAIL. New value for first tab should be put to model
> 3) return back to first tab changing the input at second:
> UserBean.getName()
> UserBean.setName()
> UserBean.getName()
> in log - FAIL! first two calls should be for the field at the second tab (decode and model update) and only third one should be getName.
--
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