[qmtest] derivation issues?

Mark Mitchell mark at codesourcery.com
Mon Dec 23 16:59:26 UTC 2002



--On Friday, December 20, 2002 10:34:25 PM -0500 "eichin at metacarta.com" 
<eichin at metacarta.com> wrote:

>     def FormatValueAsHtml(self, value, style, name=None):
>         if style != "new" and style != "edit":
>             return '<a href="%s">%s</a>' % (value, value)
>         else:
>             return TextField.FormatValueAsHtml(self, value, style, name)

Your problem is here; you're not fully respecting the semantics of
a style of "hidden".

Thanks,

-- 
Mark Mitchell                mark at codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the qmtest mailing list