[ZPT] Re: Using ZPT Varibles

Ian Bicking ianb at colorstudy.com
Thu Jul 8 11:44:42 EDT 2004


Will Smith wrote:
>>  I guess I am looking for something like the 
>> context.REQUEST.get('name', None) 
> 
> 
> Hmm, good idea.....Sorry I guess I answered my own queston.
> 
> error python:errors.get(fieldName, None)

ZPT also has special syntax for just this:

"errors/name | nothing"

-- 
Ian Bicking  /  ianb at colorstudy.com  /  http://blog.ianbicking.org


More information about the ZPT mailing list