Foren

breadcrumb reloading new page

neelam bhandari, geändert vor 12 Jahren.

breadcrumb reloading new page

Regular Member Beiträge: 102 Beitrittsdatum: 16.08.11 Neueste Beiträge
Hi ,

I am using Liferay breadcrumb in my portal application. I have got bread crumb looking like this

Home(Search) / Results / Studio

When I click on Results in breadcrumb, it loads new page every time and the previous search criteria gets lost. New page gets loaded every time.

url gets changed for the Results page . First time when user comes from Home to Results , Results url looks like this

http://localhost:8080/web/guest/results?p_p_id=propertyReceiver_WAR_Property_Reciever&p_p_lifecycle=0&_propertyReceiver_WAR_Property_Reciever_region=West+London&_propertyReceiver_WAR_Property_Reciever_startDate=2011-11-24&_propertyReceiver_WAR_Property_Reciever_endDate=2012-02-22&_propertyReceiver_WAR_Property_Reciever_rooms=&_propertyReceiver_WAR_Property_Reciever_days=89

and when user is in Studio page and clicks on Results in breadcrumb, new page gets loaded with this url

http://localhost:8080/web/guest/results

how to change url for breadcrumb?

Thanks
Neelam
thumbnail
srikanth a, geändert vor 12 Jahren.

RE: breadcrumb reloading new page

Regular Member Beiträge: 144 Beitrittsdatum: 21.02.11 Neueste Beiträge
neelam bhandari:
Hi ,

I am using Liferay breadcrumb in my portal application. I have got bread crumb looking like this

Home(Search) / Results / Studio

When I click on Results in breadcrumb, it loads new page every time and the previous search criteria gets lost. New page gets loaded every time.

url gets changed for the Results page . First time when user comes from Home to Results , Results url looks like this

http://localhost:8080/web/guest/results?p_p_id=propertyReceiver_WAR_Property_Reciever&p_p_lifecycle=0&_propertyReceiver_WAR_Property_Reciever_region=West+London&_propertyReceiver_WAR_Property_Reciever_startDate=2011-11-24&_propertyReceiver_WAR_Property_Reciever_endDate=2012-02-22&_propertyReceiver_WAR_Property_Reciever_rooms=&_propertyReceiver_WAR_Property_Reciever_days=89

and when user is in Studio page and clicks on Results in breadcrumb, new page gets loaded with this url

http://localhost:8080/web/guest/results

how to change url for breadcrumb?

Thanks
Neelam


Hi Neelam,
If you wan to retain the search results and values then i suggest you put the required information in the session instead of request.

regards
Sri
neelam bhandari, geändert vor 12 Jahren.

RE: breadcrumb reloading new page

Regular Member Beiträge: 102 Beitrittsdatum: 16.08.11 Neueste Beiträge
Hi Sri,
Is this the only solution? and I need to put all the parameters in the session and will breadcrumbs read it implicitly?

Many thanks
Neelam
thumbnail
Samir Gami, geändert vor 12 Jahren.

RE: breadcrumb reloading new page

Regular Member Beiträge: 162 Beitrittsdatum: 04.02.11 Neueste Beiträge
PortletSession is good options for such requirements....
neelam bhandari, geändert vor 12 Jahren.

RE: breadcrumb reloading new page

Regular Member Beiträge: 102 Beitrittsdatum: 16.08.11 Neueste Beiträge
Thanks Samir. I am little confused. Do I need to change the breadcrumb portlet too?so that it displays new url

Neelam
thumbnail
srikanth a, geändert vor 12 Jahren.

RE: breadcrumb reloading new page

Regular Member Beiträge: 144 Beitrittsdatum: 21.02.11 Neueste Beiträge
neelam bhandari:
Hi Sri,
Is this the only solution? and I need to put all the parameters in the session and will breadcrumbs read it implicitly?

Many thanks
Neelam


Iam afraid but i guess that is the solution to achieve your requirement. Any other solutions are appreciated.


regards
Sri