Andrea Crotti yazmış:
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...
When using ajax, writing html forms manually and using jquery and jquery-ui works best for me. there is a pluging for jquery that will do the thing you want, it's jqgrid.
it's very simple to use jquery withing tg. just add the js and css files on the master.html template and write some javascript. There's no need to use tg plugins, just use the tg for the server side and use json controller methods for ajax calls.
-- 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.

