Re: how to trigger actions on Role use

2009-04-24 Thread Hans Dieter Pearcey
On Thu, Apr 23, 2009 at 03:57:32PM +0100, Mark Morgan wrote: Cheers to both yourself and Steven Little. That looks to do exactly what I was looking for. I didn't like my current implementation, but couldn't find an alternate way of doing same. A parameterized role might still be the wrong

Re: how to trigger actions on Role use

2009-04-23 Thread Hans Dieter Pearcey
On Thu, Apr 23, 2009 at 02:43:37PM +0100, Mark Morgan wrote: Based on the above, the adding of the attributes should be done for the entire class once, when the role is first used. I don't like having to wrap constructor creation to handle this, better that there should be an