[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2667) EL variable substitution is replacing non EL

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Mon Aug 25 09:37:47 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBIDE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12426444#action_12426444 ] 

Max Rydahl Andersen commented on JBIDE-2667:
--------------------------------------------

#1) Reading that just shows me that ${} means immediate and #{} deferred evaluation. I don't see anything in an ELResolver that can override the prefixes or semantics. I only see them being able to resolve variables (excluding the #{} part)

#2) Arguing is good - i.e. I did not recall ${} was EL until you pointed me to it :) 

p.s. any plans on allowing recursive evaluation ? e.g. imageLocation=/img and photos=#{imagelocation}/photos 


> EL variable substitution is replacing non EL 
> ---------------------------------------------
>
>                 Key: JBIDE-2667
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-2667
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor
>    Affects Versions: 3.0.0.alpha
>            Reporter: Max Rydahl Andersen
>            Assignee: Eugene Stherbin
>            Priority: Critical
>             Fix For: 3.0.0.beta1
>
>
> It looks like the EL replacement is just doing pure string replacement.
> If I put in "projectName" as an EL variable I do not expect it to replace all occurcences of the string "projectName".
> I do expect it to only replace #{projectName}

-- 
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