Hi, i have an JBoss Portal Server running with my written JSF-Portlets. I want to write from my JSFPortlet (which extends "MyFacesGenericPortlet") a String got from the Session to my managed-bean, which is displayed in an JSF-Page.
Code from JSFPortlet.java | public void doView(RenderRequest rRequest, RenderResponse rResponse) { | String s = (String) rRequest.getPortletSession(true).getAttribute("id", PortletSession.APPLICATION_SCOPE); | | /* write s in StatusBean-Property */ | .... | | Code from faces-config.xml | <faces-config> | <managed-bean> | <managed-bean-name> StatusBean </managed-bean-name> | <managed-bean-class> StatusBean </managed-bean-class> | <managed-bean-scope> session </managed-bean-scope> | </managed-bean> | </faces-config> | Thanks for help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988370#3988370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988370 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user