[Zope] value checker

Diego Rodrigo Neufert diego@magicwebdesign.com.br
Thu, 8 Feb 2001 15:45:05 -0200


try: name="irr_avg:int" 

On Thursday 08 February 2001 03:00 pm, Olaf Marc Zanger wrote:
> hi there,
>
> work on a zope 2.3 on suse linux 7.0
>
> (<input type="text" name="irr_avg;integer" maxlength=5 width=5 value="">)
>
> the value checker brings the following result if the value is left empty
> '(')
>
> ----------------------------------
> Zope Error
>
>             Zope has encountered an error while publishing this resource.
>
>             Error Type: AttributeError
>             Error Value: 'None' object has no attribute '__class__'
>
>
>
>             Troubleshooting Suggestions
>
>                 The URL may be incorrect.
>                 The parameters passed to this resource may be incorrect.
>                 A resource that this resource relies on may be encountering
> an error.
>
>             For more detailed information about the error, please refer to
> the HTML source for this page.
>
>             If the error persists please contact the site maintainer. Thank
> you for your patience.
> --------------------------------------
>
> or if the value is correct ('1')
>
> a part of the url is:
> &irr_avg%3Binteger=1
> --------------------------------------
>
>
>                     Zope Error
>
>                     Zope has encountered an error while publishing this
> resource.
>
>                     Error Type: Bad Request
>                     Error Value: ['irr_avg']
>
>
>
>                     Troubleshooting Suggestions
>
>                         The URL may be incorrect.
>                         The parameters passed to this resource may be
> incorrect.
>                         A resource that this resource relies on may be
> encountering an error.
>
>                     For more detailed information about the error, please
> refer to the HTML source for
>                     this page.
>
>                     If the error persists please contact the site
> maintainer. Thank you for your patience.
> ---------------------------------------------
>
> i think that needs bugfixing,
> unfortunately i'm not a python programmer
>
> thanks anyway
>
> olaf

-- 
Diego Rodrigo Neufert
Webmaster / Web Developer - Magic Web Design
-----------------------------------------------------------
diego@magicwebdesign.com.br
www.magicwebdesign.com.br
Curitiba - PR - Brasil