[
https://jira.jboss.org/jira/browse/JBIDE-1410?page=com.atlassian.jira.plu...
]
Vlado Pakan reopened JBIDE-1410:
--------------------------------
VPE Editor doesn't render this tag properly <img
src="#{facesContext.externalContext.requestContextPath}/images/sample.gif"/>
When this tag is added to inputUserName.jsp page from JSF KickStartProject referenced
image is not displayed in VPE page preview but when deployed on server HTML page is
displayed properly.
Tested on JBDS 3.0.0.v201002241510M-H184-CR2.jar
el resolution in visual editor
------------------------------
Key: JBIDE-1410
URL:
https://jira.jboss.org/jira/browse/JBIDE-1410
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Affects Versions: 2.0.0.CR1
Environment: seam2.0
eclipse 3.3.1.1
Reporter: Menashe
Assignee: Sergey Vasilyev
Priority: Critical
Fix For: 2.1.0.beta1
When el is used (as image/css source) the visual editor doesn't resolve it.
Here is what I mean (this is part of my template therefor it must be full path, since if
it left as relative path it gets resolved based on the path of the page that is using the
template and not of the actual template location.)
<img
src="#{facesContext.externalContext.requestContextPath}/images/header.gif"/>
Visual editor should be able to figure out that
#{facesContext.externalContext.requestContextPath} should be just dropped.
Since
<img src="/images/header.gif"/>
works fine in visual editor but not in the seam2 (unless contextpath is '/')
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira