• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
He's giving us the slip! Quick! Grab this tiny ad!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic