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/04 10:19:05 UTC

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

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


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.


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

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-1124:
--------------------------------------

    Assignee: Jacques Le Roux

> 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
>            Assignee: Jacques Le Roux
>         Attachments: ofbiz-1124.patch, 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.


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

Posted by "Wickersheimer Jeremy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wickersheimer Jeremy updated OFBIZ-1124:
----------------------------------------

    Attachment: ofbiz-1124.patch

This is the screen + form that use check boxes like in the original FTL version.

Note in case you wonder i defined a custom type to have the checkbox displayed in a row instead of like it is there but i won't join the cs patch.

You will see that if you select more than one value for status, the performFind will crash.
Moreover, the HtmlFormRenderer doesn't check the boxes correctly unless there is one value for the field too.

I will open another issue for these framework issues.

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


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

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


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

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-1124.
----------------------------------

       Resolution: Incomplete
    Fix Version/s: SVN trunk

> 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
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: ofbiz-1124.patch, 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.


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

Posted by "Wickersheimer Jeremy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wickersheimer Jeremy updated OFBIZ-1124:
----------------------------------------

    Attachment: ofbiz-1124.patch

Here my the current progress the finder and doesn't have all the functionalities yet.

- there is no more "filter"
- multiple check boxes have been replaced by a combobox, so no OR conditions for now .. anyone know how to do that ?

- the list doesn't have tracking code yet



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