[jboss-user] [JBoss Portal] - Re: JBOSS Portal 2.6 + MyFaces within my application not wor

chris.laprun@jboss.com do-not-reply at jboss.com
Tue Jul 3 17:18:26 EDT 2007


"egandt" wrote : First off there is a Wiki document at http://wiki.jboss.org/wiki/Wiki.jsp?page=Running2.6WithJBossAS4.2.xAndMyFaces
  | 

This is only needed if you intend to use MyFaces instead of JSF RI globally, at the application-server level.

"egandt" wrote : Which appears to cover this topic, however after making the changes suggested, the portal works, but not my application which uses both ADF and MYfaces.  In a JBoss Application Server 4.2 I fix my problems with MYFACES by adding the lines:
  | 
  |   |   <context-param>    
  |   |     <param-name>
  |   |             org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL
  |   |     </param-name>
  |   |     <param-value>true</param-value>
  |   |   </context-param>
  |   | 
  | to the web.xml located at default/deploy/jboss-web.deployer/conf under:
  | 

If I am not mistaken, you're basically instructing JBoss AS to disregard the JSF implementation bundled with AS and use whichever your app is providing. So in essence, you didn't need to replace RI by MyFaces as described in the Wiki. This breaks Portal because Portal doesn't bundle a JSF implementation.

Why are you bundling MyFaces with your app? Why not just ADF?

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

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



More information about the jboss-user mailing list