Hi!
I was thinking here about some implementations that I am doing and about some
uses of a "patched" version of the TableForm widget. Sometimes I want some
JavaScript to take actions with my form or complement it with a more dinamic
part (lets say splitting a form in two parts and adding some dynamic message
in the middle of it, for example) and then we have to put the "<form></form>"
pair out, alongside with the submit button.
My idea was then suggesting that this approach be possible with standard TG by
doing this (pseudo-code only):
class TableLayout(something):
template = """
<div>
widgets in a table layout as of TableForm today
</div>
"""
class TableForm(Form):
template = """
<form ...>
${table_layout.display()}
${submit_button.display()}
</form>
"""
This preserves the compatibility with the actual code, allows one to use just
the layout part with the widgets and allows one to write more flexible forms.
What do you think? Can I try a patch for this? (For both, Table and List
forms...)
Be seeing you,
--
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
-~----------~----~----~----~------~----~------~--~---