cancel
Showing results for 
Search instead for 
Did you mean: 

Breadcrumb and browser back button

unmarshall
Champ in-the-making
Champ in-the-making
Hi,

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 NavigationBean.java "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

Regards,
Madhav
9 REPLIES 9

gavinc
Champ in-the-making
Champ in-the-making
The event you mention is part of the internals of JSF.

JSF components use an event mechanism to communicate between the lifecycles of a request.

The breadcrumb gets updated by the BrowseBean.updateUILocation method, this itself gets called every time a space is clicked in the UI.

archana_bonkanp
Champ in-the-making
Champ in-the-making
Hi All,

We are using alfresco 2.1,
in breadcrumb the navigation path is not dispalyed correctly,it adds to some confusion to the endusers.
Please help us if any new thing is implemented to overcome these error.

Thanks

dinger
Champ in-the-making
Champ in-the-making
The breadcrumbs is correctly implemented. It shows how the user navigated to the particular space, not the path to the particular space.

The latest community version has a switch that allows you to specify the alternate behaviour.

Rob

archana_bonkanp
Champ in-the-making
Champ in-the-making
Thanks for your response
we gone through the site,and added the following
<config>
      <client>
         <breadcrumb-mode>location</breadcrumb-mode>
      </client>
   </config>

in the web-client-config-custom.xml: file
but nothing works.
Please help us

mikeh
Star Contributor
Star Contributor
That config setting isn't available in v2.1 - only the latest HEAD code (v2.9)

Thanks,
Mike

archana_bonkanp
Champ in-the-making
Champ in-the-making
is there is no way to solve the problem

dinger
Champ in-the-making
Champ in-the-making
Port the code to v2.1?

Pay someone to do it for you?

Rob

archana_bonkanp
Champ in-the-making
Champ in-the-making
we already using V2.1
can you please let us know the cost details to do the same

dinger
Champ in-the-making
Champ in-the-making
Yes, you need to backport the code from 2.9 (HEAD) to 2.1

Rob
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.