check out this thread,
http://osgeo-org.1803224.n2.nabble.com/fusion-default-tool-selected-td1807544.html
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Accessing-Fusion-commands-from-parent-window-tp5775258p5798103.html
Sent from the MapGuide Users mailing list archiv
success!!!
i am able to make the calls for the interface like that
window.frames.mapframe.showLegend();
thank you everyone,
but now i should ask if anybody knows how can i use normal actions ( like
select, marquee zoom) from the outer window.
i remember a while ago, you could launch a set o
tried that, with no sucess.
also tried with the function show, and calling the object dtask (that is the
name of the panel in jx)
i am starting to think that i need to embed the outside page into the fusion
one, which is a horrible thing to even consider.
--
View this message in context:
http:
Or try:
top.whateverthenameofmyframeis.Fusion.getWidgetById('TaskFrame').open();
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Accessing-Fusion-commands-from-parent-window-tp5775258p5789156.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
thanks for the advice, it has been very helpful.
i found a way to refresh the map, but its the only functionality i have
accesed so far.
GordonL gave me an idea and i was able to acesss the map widget and refresh
it.
var mapControl = window.frames.maps.Fusion.getWidgetById('Map');
I don't know if this can help you (for the moment I didn't use a lot Fusion,
I'm working more on Ajax), but you can have a look at the chapter
"Understanding viewer frame" of the MapGuide Developer's Guide...unless you
did yet!
You can take it here:
http://www.osgeo.org/files/mapguide/docs/MgOpenS