Lookups and dropdowns (moreover multiple) are 2 different things. What did you choose finally?
Jacques On Friday, November 15, 2013 8:58 AM Jen Sing Choe <[email protected]> wrote: > on top of the requirements, is that the multi-selection are not shown the > the end user. > > means, when user click on the lookup button, the list value of > productTypeId of {finishedgood,digitalgood} are passed into 'performFind' > in java > for instance, <form name="listLookupProduct" list-name="listIt" title="" > type="list" paginate-target="LookupProduct" .....> > > > there are sample from party component, using groovy script on top of the > widgets forms. > but this solution uses groovy to do the 'performFind' inside groovy file > for instance, FindLookUp.groovy > > there are two ways i am thinking > 1. using the multiple selection, and then make it as hidden field inside > the form. > 2. or change from calling service=performFind into using groovy file to do > the 'performFind' > > am i going the right direction > > > > On Thu, Nov 14, 2013 at 9:18 PM, Jacques Le Roux < > [email protected]> wrote: > >> 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 < >> [email protected]> 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 <[email protected] >>> 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.
