Thank you Ruth, never mind. -Bruno
2010/3/19 Ruth Hoffman <[email protected]> > Hi Bruno: > I'd be happy to share everything I've done so far: > > I wrote my own UI that unifies all my business applications such as > this. (I have a really hard time going back and forth between all > the many OFBiz webapps.) > > My UI coding standards are not of the OFBiz "way". I don't use any > of the widgets except for the Screen Widget. All of my web pages are > based on Freemarker templates. I've removed lots of the CSS "DIVs" > in favor of an easier to follow markup. I also have my own external > CSS files. > > My Java Service coding standards are not of the OFBiz "way". I don't > use simple-methods (for reasons I've already stated). I use Java. > (Since I just discovered I can use Groovy to write Services, I'm > going to start experimenting with that...but so far, I use Java > exclusively) so I am assuming that most of my work would be throw > away as far as the project is concerned. > > I wrote a number of Services to: > > Allow website visitor's to subscribe to my mailing lists without > having to register. > Add/remove list subscribers given only an email address. > For testing: add/remove ContactLists(and all the related Entities). > Add/Remove a list of contactMech "infoStrings" to a ContactList. > Initiate a mailing list event. (I did this one because I was > getting too much log file output with all the HTML validity checks > that one of the updated sendMail SECAs does. So, I had to disable > the SECA and do my own sendMail/commEvent updates.) > > I don't think any of this work is a worth sharing. There isn't anything > here that even comes close to the project's standards or "way" of doing > things. > > However, if you or anyone else out there would be interested in more > specifics, I'll put together a more detailed document, similar to the one I > wrote for adding RSS support. [You can find that on the MyOFBiz.com website > http://www.myofbiz.com/control/cms01?article=10000 . There is also a more > detailed article w/Entity information etc. included as part of the e-book > subscriber's members only site.] > > If there is a demand for something like that, then I will consider writing > it. > > Regards, > Ruth > > > > Bruno Busco wrote: > >> Thank you All for your suggestions. >> >> Ruth, >> what you describes is the closest to what I had in mind to build. >> Is there any way to share the code? >> >> In any case I think I will submit the code I will write for this since it >> seems an enough general feature. >> >> -Bruno >> >> >> 2010/3/18 Ruth Hoffman <[email protected]> >> >> >> >>> Hi Bruno: >>> Here's what I do: >>> >>> I wrote my own UI and use the existing contact list services to create >>> and >>> manage multiple mailing lists (these are contact lists) including adding >>> and >>> removing users. In addition I wrote some of my own services to handle the >>> initiation of a mailing to the contact list. Once you have the contact >>> list(s) set up, it's pretty easy to associate a mailing with them. I'm >>> getting ready to create a few services to mail reports to me (and certain >>> list recipients) automatically. I don't think that would be much >>> different >>> than your requirement to mail to a contact list based on some triggering >>> event. >>> >>> Regards, >>> Ruth >>> >>> >>> Jacques Le Roux wrote: >>> >>> >>> >>>> Hi Bruno, >>>> >>>> Like you I think that OOTB a contact list seems appropriate >>>> ESME could be used also, maybe in conjunction with contact list >>>> http://blog.esme.us/integration-with-apache-ofbiz/ >>>> There is also the mechanism Hand used to show a message in the header. >>>> But >>>> I'm not sure it can be used for brodcasting? >>>> You could also use Classifications to group people >>>> >>>> Jacques >>>> >>>> From: "Bruno Busco" <[email protected]> >>>> >>>> >>>> >>>>> Hi, >>>>> I am going to implement a notification mechanism and I would like to >>>>> konw >>>>> what is the best way to do it in OFBiz. >>>>> What I need is a way to select for each one of several "events" that >>>>> can >>>>> happen in the system, a set of users that will receive a notification >>>>> of >>>>> the >>>>> event. >>>>> An event could be an error condition detected in a service or simply a >>>>> service execution itself. >>>>> >>>>> I would like to have a screen where the admin could add users to the >>>>> groups >>>>> so that they will be notified of the events. >>>>> >>>>> How to implement this in OFBiz? >>>>> Is it already a feature like this? >>>>> >>>>> I was thinking to use the contact list for this. >>>>> There is already a way to send a communication to a contact list so the >>>>> event should create a communication to the related contact list and the >>>>> admin could include in the contact list all users he want to notify of >>>>> that >>>>> particular event. >>>>> >>>>> If this is the right solution I would like to have the contact list >>>>> moved >>>>> from the marketing component to the framework. >>>>> >>>>> Does this make sense ? >>>>> >>>>> Thank you, >>>>> Bruno >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> >> >> >
