I'm trying the include a component (with ui:include) and set a navigation rule for the caller page. The included component has a form; when submitted I want to display a feedback message (like growl) and conditionally display the included panel again.
What is the best way to achieve this?
You can use
<ui:param>to let the caller specify custom parameters for an<ui:include>.You could pass them through to the method in the
<h:commandButton>of the include page.