[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2667) EL variable substitution is replacing non EL
Max Rydahl Andersen (JIRA)
jira-events at lists.jboss.org
Fri Aug 22 11:31:02 EDT 2008
[ https://jira.jboss.org/jira/browse/JBIDE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12426226#action_12426226 ]
Max Rydahl Andersen commented on JBIDE-2667:
--------------------------------------------
Why would you *ever* want that behavior ?
That forces you to basically do parse *all* strings for replacement. Massive performance hog and very weak semantics of what gets replaced.
Users should enter 'projectName' in the UI and then dependent on the context we replace #{projectName} or ${projectName} (when is ${} btw. used in xhtml?)
> 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