I'm trying to use tw.dynforms.GrowingTableForm with the code below:
> class AddWebsiteLanguageEditions(GrowingTableForm):
> children = [
> TextField('website_alias', validator=website_alias_validator,
> size=Website.get_field_length('website_alias'))
> ]
But I get this exception (UndefinedError: "ihidden_fields" not defined):
http://beta.pylonshq.com/tracebacks/4c439c45-4112-423b-b2d7-46faa8292286
I'm using a code similar to that of the demo:
> class DemoGrowingTableForm(twd.GrowingTableForm):
> demo_for = twd.GrowingTableForm
> children = [
> twf.TextField('name'),
> twf.TextField('phone_number'),
> twf.CheckBox('personal'),
> ]
I tried and defined the "demo_for" and "ihidden_fields" attributes, but it
didn't work either.
Is this a bug or I'm doing something wrong?
Thanks in advance.
--
Gustavo Narea.
http://gustavonarea.net/
Get rid of unethical constraints! Switch to Freedomware:
http://softwareliberty.com/
I'm using dynforms v0.9.0.
Cheers.
On Monday September 22, 2008 13:19:05 Paul Johnston wrote:
> Try checking out the latest tw.dynforms tip, that should fix it. I
> really oughta do another release!
Thanks, I will give it a try.
> BTW, can people PLEASE forward tw.dynforms questions to my personal
> email. I'm happy to answer them, I just don't monitor the mailing list
> any more.
I'd suggest you include that in the documentation for tw.dynforms. I didn't
even know who maintains this package.
Thanks,
On Monday September 22, 2008 13:19:05 Paul Johnston wrote:
> Try checking out the latest tw.dynforms tip, that should fix it. I
> really oughta do another release!
The latest tip is the one I've always been using, tw-dynforms-b23fbed438c2.
That's the one with which I'm getting this error.
Cheers,