ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacques Le Roux <jacques.le.r...@les7arts.com>
Subject Re: widget form - searching criteria accept List parameters
Date Thu, 14 Nov 2013 13:18:11 GMT
Though multiple drop-down have some drawbacks. So you could be interested by 
https://demo-trunk.ofbiz.apache.org/example/control/FormWidgetExamples#DropDownMultipleFieldExampleForm_multipleDropDownFields_title
Look for the code which generate that using setMultipleSelectJs.ftl into FormWidgetExampleScreens.xml
below comment:
<!-- asmslect parameters, must be prefixed by asm_ for setMultipleSelectJs.ftl -->

Jacques

On Thursday, November 14, 2013 1:12 PM Rishi Solanki <rishisolankii@gmail.com> wrote:
> Please look at the FindExamples of ExampleForms.xml. Changing the
> <drop-down allow-empty="true" current-description=""> to <drop-down
> allow-empty="true" current-description="" allow-multiple="true"> should
> work for you.
> 
> There are few places where allow-multiple="true" is used to allow multiple
> selections. Same applies for the check boxes used.
> 
> HTH!
> 
> 
> Rishi Solanki
> Manager, Enterprise Software Development
> HotWax Media Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxmedia.com
> 
> 
> On Thu, Nov 14, 2013 at 5:03 PM, Jen Sing Choe <jensing.choe@b2b.com.my>wrote:
> 
>> hi
>> 
>> from the http://ofbiz.apache.org/dtds/widget-form.xsd
>> 
>> <xs:attribute name="default-option">
>> 
>> want to find out why there is no option for "IN" ?
>> 
>> because, i have a requirement where by, searching criteria with a IN list.
>> for instance, search all product with productType = Finished Good and
>> Digital Good
>> 
>> does ofbiz have any multi-selection option box ?
>> 
>> thank you
>> 
>> --
>> Disclaimer : This E-mail is intended only for the use of the individual or
>> entity named above and may contain information that is confidential. If you
>> are not the intended recipients, please immediately notify us by return
>> email and delete it from your system. Any unauthorised dissemination,
>> distribution or copying of this email is strictly prohibited. Thank You.

Mime
View raw message