"Michele Cella" <[EMAIL PROTECTED]> writes:

> Finally the widget your are proposing will be a lot more complicate to
> use IMHO:
>
> table_layout = TableLayout(fields=...)
> form = TableForm(table_layout=table_layout)
>
> No, that's only my opinion but this IMHO makes things just more
> difficult without buying something relevant.
>
> That said you're still free of doing that inside your own projects. ;-)

I am doing that. :-)  But with a full copy of the TableForm widget, not with
the cascading idea I presented.

About not using widgets for presentational purposes, I agree, but then we have
no other choice to make the customization of the page.  Widgets have the view
part in its template.

Duplicating that, as you did for password, would be no problem to me if it is
better.  I just think that we should have some means to hide the submit button
and control if we want or not a "<form></form>" pair of tags.

Last year I remember someone talked about formless pages and all widgets work
without a form.  I believe there should be some equivalent of these "*Form"
that are just doing the positioning that also did that in a "formless" way. 

Anyway, I have it working and it isn't hard to me, so I don't mind trashing
the idea ;-)


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to