Dynamic ui:include not working
Hi all,
I have a page with an ui:include defined as follows:
<ui:include src="#{ANC.nextPage}" />
where nextPage is a variable that is being changed by different commandButtons. The problem is when I have an included page with a form and a couple of fields. When I press another action button that changes the included page to another form, the new form doesn't replace the old one, but gets appended to it.
I've been searching the mailing list to see if it had already happened, but I couldn't find anything. I'm using facelets 1.0.10, so may be it's fixed in a later version but I wanted to check with you first.
Thanks in advance.
Regards,
Pablo.