JSF Management Bean & JSR168 Portlet Session problem
Hi,
I'm developing a JSR168 Portlet with JSF. I seem to have run into a little bit of a snag with JSF & JSTL (v1.1xxx).
I have set a managed bean in my faces config file as a session bean. All works well if I use JSF tags to access the jsf-managed-session-bean. The problem occurs that JSTL tags cannot see the jsf-managed-session-bean. The JSTL tags print nothing, not even "null". So it doesn't seem to be able to find the jsf-managed-bean in the session. If I change the JSF-managed-bean to request within the jsf config then the JSTL tags can see the bean fine. I'm not sure if this is a portlet or a JSF issues, but I suspect it could be a portlet issue.
If I print out all the session attribute names I find that the JSF-managed-bean has a very strange name like:
"javax.portlet.p.7_AJM41F3308FRE02H3CT5S120K6?<jsf-bean-name>"
So it seems that JSF or the portal is storing session data as part of the attribute name. I assume this is why the JSTL is not able to see the managed-bean. I still find it rather strange that the JSF-tags have no problem accessing the JSF-managed-session bean.
Any ideas or help would be greatly appreciated.
Thank you,

