Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF bookmark

 
Sunita Dilwali
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read that jsf does not allow get methods on form.
I have an authentication process on the website.
Only authorised user can visit.

If some one book marks that page, and come back later then they have to pass through authorisation login.

How I carry the information of a page, so after authorisation it lands into right page instead of home page using JSF?

How you can make bookmark available for JSF pages.

THANKS.
 
Will Lee
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm facing similar problem: In the email I'll include a link to JSF. How to pass the parameter in the backbean and how to invoke the method in the bean (after user log in)?

For the first question, I found out in JSF wiki but didn't try yet
For the 2nd one, the wiki suggest Shale remoting but no document in that web site.

Anyone has better solution? Thanks
 
Ganesh Gowtham
Ranch Hand
Posts: 225
IBM DB2 Eclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi frenz.....
i do have generic idea pls do work it out whether it is correct or wrong....

we have controller (ie here class which checks the suthentication issue)
in the class with use of HttpServletRequest Object getRequestURL() ...
u can get the requested url ...( ie bookmarked url) then u do that logic...fwd to that same page which he requested...

In JSF with the help of facesContext i think we can get the servlet intance with external.... i didnt remember the exact mtd ...
Hope this helps...
if i am wrong ...pls do post
 
Lincoln Baxter
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out project PrettyFaces. It does a lot of this and makes bookmark pages possible for JSF. It uses the RequestDispatcher to get a utilize faces servlet..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic