Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1191

Template title has wrong EL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.4.1.Final
    • 1.4.0.Final
    • None
    • None

      Hi,

      The generate pageTemplate.xhtml has the following expression :

      <title>#{empty pageTitle ? '{#pageTitle}' : pageTitle}</title>
      

      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 :

      <title>#{empty pageTitle ? '#pageTitle' : pageTitle}</title>
      

      PS : I actually thought the right syntax was the following... but it's not (getting lost in the EL + JSF maze)

      <title>#{empty pageTitle ? '#{pageTitle}' : pageTitle}</title>
      

              rhn-support-ggastald George Gastaldi
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: