Diez, I've been successfully using the HiddenField method, but being as we have no need for the x/y either I was wondering if you'd be so kind as to post the code you're using to strip out x/y. I haven't seemed to be able to find any help anywhere else with this.
Thanks, Seth On Jul 22, 1:56 am, "Diez B. Roggisch" <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---

