[Zope] How to find out the full URL

2005-05-11 Thread Hong Yuan
and QUERY_STRING, and the section (#xxx) part of the url can not be found in REQUEST. Thanks for helping. Hong Yuan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] How to find out the full URL

2005-05-12 Thread Hong Yuan
context.REQUEST.URL+'/'.join(context.REQUEST.traverse_subpath). -- HONG Yuan Homemaster Trading Co., Ltd. No. 601, Bldg. 41, 288 Shuangyang Rd. (N) Shanghai 200433, P.R.C. Tel: +86 21 55056553 Fax: +86 21 55067325 E-mail: [EMAIL PROTECTED] ___ Zope maillist - Zope

[Zope] property of type 'lines' for objects on file system

2005-05-15 Thread Hong Yuan
a lines-typed property. But I can't find the thread anymore. Can anyone give me a pointer? Thansk for helping. Hong Yuan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

[Zope] restrictedTraverse([''])

2005-05-24 Thread Hong Yuan
I happened to find that obj.restrictedTraverse(['']) returns the application object, instead of the object itself. This is quite unexpected, as both obj.restrictedTraverse('') and obj.restrictedTraverse([]) returns the object itself. Is this a bug or a feature? -- HONG Yuan Homemaster

Re: [Zope] restrictedTraverse([''])

2005-05-24 Thread Hong Yuan
Thanks very much for the clarification. Lennart Regebro wrote: On 5/24/05, Hong Yuan [EMAIL PROTECTED] wrote: I happened to find that obj.restrictedTraverse(['']) returns the application object, instead of the object itself. This is quite unexpected, as both obj.restrictedTraverse

[Zope] Namespace for PythonScript

2005-05-26 Thread Hong Yuan
to easily access the name space of its calling page template? Hong Yuan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope