[jboss-user] [JBoss Tools] - Re: Visual Editor: Template file is not found

Max Rydahl Andersen do-not-reply at jboss.com
Sun Apr 10 16:36:45 EDT 2011


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&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110410/eb9f87b4/attachment.html 


More information about the jboss-user mailing list