On Tuesday 21 July 2009 20:05:08 Seth wrote: > Diez, > > Is this documented anywhere? It'd be nice to see a tutorial or > something.
That's the way HTML works, it's not specific to TG. > The error message is a form error, not a controller error. Adding x > and y parameters to the controller (per your instructions) doesn't > seem to work. However, if I set x & y to a HiddenField() in the form > class it does seem to submit correctly. > > Is specifying x and y as a HiddenField() the recommended setting with > ImageButton()? Ah, sorry, yes, setting them as hidden fields is ok. But you'd still need them on the controller then. We added a middleware that just strips them from the request before they get processed, because we never use them. 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 -~----------~----~----~----~------~----~------~--~---

