Re: [Zope-dev] Cool, we like the . :-)
What if an object id contains a period? --jfarr ----- Original Message ----- From: Chris Withers <chrisw@nipltd.com> To: Steve Alexander <steve@cat-box.net> Cc: <zope-dev@zope.org> Sent: Thursday, August 17, 2000 11:59 AM Subject: [Zope-dev] Cool, we like the . :-)
Steve Alexander wrote:
I can't think of a nice alternative to mean &dtml-/foo/bar/baz; "from the root, traverse as follows".
&dtml-.foo.bar.baz;
not nice, btu I can't think of anything better :(
cheers,
Chris
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Chris Withers wrote:
Jonothan Farr wrote:
What if an object id contains a period?
Yeah, Steve noticed that too :S
What about &dtml-:folder:object;
?
That would probably work, but isn't kind of ugly? Now we'd be forcing people to realize that colons can be path separators. Only Mac users know this. :-) Shane
I vote we continue the dtml tradition and go for some strange unpredictable combination of _[']'_''['] ;-) -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People ----- Original Message ----- From: "Zope" <johanc@torped.se> To: "Chris Withers" <chrisw@nipltd.com>; "Jonothan Farr" <jfarr@real.com> Cc: "zope" <zope@zope.org> Sent: Thursday, August 17, 2000 1:50 PM Subject: Re: [Zope] Re: [Zope-dev] Cool, we like the . :-)
Jonothan Farr wrote:
What if an object id contains a period? Yeah, Steve noticed that too :S What about &dtml-:folder:object;
How about &dtml-zope.foo.bar; or &dtml-app.foo.bar;
//Johan Carlsson
_______________________________________________ Zope maillist - Zope@zope.org 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 )
participants (5)
-
Andy McKay -
Chris Withers -
Jonothan Farr -
Shane Hathaway -
Zope