[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-2668) EL replacement is not resolving correctly in all locations

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Tue Aug 19 19:27:22 EDT 2008


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


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

        



More information about the jbosstools-issues mailing list