[jboss-user] [JBoss Portal] - Re: JBoss AS 4.2.0GA + JBoss Portal 2.6 + JSF 1.2 + JSFPortl

viggo.navarsete do-not-reply at jboss.com
Wed Jul 4 07:12:15 EDT 2007


Hi Thomas,

I tried the guessnumberportlet.war and it worked out of the box as you said:)

Then I compared my war file against the guessnumberportlet, and the differences I found were:
1. I had a java class which extended the com.sun.faces.portlet.FacesPortlet. I deleted this one.
2. I didn't have anything in my faces-config.xml. Added some navigation rules similar to what I found in the guessnumberportlet.
3. I added a backing bean which I refererred to in faces-config.xml (didn't have a backing bean before, I thought that the java class which extended the FacesPortlet was enough.)

When deploying the war file with my new changes it finally worked:)

So, to conclude: I'm really not sure which of the steps previously mentioned that actually fixed it, but I have a strong feeling it had something todo with the java class which extended the FacesPortlet.

Thanks for all your help Thomas, it was really helpful :)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060358#4060358

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060358



More information about the jboss-user mailing list