Texto abaixo foi retirado da documentação oficial do Richfaces (user guide: richfaces_reference.pdf pag: 75)
"6.2.3. Key attributes and ways of usage
If a managed bean is declared with request scope in the configuration file with the help of
tag then the life-time of this bean instance is valid only for the current
request. Any attempts to make a reference to the bean instance after the request end will throw
in Illegal Argument Exception by the server. To avoid these kinds of Exception, component
a4j:keepAlive is used to maintain the state of the whole bean object among subsequent
request.
Example:
The “beanName” attribute defines the request scope bean name you’d like to re-use. Note that
this attribute must point to a legal JSF EL expression which resolves to a managed mean instance.
For example for the above code the class definition may look like this one:
class MyClass{
...
private TestBean testBean;
// Getters and Setters for testBean.
...
}"
Porém a mensagem que eu recebo quando vou usar isso na prática é:
“According to TLD or attribute directive in tag file, attribute beanName does not accept any expression”
A documentação diz que posso usar expressão, mas na prática diz que não… Afinal posso ou não? Alguém já utilizou com expressão? Meu objetivo na verdade é manter o estado somente de um atributo do meu ManagedBean e não do ManagedBean todo…
Aguardo e obrigado por enquanto !

To apanhando 