[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (JBIDE-9282) Default behavior for EL expresions incorrect

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Thu Jun 30 08:30:23 EDT 2011


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

Yahor Radtsevich edited comment on JBIDE-9282 at 6/30/11 8:28 AM:
------------------------------------------------------------------

Here is an example how VPE renders a page with messages from a {{properties}}-file and a bean together.
!greeting-screenshot.png|thumbnail!
Now it is rendered as
{noformat}Hello #{user.name}!{noformat}


But you propose to render it as
{noformat}Hello !{noformat} 
or
{noformat}#{msgs.greeting} #{user.name}!{noformat} 

Both cases are worse, IMO.

      was (Author: yradtsevich):
    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