[jira] Created: (OFBIZ-67) header.ftl variable not defined

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-67) header.ftl variable not defined

Nicolas Malin (Jira)
header.ftl variable not defined
-------------------------------

         Key: OFBIZ-67
         URL: http://issues.apache.org/jira/browse/OFBIZ-67
     Project: The Open For Business Project
        Type: Bug

  Components: ecommerce  
    Reporter: Chris Howe


component://ecommerce/webapp/ecommerce/includes/header.ftl line 37

change:
${layoutSettings.extraHead?if_exists}
to:
    ${layoutSettings?if_exists.extraHead?if_exists}

?if_exists only pertains to the specific node that it is appended.  The first one is assuming that layoutSettings exists but extraHead may not.  The second one makes no assumption about the existance of layoutSettings or extraHead

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-67) header.ftl variable not defined

Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-67?page=all ]

Jacopo Cappellato closed OFBIZ-67.
----------------------------------

    Resolution: Fixed

Thanks Chris,

this is now in rev. 424532



> header.ftl variable not defined
> -------------------------------
>
>                 Key: OFBIZ-67
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-67
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: ecommerce
>            Reporter: Chris Howe
>
> component://ecommerce/webapp/ecommerce/includes/header.ftl line 37
> change:
> ${layoutSettings.extraHead?if_exists}
> to:
>     ${layoutSettings?if_exists.extraHead?if_exists}
> ?if_exists only pertains to the specific node that it is appended.  The first one is assuming that layoutSettings exists but extraHead may not.  The second one makes no assumption about the existance of layoutSettings or extraHead

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira