You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Chris Howe (JIRA)" <ji...@apache.org> on 2006/06/29 21:09:29 UTC

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

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


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

Posted by "Jacopo Cappellato (JIRA)" <ji...@apache.org>.
     [ 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