Re: [Zope] Traversable DTML methods

2000-06-13 Thread Shalabh Chaturvedi
Shane Hathaway wrote: I downloaded TraversableMixin. Comments: 1) You used Windows path names (backslashes) in the tar file. It does not unpack cleanly on Unix variants. 2) You forgot to include TraversableDocument.py, but did include TraversableDocument.pyc. Hmm.. the

Re: [Zope] Traversable DTML methods

2000-06-12 Thread Ian Sparks
The one reason that may still exist for not making DTML Methods traversable as you're suggesting would be if you want to call a DTML Method within the acquisition context of another... something that some people may want to do (I never have though). If a DTML Method chops off everything that

Re: [Zope] Traversable DTML methods

2000-06-12 Thread Shalabh Chaturvedi
Hi all I just created a 'Traversable DTML Document' product. You can get it here: http://www.zope.org/Members/shalabh/TraversableDTMLDoc/ It is a ZClass product based on the TraversableMixin (which you'll have to install anyway) to be found here:

Re: [Zope] Traversable DTML methods

2000-06-12 Thread Shane Hathaway
Shalabh Chaturvedi wrote: I just created a 'Traversable DTML Document' product. You can get it here: http://www.zope.org/Members/shalabh/TraversableDTMLDoc/ It is a ZClass product based on the TraversableMixin (which you'll have to install anyway) to be found here:

Re: [Zope] Traversable DTML methods

2000-06-11 Thread Ian Sparks
!) and that DTML Methods should be traversable out of the box. - Ian. - Original Message - From: "Anthony Baxter" [EMAIL PROTECTED] To: "Ian Sparks" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, June 11, 2000 4:14 AM Subject: Re: [Zope] Traversable DTML methods

Re: [Zope] Traversable DTML methods

2000-06-11 Thread Kevin Dangoor
- Original Message - From: "Ian Sparks" [EMAIL PROTECTED] To: "Anthony Baxter" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, June 11, 2000 9:18 AM Subject: Re: [Zope] Traversable DTML methods Use a pythonmethod with the traverse_subpath argument... T

Re: [Zope] Traversable DTML methods

2000-06-11 Thread Dieter Maurer
Ian Sparks writes: It seems strange to me that SQLMethods are traversable out of the box and "normal" DTML methods are not. It seems to me that traversable DTML methods would be useful (to me this means DTML Methods with parameters). Your DTML Methods have (keyword) parameters. From

Re: [Zope] Traversable DTML methods

2000-06-11 Thread Ian Sparks
r Maurer" [EMAIL PROTECTED] To: "Ian Sparks" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, June 11, 2000 7:03 PM Subject: Re: [Zope] Traversable DTML methods Ian Sparks writes: It seems strange to me that SQLMethods are traversable out of the box and "normal" DTM

Re: [Zope] Traversable DTML methods

2000-06-11 Thread Kevin Dangoor
- Original Message - From: "Ian Sparks" [EMAIL PROTECTED] To: "Dieter Maurer" [EMAIL PROTECTED]; "Kevin Dangoor" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, June 11, 2000 6:05 PM Subject: Re: [Zope] Traversable DTML methods Dieter is right, D

[Zope] Traversable DTML methods

2000-06-10 Thread Ian Sparks
It seems strange to me that SQLMethods are traversable out of the box and "normal" DTML methods are not. It seems to me that traversable DTML methods would be useful (to me this means DTML Methods with parameters). Is this something that might make it into Zope in the future or am I missing

Re: [Zope] Traversable DTML methods

2000-06-10 Thread Anthony Baxter
Use a pythonmethod with the traverse_subpath argument... Anthony "Ian Sparks" wrote It seems strange to me that SQLMethods are traversable out of the box and "normal" DTML methods are not. It seems to me that traversable DTML methods would be useful (to me this means DTML Methods with