Here are the docs for the image button: http://toscawidgets.org/documentation/tw.forms/modules/fields/buttons.html#tw.forms.fields.ImageButton
unfortunately they don't describe the use of x/y. I think that you have to realize that this is part of the HTTP spec, and therefore the developer must have an understanding of how image buttons in general would work with TG, whether or not they are inside a widget. I will think about where would be the correct place to include this documentation. In tw2, we will have controller methods available for each widget, which means we can provide a code example for each widget that is documented. cheers. -chris On Jul 21, 12:05 pm, Seth <[email protected]> wrote: > Diez, > > Is this documented anywhere? It'd be nice to see a tutorial or > something. > > 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()? > > Thanks for your help. Sorry about the newbie questions. I'm still > looking for good documentation on tw.forms & formencode (the docs I've > been able to find thus far are scant at best). > > Seth --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

