AnsweredAssumed Answered

Breadcrumb and browser back button

Question asked by unmarshall on Feb 21, 2007
Latest reply on May 6, 2008 by dinger

I have been going through your code base and in particular the way breadcrumb has been implemented. I have a few questions:

1. breadcrumb.jsp - This refers to a backing bean "location" property stores the current bread crumb. What i am not able to figure out is that how is this variable ever updated apart from the initialization?
2. In UIBreadCrumb component you have queued a BreadCrumb event which is then broadcast to all the listeners. Who are the interested listeners and where have they been registered?

3. Where does the bread crumb "location" change when a new link is clicked which takes the control to some other page?

4. How do you handle the browser back button? If the user clicks the back button then how will you keep the location (list) in synch with the page the user is currently on after clicking the browser back button?

It will be great if you could throw some light on the same