help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Iliad widgets can't update page information


From: Stefan Schmiedl
Subject: Re: [Help-smalltalk] Iliad widgets can't update page information
Date: Tue, 13 Oct 2009 20:29:11 +0200

On Tue, 13 Oct 2009 18:06:21 +0200
Eli Green <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]