hi, my question is .. there is a way to retrieve PortalObjectContainer from a jsf managed bean ? I see the code of jboss-portal-core and i made this steps :
jboss-portlet.xml : ... <service-name>PortalObjectContainer</service-name> <service-class>org.jboss.portal.core.model.portal.PortalObjectContainer</service-class> <service-ref>:container=PortalObject</service-ref> ... faces-config.xml: .... <managed-bean> <display-name></display-name> <managed-bean-name>PortletManager</managed-bean-name> <managed-bean-class>mytest.PortletManager</managed-bean-class> <managed-bean-scope>application</managed-bean-scope> <managed-property> <property-name>portalObjectContainer</property-name> #{applicationScope.PortalObjectContainer} </managed-property> </managed-bean> .... PortletManager.java: ..... public void setPortalObjectContainer(PortalObjectContainer poc) { this.poc = poc; } public PortalObjectContainer getPortalObjectContainer() { return this.poc; } .... but when i try to use "poc" (PortalObjectContainer) i got an exception (that don't say nothing about the problem). I think that i miss a step, if anyone can help me .... Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936577#3936577 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936577 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user