[Seaside] Adding a library to seaside
philippe.marschall at gmail.com
Fri Apr 4 18:32:00 UTC 2008
2008/4/4, Keith Hodges <keith_hodges at yahoo.co.uk>:
> fao: seaside maintainers
> of the required hooks are not published in a pluggable way.
> Recently I decided to attempt to add the absoluteFudge.js code to try and
> improve my chances with ie6, and I cite this as an example.
> The js code is packaged as a WAFileLibrary subclass as you might expect.
> However it requires an onLoad script to be run.
> Jetsam includes a concept known as a SessionHelper, so I added a
> WAAbsoluteFudge session helper, which does the right thing in it's
> #updateRoot: method, and it works. The helper adds itself to any
> applications which use the WAAbsoluteFudgeJS file library.
> on, as a couple of classes.
> I mention this here, to suggest that the development team to adopt the
> helpers framework into the mainstream 2.9+
MyFileLibrary >> #updateRoot: aHtmlRoot
super updateRoot: aHtmlRoot.
WACurrentContext value addLoadScript: 'whatever it need'
More information about the seaside