Is it this todolist tutorial?  Unfortunately it contains no files...
Have they moved it elsewhere?

http://www.turbogears.org/docs/tutorials/todolist/

I should've also mentioned that I'm fine with the JS/MochiKit side of
things, I mainly want to see how best to handle the form processing of
unknown number of fields on the controller side (the form widgets,
validation, etc).

Cheers,
CM

On Feb 10, 10:54 pm, "aspineux" <[EMAIL PROTECTED]> wrote:
> Hi
>
> Their is a sample called todolist, find it and try it, it do what you
> want.
> It let you add as many text field as you want by simply clicking tha
> Add button (IF I REMEMBER WELL)
>
> If I had to do it myself , I would have done that way :
>
> first had a block in the template
>
> <div id="next_field_gos_here">here</div>
>
> write a function that use swapDOM to replace this block by a modified
> clone of itself like that
>
> swapDOM("next_field_gos_here", DIV({"class": "a_new_block", "I just
> arrived!"}, DIV({"id": "next_field_gos_here"}, "here")));
>
> look the DOM documentation of Mochikit for more info


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to