Ed Singleton wrote:
>
> No not at all sure.  I assumed the RepeatingFieldSet iterated through
> some fieldsets, displaying each one.  I do like the idea of building
> FieldSets and then constructing a form out of a bunch of fieldsets
> (Contact Info, or similar will be on a lot of forms and I can just
> insert that fieldset in my form rather than copy and paste it each
> time).
>

No, RepeatingFieldSet displays n repetitions of the *same* FieldSet.
Yes, building and reusing fieldsets is indeed a nice way of doing
things IMHO, and widgets support this quite well.

> > I think you don't want this in your case...
>
> Probably not, but I do now want to do something with groups of
> fieldsets rather than with a single long form with headers inserted.
> However I have produced this, which seems to work fine for the moment
> (I'm going to go look more at fieldsets now).
>

Ok, you may want to use a different name than TableForm and avoid
repeating everything apart from templates if you inherit form it
(TableFormWithHeaders(TableForm)), params and such are all
automatically inherited from your bases classes. ;-)

Ciao
Michele


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to