Hi guys, this question goes out to you if you have written widgets...

For:
class MyWidget():
    def __init__(...):
        ...

    def __call__(self, field, *value*, **attributes):
        ...

On form submit, value should not be empty (it is not empty when I am using 
the text field to input).

However, when I am creating hidden items with javascript, on the first 
__call__, value is empty, but it will __call__ again, this time it has the 
correct values. 
I'm trying to understand this behavior and wondering if anyone has an idea 
why. Thanks!


-- 



Reply via email to