]
Mikhail Vitenkov closed RF-4166.
--------------------------------
Assignee: Mikhail Vitenkov (was: Tsikhon Kuprevich)
Verified at 3.2.2.CR4
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
Assignee: Mikhail Vitenkov
Fix For: 3.2.2
Original Estimate: 50 minutes
Remaining Estimate: 50 minutes
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: