[
https://jira.jboss.org/jira/browse/JBIDE-5985?page=com.atlassian.jira.plu...
]
Vlado Pakan closed JBIDE-5985.
------------------------------
Verified on JBossTools-Update-3.1.0.v201004291720R-H72-GA.
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
Priority: Blocker
Fix For: 3.1.1, 3.2.next
Attachments: jbide5985.diff
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