[Zope] dtml and 'none' behaviour

Chris Kratz chris.kratz at vistashare.com
Fri Feb 11 17:15:01 EST 2005


On Friday 11 February 2005 05:31 pm, garry saddington wrote:
> On Friday 11 February 2005 21:21, Chris Kratz wrote:
> > You may also use the null= tag on dtml-var.  If the field is None, it
> > will replace the value with whatever is in the null="" tag.  Look in the
> > online doc that comes with zope.
>
> Thanks this works great. Can you give me the place to find this documented
> because I can't find it?
> regards
> garry

On any of the ZMI pages, there is a help! link in the upper right hand corner.  
Clicking on that opens up a popup window.  Click on the search tab and search 
for the word var.  Then click on the var link to read about the options.  If 
you scroll down, you will find the null= attribute after fmt.  I believe this 
help is loaded in every install of zope.

You can also find it in the Zope Book online at:
http://zope.org/Documentation/Books/ZopeBook/2_6Edition/AppendixA.stx

It's most of the way down to the bottom.  In your browser you can search for 
"null=" or "var tag" to get to the dtml-var section faster if you don't like 
scrolling.  
-- 
Chris Kratz
Systems Analyst/Programmer
VistaShare LLC
www.vistashare.com


More information about the Zope mailing list