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/11/19 19:59:38 UTC

[jira] Updated: (OFBIZ-400) Allow ShoppingCartHelper.addToCart to be called from simple-method

     [ http://issues.apache.org/jira/browse/OFBIZ-400?page=all ]

Chris Howe updated OFBIZ-400:
-----------------------------

    Attachment: CachedClassLoader.patch

CachedClassLoader.patch

adds the class objects for the representations of the primitive types to CachedClassLoader (not including void)

This adds the functionality of primitive types to minilang since it checks the CachedClassLoader first.  This approach may need to be added elsewhere as things may not check the the CachedClassLoader first.

> Allow ShoppingCartHelper.addToCart to be called from simple-method
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-400
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-400
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>            Reporter: Chris Howe
>            Priority: Minor
>         Attachments: CachedClassLoader.patch, ShoppingCartHelper.patch
>
>
> To my knowledge a primitive type double cannot be sent from <call-object-method> in minilang.  So to allow ShoppingCartHelper.addToCart to be usable from minilang there are three possible solutions.
> 1)Change minilang to pass primitive type double (if there is a way to do this already, disregard this issue)
> 2)Change addToCart to accept Double quantity instead of double quantity
> 3)Create additional method that accepts Double quantity and then passes that to the current addToCart with a quantity.doubleValue()

-- 
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

        

I translated the "OFBiz Basic Production Setup Guide" into Chinese

Posted by Shi Yusen <sh...@langhua.cn>.
Hi there,

I just translated the "OFBiz Basic Production Setup Guide" into Chinese.
I hope Chinese people here who experienced in OFBiz can review my
translation and figure out any mistakes in it. You can view it from:
http://opencms-ofbiz.cvs.sourceforge.net/*checkout*/opencms-ofbiz/OFBiz-zh/docs/manual/OFBiz-manual-zh.pdf?revision=1.1

TIA,

Shi Yusen/Beijing Langhua Ltd.