On 1/9/07, Jorge Godoy <[EMAIL PROTECTED]> wrote: > [cut] > I don't believe that forcing people to have icons per project -- if we provide > them on templates and people never use a grid then those icons will be copied > anyway -- and having multiple of those if one has multiple project is not > worth it. I totally agree
> > I'd go for an approach where the icon can be specified as a parameter and > defaults for TG's ones. So, if you don't do anything -- I mean you don't > change the icon on the instantiation of your grid -- then you'll use TG's > defaults. If you specify a new icon then you'll use that. Yes, that was my Idea.... if has an icon in actions dictionary use image from project static/images else use default from tg_static/images. I think it can make AjaxGrid more flexilbe. I just don't know if this aproach hurts MVC once we are defining icons inside controllers method.... Regards -- - Ulysses Almeida --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

