Hi

I had some issues with the panelNavigation2 that i fixed by binding the
panelNavigation2 to a property in a backing-bean. (see my posts two
weeks ago).

Now I have migrated to myfaces 1.1.4 and the problems reuccur. Further i
want to implement a feature that sounds easy but is not possible as I
will show.

0) Setting: My panelNavigation2 is based on the dynamic example from
irian. I have some h:forms that surround everything that looks like a
command. (navigation, login/logout, main content). I use redirects to
secure my pages with simple URL-based authentication (Jboss)

1) panelNavigation2 does not stay open across requests.
I can open a section in my navigation, I can click on the
navigationitem, and get navigated to the view i want, but the navigation
section gets closed again. I searched a lot for documentation but I
didn't find anything beside undocumented examples or sentences like
"panelNavigation2 is the successor of panelNavigation. it works with
commandNavigation2." Aha. Where are things documented like "using
redirects wont work because of ..."?
If someone could explain that component short and concise (including
most important prerequisits) I would be real grateful and promise to
write it in the wiki ;-)

2) My feature: I thought about implementing a simple
breadcrumb-navigation by setting up a backing-bean with a property 
"Stack history;" that stores my history of views. It should be updated
every time I click a link in the navigation. I thought about a simple
actionListener and looked for "NavigationMenuItem.addActionListener" but
there is only "setActionListener" But i need one for my app and one for
the breadcrumb-navigation. There must be a UICommand in the background,
but how do I access it?

I can post my code (bean, jsf, xml), but don't want to pollute the list
before it's not explicitly wanted.

Regards, Sebastian.

Reply via email to