Max Rydahl Andersen [
http://community.jboss.org/people/maxandersen] created the
discussion
"Re: Visual Editor: Template file is not found"
To view the discussion, visit:
http://community.jboss.org/message/599061#599061
--------------------------------------------------------------
VPE resolves the relative path templates/template.xhtml without any problems since it is
relative to the current file.
/templates/template.xhtml is on the other hand absolute and thus it needs to know the root
of your webapp to resolve it.
A couple of ways to do that:
1) Edit VPE page settings for the xhtml to set the root webcontent.
or
2) Right click project and click Configure > Enable JSF which will setup WTP on the
project
or
3) install Jboss tools maven integration and Maven > Update Project Configuration and
it shuold be enabled on its own.
#3 is probably your best option here since you are using Maven.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/599061#599061]
Start a new discussion in JBoss Tools at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]