[forge-issues] [JBoss JIRA] (FORGE-1191) Template title has wrong EL

George Gastaldi (JIRA) jira-events at lists.jboss.org
Wed Sep 11 13:09:03 EDT 2013


     [ https://issues.jboss.org/browse/FORGE-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi closed FORGE-1191.
----------------------------------

         Assignee: George Gastaldi
    Fix Version/s: 1.4.1.Final
       Resolution: Done


Changed to 
{code}
<title>#{empty pageTitle ? 'Page Title' : pageTitle}</title>
{code}
                
> Template title has wrong EL
> ---------------------------
>
>                 Key: FORGE-1191
>                 URL: https://issues.jboss.org/browse/FORGE-1191
>             Project: Forge
>          Issue Type: Bug
>    Affects Versions: 1.4.0.Final
>            Reporter: Antonio Goncalves
>            Assignee: George Gastaldi
>             Fix For: 1.4.1.Final
>
>
> Hi,
> The generate {{pageTemplate.xhtml}} has the following expression :
> {code}
> <title>#{empty pageTitle ? '{#pageTitle}' : pageTitle}</title>
> {code}
> This doesn't work anymore with GlassFish 4.0.1-b03 because it says the expression is incorrect. Indeed, Intellij IDEA reports a bug in the expression. The following works, but I'm not sure it's exactly what Forge wants to do :
> {code}
> <title>#{empty pageTitle ? '#pageTitle' : pageTitle}</title>
> {code}
> PS : I actually thought the right syntax was the following... but it's not (getting lost in the EL + JSF maze)
> {code}
> <title>#{empty pageTitle ? '#{pageTitle}' : pageTitle}</title>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list