Re: Deform readonly fields

2011-02-22 Thread Daniel Holth
I did something like this too. I need to be able to show readonly fields in my forms in the same way I do in formish, so I implemented a per-field readonly flag. It works okay but it is a little cumbersome to specify which fields are readonly: deform/field.py: def serialize(self, cstruct, re

Deform readonly fields

2011-02-21 Thread do3cc...@googlemail.com
Hi, I started to implement readonly functionality in deform/colander. It is already fully implemented and I am generating complex compound forms with it. Before I submit a Pull Request for this feature I wanted to ask if anybody has a use case that would totally not work with the way its implement