• Post Reply Bookmark Topic Watch Topic
  • New Topic

Newbie Question

 
Samuel Lugo
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm very new to JSF. I've read through the tutorial on this site and others, and I've done two sample applications. My question is this, is it possible to invoke the managed-bean via or through the GET method. Is it even possible to invoke the manage-bean outside of a form? The two sample applications both used forms to invoke the managed-bean, which I assume is using the POST method. Any help would be greatly appreciated.

Thanks,
lugos
 
Samuel Lugo
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After a little more research, I think I found my answer...unfortunately it happens to be no. Thanks.

Here's my source:
http://forum.java.sun.com/thread.jspa?threadID=709681&messageID=4108562

lugos
 
Gerardo Tasistro
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that link of yours is wrong wrong wrong!

Look into filters. You can preprocess stuff.

You can jump to a phase.

You can access beans too. Managed beans are just in session scope. Just like classic JSP and servlets.
 
Gerardo Tasistro
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From Juan Pablos code a few posts down:

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!