<!-- 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
http://www.warski.org/blog/2008/04/value-to-variable-binding-let-tag-for-jsf-facelets-and-seam/).
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