From jira-events at lists.jboss.org Wed Sep 11 13:52:04 2013 Content-Type: multipart/mixed; boundary="===============0176036747073173274==" MIME-Version: 1.0 From: Antonio Goncalves (JIRA) To: forge-issues at lists.jboss.org Subject: [forge-issues] [JBoss JIRA] (FORGE-1191) Template title has wrong EL Date: Wed, 11 Sep 2013 13:52:03 -0400 Message-ID: In-Reply-To: JIRA.12500535.1378918986000@jira02.app.mwc.hst.phx2.redhat.com --===============0176036747073173274== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/FORGE-1191?page=3Dcom.atlassian.jira.= plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12803629#c= omment-12803629 ] = Antonio Goncalves commented on FORGE-1191: ------------------------------------------ Works perfectly ;o) Can't wait for 1.4.1 ;o) = > 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} > #{empty pageTitle ? '{#pageTitle}' : pageTitle} > {code} > This doesn't work anymore with GlassFish 4.0.1-b03 because it says the ex= pression is incorrect. Indeed, Intellij IDEA reports a bug in the expressio= n. The following works, but I'm not sure it's exactly what Forge wants to d= o : > {code} > #{empty pageTitle ? '#pageTitle' : pageTitle} > {code} > PS : I actually thought the right syntax was the following... but it's no= t (getting lost in the EL + JSF maze) > {code} > #{empty pageTitle ? '#{pageTitle}' : pageTitle} > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira --===============0176036747073173274==--