[richfaces-issues] [JBoss JIRA] Created: (RF-4166) Ajax4J - KeepAlive - ajaxOnly Attribute
Denis Silva (JIRA)
jira-events at lists.jboss.org
Mon Aug 11 23:01:49 EDT 2008
Ajax4J - KeepAlive - ajaxOnly Attribute
---------------------------------------
Key: RF-4166
URL: https://jira.jboss.org/jira/browse/RF-4166
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: WebLogic 10.x and TomCat6
JDK 5
Reporter: Denis Silva
I had a problem when using, Ajax4j Tag, KeePAlive, if the attribute ajaxOnly set to true.
There is a simple error in a expression, that put the Bean in FacesContext.
When the ajaxOnly is set to true, the beanName is not placed in FacesContext Map properly.
String beanAttributeName = isAjaxOnly?AjaxPhaseListener.AJAX_BEAN_PREFIX:AjaxPhaseListener.VIEW_BEAN_PREFIX+beanName;
facesContext.getViewRoot().getAttributes().put(beanAttributeName, bean);
return Tag.SKIP_BODY;
when isAjaxOnly evaluate to true, the String AjaxPhaseListener.AJAX_BEAN_PREFIX is setted to beanAttributeName. and the Bean.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list