[Zope-CMF] Re[2]: DCWorkflow + Acqusition

2005-10-25 Thread Victor Safronovich
Hello Florent Guillaume, Monday, October 24, 2005, 7:47:43 PM, you wrote: FG They're not skipped, they're treated specially. These exceptions are the way FG for transition code to notify the caller that something happened to the FG underlying object. But what preventtoraise

[Zope-CMF] Re: DCWorkflow + Acqusition

2005-10-25 Thread Florent Guillaume
Victor Safronovich wrote: Hello Florent Guillaume, Monday, October 24, 2005, 7:47:43 PM, you wrote: FG They're not skipped, they're treated specially. These exceptions are the way FG for transition code to notify the caller that something happened to the FG underlying object. But

[Zope-CMF] Re: getActionById replacement

2005-10-25 Thread Chris Withers
yuppie wrote: getActionObject(action_path) is the method you are looking for. getActionById is defined as public, getActionObject as private, so you can't use it in any skin scripts or templates :-( Can't see why you would need that method in the skins. Okay, so how would you get the

[Zope-CMF] Re: getActionById replacement

2005-10-25 Thread Chris Withers
yuppie wrote: This is in a completely set up Plone site? Could you please try to debug those values while we are still in customizePortalTypes? Okay, in there, it's just the normal Plone types, which we don't use. And yes, their _aliases dict appears to have 'view' keys which map to the

[Zope-CMF] Re: getActionById replacement

2005-10-25 Thread yuppie
Hi Chris! Chris Withers wrote: yuppie wrote: Okay, so how would you get the url for an action from inside a skin script or template? obj.getActionInfo('object/view')['url'] for type actions or provider.getActionInfo('user/join')['url'] for other actions. Just to emphasise further, I'm

[Zope-CMF] Re: getActionById replacement

2005-10-25 Thread yuppie
Chris Withers wrote: yuppie wrote: This is in a completely set up Plone site? Could you please try to debug those values while we are still in customizePortalTypes? Okay, in there, it's just the normal Plone types, which we don't use. And yes, their _aliases dict appears to have 'view' keys