4 Replies Latest reply on Sep 20, 2011 1:36 PM by fbricon

    Jboss Maven Jsf Integration: Faces-config.xml Editor Problem

    yoel.ben

      Dear all,

       

      My problem is that I want to use Eclipse JSF Faces-config editor to draw navigation rules between xhtml page.

      But with the use of Jboss Maven Jsf Integration it's seem impossible (see the file in attachment).

       

      I have detected the problem :

      The Jboss plugin adds in the file  org.eclipse.wst.common.component :

             ...

             <wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>

             <wb-resource deploy-path="/" source-path="/src/main/webapp"/> 

              ...

       

      And the Eclipse faces-config editor seems to load the first wb-resource with the attribute "source-path" and ignoring the next one.

      If you inverse these two ligns. the faces editors works (we can chose Page to define navigation rules).

      But when an maven update project configuration is launch, the plugin writes <wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/> always before  <wb-resource deploy-path="/" source-path="/src/main/webapp"/>.

       

      Is it a bug of Jboss Tools or of the Editor?

       

      Thanks,

       

      Yoel