In the main .xhtml page within the ui:include tag you pass in a ui:param value:
<ui:include src="#{fragmentPage}">
<ui:param name="location" value="1" />
</ui:include>
In the frament page you can reference the location value in the normal way:
<ice:outputText value="#{manager.getLocation( '#{location}')}" />
And can use that value to pass to a backing bean method called from the fragment.
Tags: seamNo Comments
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.