My final goal with this is to have a product FindScreen where the user can select (after a standard search) multiple products and issue at least one of the following commands of the selected items: - Add to category - Remove from category - Set the product image (the same image for all the selected products)
I say this in case someone has already done something similar and intends to share. Thank you, Bruno 2008/7/25 Bruno Busco <[EMAIL PROTECTED]>: > uhm... > thank you for this hint, I will try it, it is still one of my high priority > open point. > -Bruno > > 2008/7/25 Mridul Pathak <[EMAIL PROTECTED]>: > > May be the controller entry has event of type "service" instead of >> "service-multi". >> >> -- >> Thanks & Regards, >> >> Mridul Pathak >> Senior Manager >> Enterprise Software Development >> HotWax Media, Inc. >> http://www.hotwaxmedia.com >> [EMAIL PROTECTED] >> ------------------------------------------- >> Office : +91 - 509.855.4113 >> Mobile : +91 - 942.592.6892 >> >> >> >> >> >> >> On Jul 18, 2008, at 7:01 PM, Bruno Busco wrote: >> >> Unfortunately It is still not working... sorry to bother... I will better >>> scan OFBiz for similar patterns. >>> Thank you, >>> -Bruno >>> >>> 2008/7/18 Chris Howe <[EMAIL PROTECTED]>: >>> >>> Sorry, didn't notice that you had the attributes attached to the wrong >>>> element. Value is not a valid attribute of the <field> element. It >>>> should >>>> instead be an attribute of the <hidden> element. Should be... >>>> <field name="productCategoryId"><hidden value="yyyyy"/></field> >>>> <field name="fromDate"><hidden value="${nowTimestamp}"/></field> >>>> >>>> Bruno Busco <[EMAIL PROTECTED]> wrote: As suggested I tryed this (I >>>> hope I understood what you meant) but I get >>>> always the same message. >>>> Thank you for supporting me. >>>> -Bruno >>>> >>>> >>>> target="addProductToCategory" title="" type="multi" >>>> paginate-target="FindProduct" >>>> odd-row-style="alternate-row" header-row-style="header-row" >>>> default-table-style="basic-table hover-bar"> >>>> >>>> >>>> result-map-list-name="listIt"> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> title="${uiLabelMap.CommonSelect}"> >>>> >>>> also-hidden="true"> >>>> >>>> target="EditProduct?productId=${productId}"/> >>>> >>>> >>>> >>>> >>>> widget-style="smallSubmit"> >>>> >>>> >>>> >>>> area-target="FindProductSearchResults"/> >>>> >>>> >>>> >>>> 2008/7/18 Chris Howe : >>>> >>>> It should be... >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> safeAddProductToCategory is the name of the context map that is created >>>>> when you invoke the service. >>>>> >>>>> Bruno Busco >>>>> >>>> wrote: Jacopo, >>>> >>>>> I added these two lines to the form: >>>>> >>>>> value="xxxxx"> >>>>> >>>>> value="yyyyy"> >>>>> but I still get the same error! :-( >>>>> >>>>> -Bruno >>>>> >>>>> 2008/7/18 Jacopo Cappellato : >>>>> >>>>> Hi Bruno, >>>>>> >>>>>> just add the required field to the form as "hidden" fields (if you >>>>>> >>>>> don't >>>> >>>>> want them to appear to the user). >>>>>> >>>>>> Jacopo >>>>>> >>>>>> >>>>>> On Jul 18, 2008, at 12:16 AM, Bruno Busco wrote: >>>>>> >>>>>> Hi devs, >>>>>> >>>>>>> sorry if I ask a basic question but I need a hint from you to move >>>>>>> forward. >>>>>>> >>>>>>> I am trying to implement a multi form to let the user to select >>>>>>> >>>>>> multiple >>>> >>>>> products and add them into a category. I have the multi form but now >>>>>>> >>>>>> when >>>>> >>>>>> I >>>>>>> select one or more products and submit I get the error: >>>>>>> >>>>>>> Errore: >>>>>>> Il seguente parametro richiesto žB mancante: [IN] >>>>>>> [safeAddProductToCategory.fromDate] >>>>>>> Il seguente parametro richiesto žB mancante: [IN] >>>>>>> [safeAddProductToCategory.productCategoryId] >>>>>>> Il seguente parametro richiesto žB mancante: [IN] >>>>>>> [safeAddProductToCategory.productId] >>>>>>> >>>>>>> (missing parameters) >>>>>>> >>>>>>> The form is this: >>>>>>> >>>>>>> ----------------------------------------- >>>>>>> >>>>>>> >>>>>>> target="addProductToCategory" title="" type="multi" >>>>>>> paginate-target="FindProduct" >>>>>>> odd-row-style="alternate-row" header-row-style="header-row" >>>>>>> default-table-style="basic-table hover-bar"> >>>>>>> >>>>>>> >>>>>>> result-map-list-name="listIt"> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> title="${uiLabelMap.CommonSelect}"> >>>>>>> >>>>>>> >>>>>>> target="EditProduct?productId=${productId}"/> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> widget-style="smallSubmit"> >>>>>>> >>>>>>> >>>>>>> >>>>>>> area-target="FindProductSearchResults"/> >>>>>>> >>>>>>> >>>>>>> ----------------------------------------- >>>>>>> Can you please indicate where am I wrong ? >>>>>>> Where/How should I set the requested fields? >>>>>>> So many thanks! >>>>>>> -Bruno >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >> >