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
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
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
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
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
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