Am 28.06.2010 um 23:59 schrieb Andrea Crotti:
I was wondering what is the best form widget to create a simple (maybe
ajax style) form like
<email> <description>
<email2> <description> +/-
where the +/- buttons enable adding one more values
I have already a structure like this for the Email: (with elixir)
--8<---------------cut here---------------start------------->8---
class Email(Multi):
using_options(inheritance='multi')
email = Field(Unicode)
entry = ManyToOne('Entry')
def __repr__(self):
return self.email
--8<---------------cut here---------------end--------------->8---
which makes it very easy to manipulate data, but I don't see in the
ToscaWidgets nothing that I could directly use...
Take a look at tw.dynforms, they should do what you want.
Diez
--
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?hl=en.