You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Wickersheimer Jeremy (JIRA)" <ji...@apache.org> on 2007/07/05 05:24:05 UTC

[jira] Commented: (OFBIZ-1124) Replace Order List BSH/FTLs with forms.

    [ https://issues.apache.org/jira/browse/OFBIZ-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510268 ] 

Wickersheimer Jeremy commented on OFBIZ-1124:
---------------------------------------------

By replacing the drop-down with checkboxes (<check>..</check>) i have the same layout as the original form.

But i think there is a bug with those checkboxes, when i check more than one box for a field:
[  ServiceDispatcher.java:388:DEBUG] [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'order / prepareFind'

This is due to an exception being thrown in FindServices.java in the createCondition method. And i think it is due to:

fieldValue = (String) subMap2.get("value");

Because in this case "value" is a list, for example 
{orderTypeId={fld0={value=[PURCHASE_ORDER, SALES_ORDER]}}}
So it cannot cast to a String.

Is it a bug ?


> Replace Order List BSH/FTLs with forms.
> ---------------------------------------
>
>                 Key: OFBIZ-1124
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1124
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Wickersheimer Jeremy
>         Attachments: ofbiz-1124.patch
>
>
> I am currently working on the "Order List" page and trying to remove the somehow complicated logic which currently uses BSH, FTL, and Java classes to find and filter.
> For now i managed to partially rewrite them. Just in case anyone has suggestion or is interested i will post the work in progress.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.