aspose file tools
The moose likes JSF and the fly likes Not able to Bookmark tab selection of Richfaces Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Not able to Bookmark tab selection of Richfaces" Watch "Not able to Bookmark tab selection of Richfaces" New topic
Author

Not able to Bookmark tab selection of Richfaces

Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

I am not able to bookmark the tab selected as the URL is always same no matter what tab you click on. Please suggest ho e to overcome this problem


Here i will try to make above statements more lucid.

My discussion is on Bookmarking the selection of the Tabs that user makes in his browser. I am using richfaces tabs for that and the ways I tried to do this were not fruitful. Actually the URL was not getting changed on the selection so the selection cant be bookmarked.

But if we look their demo website http://livedemo.exadel.com/richfaces-demo/richfaces/tabPanel.jsf?tab=usage

the URL is getting changed on the selection of the Tabs. Like in above example you can see we have one parameter passed in URL (tab=usage) . Similarly I want ti do but not getting any good direction to solve this.

Moreover I was thinking to give selected tab as a property which will be in backing bean and then manipulating the URL (that is by adding parameters and getting parameters from them ) but in JSF all the data go in POST but not in GET.

Please help. Any kind of Help will be appreciated.

Thanks for reading.


-------------------------------
Himanshu Gupta

[ October 08, 2008: Message edited by: Himanshu Gupta ]
[ October 08, 2008: Message edited by: Himanshu Gupta ]

My Blog SCJP 5 SCWCD 5
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

Please Help.
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

No one to help me out here?
Abdul Shams
Greenhorn

Joined: Oct 12, 2008
Posts: 6
JSF has a known problem with being bookmarked. Read this article for a proposed solution.

I hear the issue will be addressed in JSF 2.0

http://www.theserverside.com/news/thread.tss?thread_id=47561

Hope this helps
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

Thanks for your reply Abdul. The link was really helpful.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Not able to Bookmark tab selection of Richfaces
 
Similar Threads
How to fetch the selected list from the rich:ordering list component
adding row per row using javascript
How to get a confirmation box from server side
How to model non-scalar properties in dataTable
Which one to use for AJAX in JSF???