[
https://jira.jboss.org/jira/browse/JBIDE-2668?page=com.atlassian.jira.plu...
]
Max Rydahl Andersen commented on JBIDE-2668:
--------------------------------------------
btw. replacing ${photos} with the defined value (in my case /img) made the picture show up
so the EL is definitly not being resolved.
EL replacement is not resolving correctly in all locations
----------------------------------------------------------
Key: JBIDE-2668
URL:
https://jira.jboss.org/jira/browse/JBIDE-2668
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 3.0.0.alpha
Reporter: Max Rydahl Andersen
Priority: Critical
Fix For: 3.0.0.beta1
Attachments: badelinvpe.png
Try this:
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.com/products/seam/taglib">
<div class="footer">
Example of having EL resolved in Visual Page Editor.<br/>
The project name is "#{projectName}"<br/>
Here is a image referenced via EL: <h:graphicImage
value="${photos}/dogview.png"/>
</div>
</ui:composition>
configure #{projectName} and #{photos} so the above references can be resolved.
The less relevant string to solve (in the text) gets resolved, but the h:graphicImage or
any other way of inserting an image seem to have EL replacement in effect.
Furthermore the text replacemtn seem to make the visual editing incorrect - cursor
locations are not adjusted correctly.
--
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