Am Di, den 24.08.2004 schrieb Florent Guillaume um 17:48:
> > from Acquisition import aq_base
> > ...
> > def hasObject(self, id):
> > """Test if an object is in the current object.
> > """
> > if hasattr(aq_base(self), id):
> > return 1
> > return 0
Florent Guillaume wrote:
The way I do it is:
##parameters=foo, bar, ..., REQUEST=None
if REQUEST is not None:
raise 'Unauthorized', 'Not callable TTW'
I believe this is much better. I get "function not accessible in
restricted mode" with my own solution.
Thanks,
/dario
--
-- -
Hi,
I am very new to open source.
I am trying to start an instance of a workflow on a Zope server from another
Zope server. I did successfully with XML-RPC call but I need to do it with
SOAP. I am note sure weather I can do it or not.
I am running two Zope servers on my local m/c on 2 different
On Wed, Aug 25, 2004 at 01:52:26PM +0100, Chris Withers wrote:
> Paul Winkler wrote:
> >absolute_url
> >
> > - containment only, does not include contextual elements from the
> > client's URL, that's the whole point of this method :-)
>
> What do you mean by "contextual elements from the client
Paul Winkler wrote:
absolute_url
- containment only, does not include contextual elements from the
client's URL, that's the whole point of this method :-)
What do you mean by "contextual elements from the client's URL"
absolute_url(relative=1)
- same as absolute_url, and not usable in some