[Zope] avoiding 'AttributeError'
Chris Withers
chris at simplistix.co.uk
Tue Mar 29 02:17:48 EST 2005
Malthe Borch wrote:
> Naturally, this page is sometimes shown without this parameter attached, so I
> need to make sure that the attribute exists before displaying it.
<div class="message"
tal:define="fw_result request/fw_result|nothing"
tal:condition="fw_result"
tal:content="fw_result"/>
> I don't think that's logic. However, I would like to know how to use Plone's
> built-in form result logic. It seems you always get a little nifty orange bar
> telling you the result. I tried this:
Google for CMFFormController to find out how it works...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope
mailing list