This content has been marked as final.
Show 4 replies
-
1. Re: a4j:keepAlive issue with facelets
cagatay Mar 27, 2008 5:37 PM (in response to cagatay)Using as plain literal;
<a4j:keepAlive beanName="myBean.valueToKeepAlive"></a4j:keepAlive>
doesn't restore the value either, tried with RI 1.2_08 instead of Myfaces, didn't help. -
2. Re: a4j:keepAlive issue with facelets
sergeysmirnov Mar 27, 2008 6:33 PM (in response to cagatay)beanName references to the bean name, but not to the value. I.e. the same as in the faces-config.xml . EL is not allowed there due to the nature of the using saving method.
P.S. RI 1.2_08 is a most unstable version of JSF implementation. -
3. Re: a4j:keepAlive issue with facelets
cagatay Mar 27, 2008 6:41 PM (in response to cagatay)From RichFaces user guide;
<a4j:keepAlive beanName = "#{myClass.testBean}"/>
Note that the attribute 'beanName' must point to a legal jsf EL expression which resolves to a managed
mean instance...
Seems users guide is wrong here:) Anyway I thought keepAlive is same as tomahawk's saveState but it seems I can only keep alive the whole bean, not any property. -
4. Re: a4j:keepAlive issue with facelets
sergeysmirnov Mar 27, 2008 7:00 PM (in response to cagatay)Yes, the doc is not right here. keepAlive is similar to saveState, but allows to save only one particular bean (not bean property).