[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-9282) Default behavior for EL expresions incorrect
Yahor Radtsevich (JIRA)
jira-events at lists.jboss.org
Thu Jun 30 08:28:23 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yahor Radtsevich updated JBIDE-9282:
------------------------------------
Attachment: greeting-screenshot.png
Here is an example how VPE renders a page with messages from a {{properties}}-file and a bean together.
!thumbnail|greeting-screenshot.png!
Now it is rendered as
{noformat}Hello #{user.name}!{noformat}
You propose to render it as
{noformat}Hello !{noformat}
or
{noformat}#{msgs.greeting} #{user.name}!{noformat}
Both cases are worse, IMO.
> Default behavior for EL expresions incorrect
> --------------------------------------------
>
> Key: JBIDE-9282
> URL: https://issues.jboss.org/browse/JBIDE-9282
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Visual Page Editor core
> Affects Versions: 3.3.0.M1
> Reporter: Maxim Areshkau
> Assignee: Yahor Radtsevich
> Priority: Optional
> Fix For: 3.3.x
>
> Attachments: browser-view.png, greeting-screenshot.png, Vpe-el-view.png
>
>
> When on page used some el expresion and doesn't provided any value for it, it just skipped by rendering engine. VPE shows that el expression as el expression.
> So the correct behavior is skip uninitialized el expressions, if 'Show bundle messages as el expression not pressed'
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list