On 3/5/07, Gregor Horvath <[EMAIL PROTECTED]> wrote:
> How is it possible to include a JSLink to an external adress for
> example: http://soemurl/somejavascript.js

subclass JSLink, like so:

from turbogears.widgets import JSLink

class ExtJSLink(JSLink):
    def update_params(self, d):
        super(ExtJSLink, self).update_params(d)
        d['link'] = self.name

Works for me :)

Regards -- Andy

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to