Thursday, 2 February 2012

JPA:Facelets: How to create a locale variable in a facelet

<!-- setting value1 into foo1 -->
<ui:param name="foo1" value="#{'value1'}"/>
<!-- calling a managed bean method myMethod() an setting the result into foo2 -->
<ui:param name="foo2" value="#{mybean.myMethod()}"/>

Note 1

<c:set /> and #{pageScope.set()} hasn't worked for me (see

Note 2

A <c:set /> variable has page scope meaning that I cannot be sent to a managed bean (e.g. as a method argument).

No comments:

Post a Comment