Custom widget problem

2 messages Options
Embed this post
Permalink
web

Custom widget problem

Reply Threaded More More options
Print post
Permalink
Hi everybody,
I have a widget that works with the previous version of mapguide, but with the last beta version an error occurs when the site is loading:

Fusion Error:
WARNING: Exception occurred in AJAX callback.
widget.paramRegister is undefined
Location: undefined (49896))

in FusionSF.js

It seems to be a problem of initialization of my widget, do I need to change something to my widget so that it can work with the beta version of mapguide?


_______________________________________________
fusion-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-dev
Zak James-2

Re: Custom widget problem

Reply Threaded More More options
Print post
Permalink
You will need to make some changes to get custom widgets working with  
the latest version. Your best bet is to take a look at one of the  
included widgets to see what has changed between releases.

The biggest difference is that Jx elements have been renamed so Jx* is  
now Jx.* - those references need to be changed in your code. Also, you  
need to supply a uiClass property somewhere in your class.

zak
--
Zak James
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca
http://research.dmsolutions.ca



On 2009-10-06, at 4:56 PM, web wrote:

> Hi everybody,
> I have a widget that works with the previous version of mapguide,  
> but with the last beta version an error occurs when the site is  
> loading:
>
> Fusion Error:
> WARNING: Exception occurred in AJAX callback.
> widget.paramRegister is undefined
> Location: undefined (49896))
>
> in FusionSF.js
>
> It seems to be a problem of initialization of my widget, do I need  
> to change something to my widget so that it can work with the beta  
> version of mapguide?
>
>
> _______________________________________________
> fusion-dev mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/fusion-dev

_______________________________________________
fusion-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-dev