You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Phillip Rhodes <sp...@rhoderunner.com> on 2007/10/02 04:04:57 UTC
Re: Error with custsettings.ftl on "Checkout Without Login"
I finally figured out how to get around the error:
In custsettings.ftl:
Replaced:
<#if (((parameters.homeSol?)!"") == "Y")><option value="Y">${uiLabelMap.CommonY}</option></#if>
<#if (((parameters.homeSol?)!"") == "N")><option value="N">${uiLabelMap.CommonN}</option></#if>
With
<#if ((parameters.homeSol)!"" == "Y")><option value="test">${uiLabelMap.CommonY}</option></#if>
<#if ((parameters.homeSol)!"" == "N")><option value="N">${uiLabelMap.CommonN}</option></#if>
My ofbiz was using freemarker-2.3.8.jar
It's wierd that noone else reported this has a problem.
Phillip
----- Original Message -----
From: "Jacques Le Roux" <ja...@les7arts.com>
To: user@ofbiz.apache.org
Sent: Saturday, September 29, 2007 4:54:08 PM (GMT-0500) America/New_York
Subject: Re: Error with custsettings.ftl on "Checkout Without Login"
Did you solve this issue ? Have you customised this file or some others related ?
Jacques
PS : I have no problems either
De : "Phillip Rhodes" <sp...@rhoderunner.com>
> On the checkout, under the "Checkout Without Login", clicking the checkout button, I get an error. Full text of error is below.
I tried refreshing custsettings.ftl from svn, but there were no updates. No error occurs when I do the same thing on
http://demo.hotwaxmedia.com/ecommerce/control/main
>
> The url on the browser when I get the error is "/ecommerce/control/setCustomer"
>
> org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/OrderScreens.xml#custsettings]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/OrderScreens.xml#anonymousCheckoutDecorator]: org.ofbiz.base.util.GeneralException: Error rendering
screen [component://ecommerce/widget/CommonScreens.xml#main-decorator]: java.lang.RuntimeException: Error rendering included
template at location [component://ecommerce/webapp/ecommerce/order/custsettings.ftl]: freemarker.core.ParseException: Encountered
")" at line 87, column 48.
> Was expecting:
> ...
>
> I tried counting/matching parenthesis to no avail.
>
>
> Appreciate any help.
> Phillip
>