Em Sábado 13 Maio 2006 07:13, Robin Haswell escreveu: > And on a related note, what do widgets have that HTML and some if > statements don't provide?
Improved reusability, they make it easier to insert something on the page since they carry their CSS + JS with them, validators can be specified inside the widget, validators can be overriden in a form with a validation schema, validators can be overriden in an exposed method with the validate decorator, widgets separate logic from template, widgets can have their template changed without changing their code, etc. -- 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 -~----------~----~----~----~------~----~------~--~---

