Thank you Jacopo, I looked into the Requirements screen and I found a good example of what I was looking for. In addition I felt to do a little change to the requirements screen (patch attached to https://issues.apache.org/jira/browse/OFBIZ-1875).
-Bruno 2008/7/12 Jacopo Cappellato <[EMAIL PROTECTED]>: > just search for type="multi"... I am sure you will find a bunch of examples > of its usage (in the Requirements screens for example I am sure it is used). > > > Jacopo > > > On Jul 11, 2008, at 7:58 PM, Bruno Busco wrote: > > Jacopo, >> as far as I understood the "multi" form should do the guy who does the >> job. >> I have read that from this it is possible to run a service once on a list >> of >> items or have the service run multiple times on one item at time. >> I was looking for examples of this. >> >> >> 2008/7/11 Jacopo Cappellato <[EMAIL PROTECTED]>: >> >> Maybe there is some example around. >>> However, off the top of my head, I don't think there is full support for >>> this, but you can achieve a similar goal with some hack: >>> >>> * define a multi form >>> * add to it, for each of the actions you want to trigger, a "button" link >>> with a JavaScript action (using the form widget's action and event >>> attributes) that just changes the target of the form and submits it >>> >>> This is an hack, but it could be the first step to start to test the >>> system >>> (consider it a prototype); then we may consider what kind of enhancements >>> to >>> the widget code we will need (if there is a way to standardize this >>> concept). >>> >>> Jacopo >>> >>> >>> >>> On Jul 11, 2008, at 6:58 PM, Bruno Busco wrote: >>> >>> Looking better into OFBiz I found a functionality similar to what I was >>> >>>> looking for in this screen: >>>> https://demo.hotwaxmedia.com/ordermgr/control/searchorders >>>> >>>> here for each row in the list there is a checkbox and then there is a >>>> combo >>>> to select one action to perform on the selected items. >>>> I tryed to study it to see if a common pattern could be derived from it >>>> but >>>> I have seen that it is based on FTL only and no multi form as I was >>>> suggested. May be this is because this has been developed some time ago. >>>> Are you aware of some other parts of OfBiz where a multi form with >>>> action >>>> on >>>> selected item is? >>>> >>>> Many thanks, >>>> Bruno >>>> >>>> 2008/7/9 Anil Patel <[EMAIL PROTECTED]>: >>>> >>>> Yes. >>>> >>>>> >>>>> Regards >>>>> Anil Patel >>>>> >>>>> >>>>> On Jul 9, 2008, at 1:38 PM, Adrian Crum wrote: >>>>> >>>>> Anil, >>>>> >>>>> >>>>>> I think I found what you are talking about - >>>>>> >>>>>> http://developers.sun.com/portalserver/reference/techart/jsr168/ >>>>>> >>>>>> Is that correct? >>>>>> >>>>>> -Adrian >>>>>> >>>>>> Anil Patel wrote: >>>>>> >>>>>> I did not understand how "Apache Directory" is more appropriate. >>>>>> >>>>>>> What I mean is, There is UI behavior improvements that can be >>>>>>> implemented >>>>>>> in ofbiz. Significant chunk of it comes as part of Portal server >>>>>>> implementation. Like its will be lot nicer if we did "Party Profile" >>>>>>> type >>>>>>> page in Portal. Ofbiz Portlets "which is something similar to ofbiz >>>>>>> screenlets" be lot more Portable in enterprise. Like we will be able >>>>>>> to >>>>>>> deliver them thru any other standard compliant Portal Server. >>>>>>> Regards >>>>>>> Anil Patel >>>>>>> On Jul 8, 2008, at 1:07 PM, Adrian Crum wrote: >>>>>>> >>>>>>> An interesting idea, but it looks like it overlaps a lot of the OFBiz >>>>>>> >>>>>>>> framework. I believe Apache Directory would be be more appropriate. >>>>>>>> >>>>>>>> -Adrian >>>>>>>> >>>>>>>> Anil Patel wrote: >>>>>>>> >>>>>>>> Sometime back I discussed similar things with Andrew and Tim at that >>>>>>>> >>>>>>>>> time they suggested to instead integrate Portal server into Ofbiz >>>>>>>>> and >>>>>>>>> have >>>>>>>>> portal server manage all that. I liked it because then we are more >>>>>>>>> in >>>>>>>>> line >>>>>>>>> with industry standards. >>>>>>>>> Regards >>>>>>>>> Anil Patel >>>>>>>>> On Jul 8, 2008, at 11:31 AM, Adrian Crum wrote: >>>>>>>>> >>>>>>>>> Hans Bakker wrote: >>>>>>>>> >>>>>>>>>> >>>>>>>>>> talking about preferences feature...wouldn't it be nice if the >>>>>>>>>> >>>>>>>>>>> screenlet >>>>>>>>>>> collapse is automatically remembered per user...... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> It depends upon the screenlet. In some cases that might be >>>>>>>>>> unexpected >>>>>>>>>> behavior. In other words, users might expect a screenlet to be >>>>>>>>>> expanded >>>>>>>>>> until they collapse it. >>>>>>>>>> >>>>>>>>>> -Adrian >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>> >>> >