JBoss Community

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

created by yoel.ben in JBoss Tools - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community