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

> My problem with the repetitions number was because that number is the
> number of values already submitted for the form. So should I create a
> callable to pass into the widget which snoops into the request , finds
> the values, and changes the repetitions?

I have the same thing here, but I haven't yet changed my code to use a
repeating widget.  What I will do is to connect an onchange signal to the
field where the user will specify the repetitions and then use some AJAX to
get the other stuff shown on screen. 

> I think the problem is that the RepeatingForm displays a widget, and
> then repeats that widget client side.
> Can you give a few pointers as to where should I search for the root of
> the problem?

Put log.debug()s in your code, and on your AJAX Repeating widget.  Put log()s
on your JavaScript.  Be sure to see everything that arrives at your controller
and everything that validate lets pass.

It is something boring, but it works.


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

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

Reply via email to