On Sep 7, 2006, at 11:17 AM, Kumar, Abhilash (Gok) wrote:

  I have a dynamic panelnavigation2 in my application. I am using
faceletes for templating and the menu page is in the template. When I
request the template child, the menu and the template child page is
loading correclty. But when I submit the template child page, the menu
ites are getting duplicated. If I submit again, the menu items be
duplicated again. I have observed that before calling my value method of
the menu itself, the items are populated. This behaviour will appear
only when I submit the page. Am I missing something ? Any pointers will
be really helpful.

I don't have an answer to your question, but just to confirm you're not hallucinating I've seen the exact same behavior. I was populating a panelNavigation2 with a list of NavigationMenuItem objects. If I ever did a postback request (where the requesting page was re-rendered) the menu was duplicated. My environment is the same as yours. I fixed the problem by switching to a non-dynamic list of t:commandNavigation2 tags.

If I find a better answer I will let you know.

Greg


Reply via email to