[JBoss JIRA] Created: (RF-10607) TabPanel:wrong model updates when switching between pagens in ajax and server mode
by Ilya Shaikovsky (JIRA)
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: Nick Belaevski
Priority: Critical
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
15 years, 3 months
[JBoss JIRA] Created: (RF-10062) CSV: cache results in services
by Alexander Smirnov (JIRA)
CSV: cache results in services
------------------------------
Key: RF-10062
URL: https://issues.jboss.org/browse/RF-10062
Project: RichFaces
Issue Type: Task
Security Level: Public (Everyone can see)
Components: component-validators
Affects Versions: 4.0.0.Milestone5
Reporter: Alexander Smirnov
Assignee: Alexander Smirnov
Fix For: 4.0.0.CR1
CSV services which lookup client-side implementation for Converter/Validator, perform actions on every call, that provides a lot of log messages for every request:
Dec 20, 2010 4:54:53 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, LengthValidator.js, from library, org.richfaces.csv.
Dec 20, 2010 4:55:00 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
WARNING: JSF1064: Unable to find or serve resource, CustomValidator.js, from library, org.richfaces.csv.
Some oth these operations are costly for performance, so service should cache results or perform most initialization tasks at startup.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months