• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

JSF bookmark

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 225
IBM DB2 Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic