[jboss-user] [JBoss Portal] - org.jboss.portal.faces.loader.FacesLoaderServlet Null Pointe

2007-10-29 Thread dpegram
Greetings, I'm deploying to JBoss [EAP] 4.2.0.GA (build: SVNTag=JBPAPP_4_2_0_GA date=200706281411)) running portal version 2.6.2-GA. When I deploy the application, which defines a new portal and portlets, I'm getting the following error: 15:44:19,046 ERROR [[/Foo]] Servlet /Foo threw load() e

[jboss-user] [JBoss Portal] - Re: org.jboss.portal.faces.loader.FacesLoaderServlet Null Po

2007-10-30 Thread dpegram
Ooops... just realized I have a copy-paste error in the faces-config.xml file. I've omitted the lines referencing the org.jboss.portal.core.identity.ui.* classes. Now I just have the following error. Thanks again for any assistance! - David 14:33:41,718 ERROR [StartupServletContextListener]

[jboss-user] [JBoss Portal] - Re: org.jboss.portal.faces.loader.FacesLoaderServlet Null Po

2007-10-30 Thread dpegram
OK... thank you! Modifying the build process to package the required JSF libraries in WEB-INF/lib2 fixed the null pointer issue. I was trying to use Facelets and the RI as opposed to JSPs or MyFaces. Unfortunately, I get the following if I exclude the MyFaces libraries. 13:19:08,625 ERROR [S

[jboss-user] [JBoss Portal] - Re: org.jboss.portal.faces.loader.FacesLoaderServlet Null Po

2007-10-31 Thread dpegram
Thanks Wesley! I overlooked the Ajax4Jsf namespace in the facelet files. Removing them fixed those IllegalArgumentExceptions. Unfortunately, I'm getting a different one now. Seems like I've wired something wrong, missing a library, or have the an incompatible version. Any suggestions are great

[jboss-user] [JBoss Portal] - RichFaces/Ajax4jsf support timeframe?

2007-10-31 Thread dpegram
Hello, Were currently using JBoss (4.2.0.GA) as our application server. Our applications are JSF 1.2 RI based using facelets with RichFaces (3.0.1), Ajax4jsf, and Tomahawk components. I realize the portal development team is working on support for the latest release of RichFaces which includes

[jboss-user] [JBoss Portal] - Re: org.jboss.portal.faces.loader.FacesLoaderServlet Null Po

2007-10-31 Thread dpegram
Upon closer inspection of the core-identity and core-admin portions of the portal I determined libraries in my WEB-INF/lib directory were causing the IllegalArgumentException. Removed the WEB-INF/lib directory in favor of the previously mentioned WEB-INF/lib2 and the portal/portlets deploy witho

[jboss-user] [JBoss Portal] - Re: org.jboss.portal.faces.loader.FacesLoaderServlet Null Po

2007-10-31 Thread dpegram
I was able to fix the rendering error by removing a couple of other conflicting libraries. Now my JSF + Facelet portlets render fine! Thanks to everyone who helped out! - David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100834#4100834 Reply to the po

[jboss-user] [JBoss Portal] - Re: RichFaces/Ajax4jsf support timeframe?

2007-11-07 Thread dpegram
Still wondering if anyone has any insight on approximately when JBoss portal will support RichFaces/Ajax4jsf? Specifically, wondering if this is expected anytime in the remainder of 2007? Thanks for all your efforts! - David View the original post : http://www.jboss.com/index.html?module=bb

[jboss-user] [JBoss Portal] - Obtaining user identity from PortalRuntimeContext?

2007-11-20 Thread dpegram
Hello, I'm using JBoss 4.2 EAP and Portal 2.6.2 with JSF and facelets. I see in the Reference Guide (Ch. 11) that there is a PortalRuntimeContext. According to the API and the guide, I should be able to get the user's identity via getUserId(). Unfortunately, I can't figure out how to get the c

[jboss-user] [JBoss Portal] - Re: Obtaining user identity from PortalRuntimeContext?

2007-11-20 Thread dpegram
I may be able to get the information I need another way. Unfortunately, the following code fails because the FacesContext is always null. | FacesContext context = FacesContext.getCurrentInstance(); | PortletRequest request = (PortletRequest)context.getExternalContext().getRe