GrowingTableForm complains about ihidden_fields

0 views
Skip to first unread message

Gustavo Narea

unread,
Sep 3, 2008, 3:35:04 PM9/3/08
to ToscaWidgets-discuss
Hi everybody.

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/

signature.asc

Gustavo Narea

unread,
Sep 3, 2008, 3:51:55 PM9/3/08
to ToscaWidgets-discuss
This must be a bug because I get the same error from the WidgetBrowser.

I'm using dynforms v0.9.0.

Cheers.

Gustavo Narea

unread,
Sep 7, 2008, 2:32:30 PM9/7/08
to toscawidge...@googlegroups.com
Anyone?

Paul Johnston

unread,
Sep 22, 2008, 7:19:05 AM9/22/08
to ToscaWidgets-discuss
Hi,

Try checking out the latest tw.dynforms tip, that should fix it. I
really oughta do another release!

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.

Paul

Gustavo Narea

unread,
Sep 22, 2008, 9:09:24 AM9/22/08
to toscawidge...@googlegroups.com
Hello,

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,

Gustavo Narea

unread,
Sep 23, 2008, 9:06:34 AM9/23/08
to toscawidge...@googlegroups.com, Paul Johnston
Hello,

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,

Reply all
Reply to author
Forward
0 new messages