[Zope] Writing custom tags "through the web"

ender kthangavelu@earthlink.net
Wed, 7 Feb 2001 15:06:05 -0800


On Wednesday 07 February 2001 11:52, Jonothan Farr wrote:
> The only way I know of adding custom tags is:
>
> from DocumentTemplate.DT_String import String
> String.commands['mytag']=MyTagClass
>
> (I took this example from TreeDisplay/TreeTag.py.)
>
> I don't know if you can do this with PythonMethods (or PythonScripts or
> whatever they're calling them these days).
>
> --jfarr

what i meant was

in theory one could create a through the web product which allowed 
manipulations of this variable(String.commands) to allow for creation of ttw 
dtml tags that resulted in a non persistent container class and maybe ttw 
methods that would get registered with String.commands.

kapil





> ----- Original Message -----
> From: "ender" <kthangavelu@earthlink.net>
> To: "Gerald Gutierrez" <pozix@home.com>; "Zope mailing list"
> <zope@zope.org> Sent: Wednesday, February 07, 2001 12:26 PM
> Subject: Re: [Zope] Writing custom tags "through the web"
>
> > On Wednesday 07 February 2001 09:19, Gerald Gutierrez wrote:
> > > I've found custom tags invaluable in my daily J2EE use, and would like
> > > to do the same with Zope. I'd like to be able to do it like everything
> > > else I do with zope, through the web browser interface.
> > >
> > > Unfortunately, the only documents I've found relating to custom tags
> > > tell me that I must modify the Zope source code and write these tags as
> > > filesystem products or classes.
> > >
> > > Is there no way to write custom tags through the web in Zope?
>
> _______________________________________________
> 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 )