[Zope-CMF] Re: Serious problem with type actions
Tres Seaver
tseaver@zope.com
29 Apr 2003 12:51:31 -0400
On Tue, 2003-04-29 at 11:09, Ronan Amicel wrote:
> Tres Seaver wrote:
> >
> > I think that 'getActionById' should continue to return relative URLs,
> > and that we should update the skins which render the action to prepend
> > the object URL; anything else is too painful. In the next release
> > (once people have had a chance to adjust custom skins to take advantage
> > of the APB), we can reconsider.
>
> Hello,
>
> The skins have no way to know if the action they get from
> portal_actions comes from type actions or not, as listFilteredActions
> mixes actions from all sources. So how to do that ?
Write a python script which filters them, looking for '/', for instance.
Tres.
--
===============================================================
Tres Seaver tseaver@zope.com
Zope Corporation "Zope Dealers" http://www.zope.com