I'm trying to use the wizard in my solution, in my scenario I have different questions grouped in sections. I would create one tab per section but questions and sections may differ each time, so I would create tabs dynamically but it's seems not possible (not easly however). In fact using c:forEach to render different panel works but this way it's not possibile to use viewScope for the backing-bean even ui:repeat or ui:include doesn't work for the purpose.
I fear the only solution would be create a custom wizard tag that handle somehting like this:
Code: Select all
<p:wizard ...>
<p:tabs var='#{mySections}'>
....
</tabs>
</p:wizard>
Thanks for any advice,
Luca