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 2015/06/04 18:20:28 UTC
Re: svn commit: r1683578 -
/ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
I'd like to extend the use of asmselect (jQuery plugin) inside of the widget. I will create a Jira for that
Jacques
Le 04/06/2015 17:37, ccarlow@apache.org a écrit :
> Author: ccarlow
> Date: Thu Jun 4 15:37:34 2015
> New Revision: 1683578
>
> URL: http://svn.apache.org/r1683578
> Log:
> All <dropdown> fields at order/widget/ordermgr/CustRequestForms.xml#FindRequests were updated with allow-multiple="true" to enable multi-value searches
>
> https://issues.apache.org/jira/browse/OFBIZ-6315
>
>
> Modified:
> ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
>
> Modified: ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml?rev=1683578&r1=1683577&r2=1683578&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml (original)
> +++ ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml Thu Jun 4 15:37:34 2015
> @@ -24,12 +24,12 @@ under the License.
> header-row-style="header-row" default-table-style="basic-table">
> <auto-fields-entity entity-name="CustRequest" default-field-type="find"/>
> <field name="custRequestTypeId" position="2">
> - <drop-down allow-empty="true">
> + <drop-down allow-empty="true" allow-multiple="true">
> <entity-options description="${description}" entity-name="CustRequestType" key-field-name="custRequestTypeId"/>
> </drop-down>
> </field>
> <field name="statusId">
> - <drop-down allow-empty="true">
> + <drop-down allow-empty="true" allow-multiple="true">
> <entity-options entity-name="StatusItem" description="${description}">
> <entity-constraint name="statusTypeId" operator="equals" value="CUSTREQ_STTS"/>
> <entity-order-by field-name="sequenceId"/>
> @@ -37,7 +37,7 @@ under the License.
> </drop-down>
> </field>
> <field name="salesChannelEnumId" title="${uiLabelMap.OrderSalesChannel}" position="2">
> - <drop-down allow-empty="true">
> + <drop-down allow-empty="true" allow-multiple="true">
> <entity-options entity-name="Enumeration" description="${description}" key-field-name="enumId">
> <entity-constraint name="enumTypeId" value="ORDER_SALES_CHANNEL"/>
> <entity-order-by field-name="sequenceId"/>
> @@ -58,7 +58,7 @@ under the License.
> <field name="closedDateTime" position="2"><date-find/></field>
> <field name="responseRequiredDate" position="2"><date-find/></field>
> <field name="productStoreId" title="${uiLabelMap.ProductProductStore}">
> - <drop-down allow-empty="true">
> + <drop-down allow-empty="true" allow-multiple="true">
> <entity-options description="${storeName}" entity-name="ProductStore" key-field-name="productStoreId">
> <entity-order-by field-name="storeName"/>
> </entity-options>
>
>
>
Re: svn commit: r1683578 -
/ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
Posted by Christian Carlow <ch...@gmail.com>.
Thanks for review Jacques. I'm not opposed to replacing multi-selects
with asmselect. Your proposal also helped me determine that OFBIZ-6427
sort/group enhancements are still supported for asmselect dropdown find
types (though not until I submit an updated patch supporting dropdowns).
amselects pose even more UI styling challenges for integration of
OFBIZ-6427 which is still in development.
On Thu, 2015-06-04 at 18:29 +0200, Jacques Le Roux wrote:
> Mmm wait, I did not do so so far because it implies to replace the (awfull) OOTB/HTML multiple select by this jQuery plugin.
> So before I even create the Jira I'd like others opinions
>
> There is an example of the use of asmselect (jQuery plugin) at
> http://demo-trunk-ofbiz.apache.org/example/control/main#DropDownMultipleFieldExampleForm (you need to be login in Example before to get to the anchor)
>
> Thanks
>
> Jacques
>
> Le 04/06/2015 18:20, Jacques Le Roux a écrit :
> > I'd like to extend the use of asmselect (jQuery plugin) inside of the widget. I will create a Jira for that
> >
> > Jacques
> >
> > Le 04/06/2015 17:37, ccarlow@apache.org a écrit :
> >> Author: ccarlow
> >> Date: Thu Jun 4 15:37:34 2015
> >> New Revision: 1683578
> >>
> >> URL: http://svn.apache.org/r1683578
> >> Log:
> >> All <dropdown> fields at order/widget/ordermgr/CustRequestForms.xml#FindRequests were updated with allow-multiple="true" to enable multi-value
> >> searches
> >>
> >> https://issues.apache.org/jira/browse/OFBIZ-6315
> >>
> >>
> >> Modified:
> >> ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
> >>
> >> Modified: ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
> >> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml?rev=1683578&r1=1683577&r2=1683578&view=diff
> >> ==============================================================================
> >> --- ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml (original)
> >> +++ ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml Thu Jun 4 15:37:34 2015
> >> @@ -24,12 +24,12 @@ under the License.
> >> header-row-style="header-row" default-table-style="basic-table">
> >> <auto-fields-entity entity-name="CustRequest" default-field-type="find"/>
> >> <field name="custRequestTypeId" position="2">
> >> - <drop-down allow-empty="true">
> >> + <drop-down allow-empty="true" allow-multiple="true">
> >> <entity-options description="${description}" entity-name="CustRequestType" key-field-name="custRequestTypeId"/>
> >> </drop-down>
> >> </field>
> >> <field name="statusId">
> >> - <drop-down allow-empty="true">
> >> + <drop-down allow-empty="true" allow-multiple="true">
> >> <entity-options entity-name="StatusItem" description="${description}">
> >> <entity-constraint name="statusTypeId" operator="equals" value="CUSTREQ_STTS"/>
> >> <entity-order-by field-name="sequenceId"/>
> >> @@ -37,7 +37,7 @@ under the License.
> >> </drop-down>
> >> </field>
> >> <field name="salesChannelEnumId" title="${uiLabelMap.OrderSalesChannel}" position="2">
> >> - <drop-down allow-empty="true">
> >> + <drop-down allow-empty="true" allow-multiple="true">
> >> <entity-options entity-name="Enumeration" description="${description}" key-field-name="enumId">
> >> <entity-constraint name="enumTypeId" value="ORDER_SALES_CHANNEL"/>
> >> <entity-order-by field-name="sequenceId"/>
> >> @@ -58,7 +58,7 @@ under the License.
> >> <field name="closedDateTime" position="2"><date-find/></field>
> >> <field name="responseRequiredDate" position="2"><date-find/></field>
> >> <field name="productStoreId" title="${uiLabelMap.ProductProductStore}">
> >> - <drop-down allow-empty="true">
> >> + <drop-down allow-empty="true" allow-multiple="true">
> >> <entity-options description="${storeName}" entity-name="ProductStore" key-field-name="productStoreId">
> >> <entity-order-by field-name="storeName"/>
> >> </entity-options>
> >>
> >>
> >>
> >
Re: svn commit: r1683578 -
/ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
Posted by Jacques Le Roux <ja...@les7arts.com>.
Mmm wait, I did not do so so far because it implies to replace the (awfull) OOTB/HTML multiple select by this jQuery plugin.
So before I even create the Jira I'd like others opinions
There is an example of the use of asmselect (jQuery plugin) at
http://demo-trunk-ofbiz.apache.org/example/control/main#DropDownMultipleFieldExampleForm (you need to be login in Example before to get to the anchor)
Thanks
Jacques
Le 04/06/2015 18:20, Jacques Le Roux a écrit :
> I'd like to extend the use of asmselect (jQuery plugin) inside of the widget. I will create a Jira for that
>
> Jacques
>
> Le 04/06/2015 17:37, ccarlow@apache.org a écrit :
>> Author: ccarlow
>> Date: Thu Jun 4 15:37:34 2015
>> New Revision: 1683578
>>
>> URL: http://svn.apache.org/r1683578
>> Log:
>> All <dropdown> fields at order/widget/ordermgr/CustRequestForms.xml#FindRequests were updated with allow-multiple="true" to enable multi-value
>> searches
>>
>> https://issues.apache.org/jira/browse/OFBIZ-6315
>>
>>
>> Modified:
>> ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
>>
>> Modified: ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml?rev=1683578&r1=1683577&r2=1683578&view=diff
>> ==============================================================================
>> --- ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml (original)
>> +++ ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml Thu Jun 4 15:37:34 2015
>> @@ -24,12 +24,12 @@ under the License.
>> header-row-style="header-row" default-table-style="basic-table">
>> <auto-fields-entity entity-name="CustRequest" default-field-type="find"/>
>> <field name="custRequestTypeId" position="2">
>> - <drop-down allow-empty="true">
>> + <drop-down allow-empty="true" allow-multiple="true">
>> <entity-options description="${description}" entity-name="CustRequestType" key-field-name="custRequestTypeId"/>
>> </drop-down>
>> </field>
>> <field name="statusId">
>> - <drop-down allow-empty="true">
>> + <drop-down allow-empty="true" allow-multiple="true">
>> <entity-options entity-name="StatusItem" description="${description}">
>> <entity-constraint name="statusTypeId" operator="equals" value="CUSTREQ_STTS"/>
>> <entity-order-by field-name="sequenceId"/>
>> @@ -37,7 +37,7 @@ under the License.
>> </drop-down>
>> </field>
>> <field name="salesChannelEnumId" title="${uiLabelMap.OrderSalesChannel}" position="2">
>> - <drop-down allow-empty="true">
>> + <drop-down allow-empty="true" allow-multiple="true">
>> <entity-options entity-name="Enumeration" description="${description}" key-field-name="enumId">
>> <entity-constraint name="enumTypeId" value="ORDER_SALES_CHANNEL"/>
>> <entity-order-by field-name="sequenceId"/>
>> @@ -58,7 +58,7 @@ under the License.
>> <field name="closedDateTime" position="2"><date-find/></field>
>> <field name="responseRequiredDate" position="2"><date-find/></field>
>> <field name="productStoreId" title="${uiLabelMap.ProductProductStore}">
>> - <drop-down allow-empty="true">
>> + <drop-down allow-empty="true" allow-multiple="true">
>> <entity-options description="${storeName}" entity-name="ProductStore" key-field-name="productStoreId">
>> <entity-order-by field-name="storeName"/>
>> </entity-options>
>>
>>
>>
>