This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AJAX (no framework), JSF Portlet w/ Managed Bean on WebSphere

 
Jim Atharris
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm developing a JSF Portlet that has a managed bean (under pagecode on RSA). From the Portal page I'm invoking myajax.jsp via AJAX (no framework). This invocation is successful and returns a value (java.util.Date().toString()) to the browser. This just proves that the ajax to myajax.jsp and back functions properly.

So for my question, inside the myajax.jsp I need access to the JSF managed bean for that Portlet. How do I get access to that managed bean. I know inside the managed bean I have access to getFacesContext() but don't know how to get the HttpSession object that myajax.jsp (via session object).

Any help would be appreciated.

Thanks...Jim
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic