In the main .xhtml page within the ui:include tag you pass in a ui:param value:




In the frament page you can reference the location value in the normal way:


And can use that value to pass to a backing bean method called from the fragment.

%d bloggers like this: