I read this message [1] but for the time being it's still Formencode
only based.

I'm talking about version installed by `pip install
pyramid_simpleform` while I see the new `form` submodule in the repo
[2].
___________________

Moreover I'd have a suggestion (can it be called a bugfix?) for
`FormRenderer.radio` that won't make checked non-unicode values (like
integer ids), since it matches them against `self.data` values which
are always unicode.

It's quite simple, here's the diff:

96c96
<         checked = self.data.get(name) == value or checked
---
>         checked = self.data.get(name) == unicode(value) or checked


Cheers
neurino

[1] 
http://groups.google.com/group/pylons-devel/browse_thread/thread/1f07720c712484b3/b1b99be2cd97fefb
[2] 
https://bitbucket.org/danjac/pyramid_simpleform/src/32d81533f51b/pyramid_simpleform/form.py

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to