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

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic