You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2009/01/03 12:30:10 UTC

Re: svn commit: r730962 - /ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml

Hans,

I have reverted the
    > -            <now-date-to-env field="nowTimestamp"/>
    > +            <now-timestamp field="nowTimestamp"/>
change : a java.sql.Date is not a java.sql.Timestamp

Jacques



> Author: hansbak
> Date: Sat Jan  3 02:18:50 2009
> New Revision: 730962
>
> URL: http://svn.apache.org/viewvc?rev=730962&view=rev
> Log:
> minilanguage corrections
>
> Modified:
>    ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml
>
> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml
> URL: 
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml?rev=730962&r1=730961&r2=730962&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml (original)
> +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml Sat Jan  3 02:18:50 2009
> @@ -48,7 +48,7 @@
>         <set-pk-fields value-field="newEntity" map="parameters"/>
>         <set-nonpk-fields value-field="newEntity" map="parameters"/>
>         <if-empty field="newEntity.fromDate">
> -            <now-date-to-env field="nowTimestamp"/>
> +            <now-timestamp field="nowTimestamp"/>
>             <set field="newEntity.fromDate" from-field="nowTimestamp"/>
>         </if-empty>
>         <create-value value-field="newEntity"/>
> @@ -154,7 +154,7 @@
>         <now-timestamp field="now"/>
>         <log level="always" message="Parameters: ${parameters}"/>
>
> -        <if-instance-of field-name="parameters.webSiteContentTypeId" class="String">
> +        <if-instance-of field="parameters.webSiteContentTypeId" class="String">
>             <!-- just one checked -->
>             <entity-one entity-name="WebSiteContentType" value-field="wct">
>                 <field-map field-name="webSiteContentTypeId" from-field="parameters.webSiteContentTypeId"/>
>
>