This content has been marked as final.
Show 2 replies
-
1. Re: Test JSF Backing Bean
ssilvert Apr 6, 2010 7:48 AM (in response to sward)1 of 1 people found this helpfulYou can use getManagedBeanValue() to evaluate any ValueExpression. For example, say I have a class Person bound in session scope to the name "employee". I could say:
Person employee = (Person)jsfServerSession.getManagedBeanValue("#{employee}");
employee.calculateSomething();
Stan
-
2. Re: Test JSF Backing Bean
sward Apr 7, 2010 8:08 AM (in response to ssilvert)Thank you Stan for your fast response