[fusion-users] Widget Functions.
Paul Spencer
pspencer at dmsolutions.ca
Wed May 14 07:25:03 EDT 2008
I'm not sure about the first error, can you send code for us to look at?
For the second, try:
var myObject = new Fusion.Widget.MyNewWidget();
Paul
On 14-May-08, at 5:57 AM, Tómas Guðmundsson wrote:
> Hi all.
>
> I have been wondering about a very strange "bug" but then again this
> might be something that you don't notice until you've told everybody
> about it and feel like a complete idiot.
>
> I'm trying to create a code that extends the refresh widget by
> opening up a ui-blocking page like the Print widget does. However,
> if I just use the pure code from Print.js, like copy/paste. Firebug
> gives me an error that the function can not be found. Totally
> cryptic to me. It is defined exactly like the Print.js widget, do I
> need to define my functions somewhere else ?
>
> Also, if I have created a seperate widget that I want to use just
> like a new class in a conventional programming, like so.
>
> var myObject = new MyNewWidget();
>
> Do I need to call Fusion.Class or something ?
>
> Thanks
> Tomas
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
__________________________________________
Paul Spencer
Chief Technology Officer
DM Solutions Group Inc
http://www.dmsolutions.ca/
More information about the fusion-users
mailing list