"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > For instance, I'm semi-stuck with my current project because I can't > get a select box to allow multiple selections for a many-many relation. > The obvious solution of adding "multiple" attribute to the select tag > just gets me a nice backtrace becuse Kid doesn't apparently like > that... This is an obvious and common usage case, so there surely > there's a known "good way to do it".
Kid's templates must be XML compliant. Use "multiple='True'" and you'll get it. But you should be trying to use Widgets in your code since they prove to be a lot valuable and time saving. I'm finishing one application that took me one afternoon to model and code, only using widgets. It will be one of the modules of a bigger application I have here and is targeted towards "watching" price evolution for items that a company buys (from supermarket to components of their products). > Speakig of Kid backtraces, a quick guide to interpreting the backtrace > information that comes up in the browser when something goes sideways > would be useful. For example, I've figured out that a backtrace that > finishes with a complaint that the template I'm using couldn't be found > means that I have an error in that template. However, a lot of the > backtrace information is somewhat unintelligable to someone who does > not have experience with the components of TG. What version of TG are you using? Backtraces have been significantly improved after some changes on TurboKid, in 0.9... -- 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 -~----------~----~----~----~------~----~------~--~---

