Re: [Zope] DTML: fetch an object by its url?

2000-10-08 Thread iap_y2fun.com

Hi, I don't know why, but
 
doesn't work in my zope installation (2.2.2)
well,
 
works.
Maybe it is because that zope want to get ready for RPC.

Iap, Singuan


- Original Message -
From: "Phil Harris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Scott Shepherd" <[EMAIL PROTECTED]>
Sent: Wednesday, August 16, 2000 3:57 PM
Subject: Re: [Zope] DTML: fetch an object by its url?


> 
>
> - Original Message -
> From: "Scott Shepherd" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 16, 2000 5:06 AM
> Subject: [Zope] DTML: fetch an object by its url?
>
>
> > In DTML is it possible to get an object using its url? Something like
> >
> > ...
> >
> > Similar to
> >
> > ...
> >
> > but what I have is the object's zserver url, not its name in the
> > current namespace.
> >
> > TIA,
> > Scott
> >
> > ___
> > Zope maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
>
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] DTML: fetch an object by its url?

2000-08-16 Thread R. David Murray

On Wed, 16 Aug 2000, Chris Withers wrote:
> Shame no-one implemented this into the entity syntax :(
> 
> &dtml-/some/folder/and/path/wotsit; would be so nice ;-)

Ooo, that's seriously *ugly* looking syntax .

--RDM


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] DTML: fetch an object by its url?

2000-08-16 Thread Phil Harris

Acquisition

- Original Message - 
From: "Peter Bengtsson" <[EMAIL PROTECTED]>
To: "Phil Harris" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, August 16, 2000 10:03 AM
Subject: Re: [Zope] DTML: fetch an object by its url?


> 
> What's the difference between:
>  (for current folder)
> or  (for current object)
> 
> and
> 
> 
> > 
> ??
> 
> 
> > 
> > - Original Message - 
> > From: "Scott Shepherd" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, August 16, 2000 5:06 AM
> > Subject: [Zope] DTML: fetch an object by its url?
> > 
> > 
> > > In DTML is it possible to get an object using its url? Something like
> > > 
> > > ...
> > > 
> > > Similar to
> > > 
> > > ...
> > > 
> > > but what I have is the object's zserver url, not its name in the 
> > > current namespace.
> > > 
> > > TIA,
> > > Scott
> > > 
> > > ___
> > > Zope maillist  -  [EMAIL PROTECTED]
> > > http://lists.zope.org/mailman/listinfo/zope
> > > **   No cross posts or HTML encoding!  **
> > > (Related lists - 
> > >  http://lists.zope.org/mailman/listinfo/zope-announce
> > >  http://lists.zope.org/mailman/listinfo/zope-dev )
> > 
> > 
> > ___
> > Zope maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists - 
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> > 
> 
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] DTML: fetch an object by its url?

2000-08-16 Thread Peter Bengtsson


What's the difference between:
 (for current folder)
or  (for current object)

and


> 
??


> 
> - Original Message - 
> From: "Scott Shepherd" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 16, 2000 5:06 AM
> Subject: [Zope] DTML: fetch an object by its url?
> 
> 
> > In DTML is it possible to get an object using its url? Something like
> > 
> > ...
> > 
> > Similar to
> > 
> > ...
> > 
> > but what I have is the object's zserver url, not its name in the 
> > current namespace.
> > 
> > TIA,
> > Scott
> > 
> > ___
> > Zope maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists - 
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> 
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] DTML: fetch an object by its url?

2000-08-16 Thread Chris Withers

Phil Harris wrote:
> 
> 
> 

Shame no-one implemented this into the entity syntax :(

&dtml-/some/folder/and/path/wotsit; would be so nice ;-)

cheers,

Chris

PS: I wonder if that'd make a good little dev.zope.org project?

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] DTML: fetch an object by its url?

2000-08-16 Thread Phil Harris



- Original Message - 
From: "Scott Shepherd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 16, 2000 5:06 AM
Subject: [Zope] DTML: fetch an object by its url?


> In DTML is it possible to get an object using its url? Something like
> 
> ...
> 
> Similar to
> 
> ...
> 
> but what I have is the object's zserver url, not its name in the 
> current namespace.
> 
> TIA,
> Scott
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] DTML: fetch an object by its url?

2000-08-15 Thread R. David Murray

On Wed, 16 Aug 2000, Scott Shepherd wrote:
> In DTML is it possible to get an object using its url? Something like
> 
> ...

Something like.

I asked this question a long time ago, and refound the answer by
searching the zope.nipltd.com mailing list archives using the
search terms 'resolve and url'.



I also have a vauge memory that this may be a depricated interface
and that 2.2 has some new method you should use instead.  But I couldn't
come up with a search phrase to get the right message for that one .

--RDM


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] DTML: fetch an object by its url?

2000-08-15 Thread Scott Shepherd

In DTML is it possible to get an object using its url? Something like

...

Similar to

...

but what I have is the object's zserver url, not its name in the 
current namespace.

TIA,
Scott

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )