Hi, all.

As per the last messages on the FunFormKit discuss list,
I'm using webware-discuss...

There appears to be a bug in SelectField in the Field.py
file in FunFormKit, such that defaults are not properly
carried through an error condition, unless they are strings.

That is, in SelectField.selected(self, key, default), there
is
    return key == default
which doesn't work when the key is an integer, as most (of
my) selectbox values are.  Changing this line to
    return str(key) == str(default)
seems to fix the problem for me, but may simply be covering
it up...



-- 
Randall Randall <[EMAIL PROTECTED]>
"[The] poetic justice of cause and effect compels
 respect, compassion." -- Faithless, God is a DJ.



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to