[fusion-users] Startup widgets possible?

Paul Deschamps pdeschamps at dmsolutions.ca
Thu Jul 23 08:48:57 EDT 2009


Have you played around with the map tips widget? I preforms a query when the
mouse is still on a feature then creates a popup with a custom url that you
can define based on the selected features data.

Cheers

Paul D

On Wed, Jul 22, 2009 at 9:04 PM, Jackie Ng <jumpinjackie at gmail.com> wrote:

>
> Hi All,
>
> We have maps where we need to perform an action (load a url in the task
> pane) in response to a map selection.
>
> In the AJAX viewer, it would be a simple case of hooking into the viewer
> events and overriding the selection handler
> (
> http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking
> )
>
> But in Fusion, with its template and widget driven approach, this seems to
> be a bad idea. So, short of hacking each template to support this
> functionality (worst case), it is possible to make a "startup" widget that
> listens to the widget events I'm after and bind them to inline code also
> defined in the widget. Sort of like a automatic InvokeScript?
>
> - Jackie
> --
> View this message in context:
> http://n2.nabble.com/Startup-widgets-possible--tp3306936p3306936.html
> Sent from the Fusion Users mailing list archive at Nabble.com.
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
>



-- 
   Paul Deschamps
   Applications Specialist
   DM Solutions Group Inc.

   Office: (613) 565-5056 x28
   pdeschamps at dmsolutions.ca
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-users/attachments/20090723/9cd5a875/attachment.html


More information about the fusion-users mailing list