Hello,
Is there any way to render a page in a include area from outside this area using seam navigation rules?
For example:
1- I have wizard in a middle of a page (main.xhtml)
2- This wizard is implemented with a4j:include and the previous and next buttons are inside the step pages (step1.xhtml, step2.xhtml, ...)
3- The navigation rules are on page.xml (step1.page.xml)
4- On my main page I have a button to reset this wizard.
Example of a navigation file
>>step2.page.xml
<page> <navigation> <rule if-outcome="previous"> <render view-id="/step1.xhtml"/> </rule> <rule if-outcome="next"> <render view-id="/step3.xhtml"/> </rule> </navigation> </page>
<page> <navigation> <rule if-outcome="reset"> <render view-id="/step1.xhtml"/> </rule> </navigation> </page>