1 2 Previous Next 18 Replies Latest reply on Feb 11, 2012 4:08 PM by mihovil Go to original post
      • 15. Re: Call to ajax does not work with JBOSS CRb1
        nickarls

        ITYM set faces-config.xml to 2.0?

        • 16. Re: Call to ajax does not work with JBOSS CRb1
          mihovil

          We've put in web.xml in our application:

           

          <context-param> 

              <param-name>org.jboss.jbossfaces.JSF_CONFIG_NAME</param-name> 

              <param-value>Mojarra-2.0</param-value> 

          </context-param>

           

          But in jboss-home\modules\com\sun\jsf-impl\main we added  library:

           

          javax.faces-2.0.7.jar

           

          and in resources module.xml, we commented reference to "jsf-impl-2.1.5-jbossorg-1.jar" and added reference to "javax.faces-2.0.7.jar"

           

          so we basically downgraded jsf in JBoss server to version 2.0.

          • 17. Re: Call to ajax does not work with JBOSS CRb1
            ctomc

            this is strange,

            as I have ran primefaces showcase on 7.1.0.Final-Snapshot (yesterdays build) and it worked without any problems. but it is true it was 3.1. version.

             

            Instead of changing the main jsf module you can just add another as you have now 1.2 slot you could create slot 2.0 and leave main as it is.

            then you could just import 2.0 slot instead main. (there are examples how to do this around but for 1.2 slot)

             

            cheers,

            tomaz

            • 18. Re: Call to ajax does not work with JBOSS CRb1
              mihovil

              ok. thanks Tomaz! Good suggestion.

              1 2 Previous Next