Re: Actions for Collections
"Hannes Wallnoefer" <[email protected]>
| Newsgroups | gmane.comp.java.helma.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Maksim, I think the original reason not to support prototypes for collections is that then, the collection would logically be defined in the collection prototype's type.properties file rather than in the prototype holding the collection. Plus, why don't you simply use a mountpoint if you need to define actions on it? Is there anything a collection can do that a mountpoint can't? hannes 2007/4/23, Maksim Lin for technical support mailling lists <[email protected]>: > Oops patch attahced this time. > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Maksim Lin > > for technical support mailling lists > > Sent: Monday, 23 April 2007 18:39 > > To: Helma User Mailing List > > Subject: [Helma-user] Actions for Collections > > > > Hi all, > > > > I'm hoping to raise again an issue I emailed back in june > > last year (as its really starting to bother me again). > > It would be really nice to let actions be defined on > > collections as well as on mountpoints for both consistency as > > well as convience 9since you often want/need to use a > > collection rather then a mountpoint) > > > > I have been looking at the code again in Relation.js and > > still cannot see any reason why this cannot be done as > > collections (like mountpoints) are always specified for only > > 1 Prototype so being able to have actions called on > > collections are after all HopObjects too. > > > > >From my experiments all it takes is the attched patch. > > > > Hannes this makes a lot of nice generic code possible so I'd > > really like this to go into helma or at least really > > appreciate feedback on why its not a good idea. > > > > Thanks, > > Maks. > > _______________________________________________ > > Helma-user mailing list > > [email protected] > > http://helma.org/mailman/listinfo/helma-user > > > > > > > > > _______________________________________________ > Helma-user mailing list > [email protected] > http://helma.org/mailman/listinfo/helma-user > > >