On Tue, 13 Oct 2009 18:06:21 +0200
Eli Green <
[hidden email]> wrote:
> Anyway, it involves adding some code to the body onLoad handler and adding some .js files to the header. Is there a way now for a widget to do this or does the Application have to?
If all else fails, hack, errm override Application>>updatePage: with your own code.
You could then maintain a modifiable collection of things to include.
The widgets could add their dependencies to that collection in their content-method.
There might be some pitfalls with this whole approach, though.
What will happen, if you add a widget requiring an onLoad handler via AJAX
to an existing page? Will onLoad be executed again? Will the widget fail?
s.
_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk