It could very well be that your function Selecao() is being called when the viewer frame 'quadras' has not been fully initialized.
You should do something like this code sample http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking To ensure you are calling viewer APIs when it is fully initialized - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Error-Resource-was-not-found-tp5936109p5946023.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
