-
1. Re: Not able to Bookmark tab selection of Richfaces.
himanshugpt Oct 8, 2008 9:41 AM (in response to himanshugpt)Can someone help me put here....
-
2. Re: Not able to Bookmark tab selection of Richfaces.
himanshugpt Oct 9, 2008 9:30 AM (in response to himanshugpt)No one to help me out here.
-
3. Re: Not able to Bookmark tab selection of Richfaces.
fabmars Oct 9, 2008 9:50 PM (in response to himanshugpt)JSF is said (although it's partialy wrong) not to be able to handle bookmarkable URLs...
imo, you have to:
1) set the tabs to server mode switching
2) maintain a variable in some (session scoped) backing bean that will hold the tab number.
3) upon click of the tab, a complete server round-trip is trigerred (since your tabs are in server mode) and you should, there, rebuild the whole URL corresponding to your page+tabnumber and trigger yourself another redirect ontop of the one happening.
In the end, your browser received the URL you made yourself and to which you manually redirected, that is it's displayed in the address bar, that is, you can bookmark it. -
4. Re: Not able to Bookmark tab selection of Richfaces.
ilya_shaikovsky Oct 13, 2008 11:44 AM (in response to himanshugpt)Our demosite sources is free to be downloaded and explored. Why you just can't check our code?
-
5. Re: Not able to Bookmark tab selection of Richfaces.
himanshugpt Oct 13, 2008 11:46 AM (in response to himanshugpt)I tried but did not get the location. can you please provide me the location of the demo site source.
-
6. Re: Not able to Bookmark tab selection of Richfaces.
ilya_shaikovsky Oct 13, 2008 11:52 AM (in response to himanshugpt)for sure.
https://anonsvn.jboss.org/repos/richfaces/trunk/samples/richfaces-demo/
Here you are. -
7. Re: Not able to Bookmark tab selection of Richfaces.
himanshugpt Oct 13, 2008 11:56 AM (in response to himanshugpt)Thanks Buddy.
-
8. Re: Not able to Bookmark tab selection of Richfaces.
himanshugpt Oct 13, 2008 12:04 PM (in response to himanshugpt)I am not able to check out the code through tortoise. Do you know why it is like this?