[
https://jira.jboss.org/jira/browse/JBIDE-5985?page=com.atlassian.jira.plu...
]
Maxim Areshkau commented on JBIDE-5985:
---------------------------------------
This case not working only for img src="" tag, but it working fine for
h:graphicImage for example. Yes, it should be calculated by default. I am going to deal
with it.
VPE Editor doesn't evaluate variable
facesContext.externalContext.requestContextPath
------------------------------------------------------------------------------------
Key: JBIDE-5985
URL:
https://jira.jboss.org/jira/browse/JBIDE-5985
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.1.0.CR2
Environment: jbdevstudio-eap-linux-gtk-3.0.0.v201002241510M-H184-CR2
Java Sun JDK 1.6
Reporter: Vlado Pakan
Assignee: Maxim Areshkau
Fix For: 3.1.1, 3.2.next
Variable facesContext.externalContext.requestContextPath is not evaluated within VPE
editor and therefore resource referenced via this variable is not displayed in VPE Editor
preview.
Test case:
1. Create new KickStart JSF project
2. Put some sample.gif image to WebContent/images directory within this project
3. Insert <img
src="#{facesContext.externalContext.requestContextPath}/images/sample.gif"/>
tag to inpoutUserName.jsp page
sample.gif image is not displayed in VPE editor preview but when deployed to server web
page is displayed correctly with sample.gif image.
--
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