yoel.ben [
http://community.jboss.org/people/yoel.ben] created the discussion
"Jboss Maven Jsf Integration: Faces-config.xml Editor Problem"
To view the discussion, visit:
http://community.jboss.org/message/627277#627277
--------------------------------------------------------------
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
[
http://community.jboss.org/message/627277#627277]
Start a new discussion in JBoss Tools at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]