[mapguide-users] RE: Display the Query Result in a separate popup window

Ivan Miličević Ivan.Milicevic at supranet.hr
Wed Apr 21 07:32:30 EDT 2010


If you have more than one project on one mapguide server you should add frames dynamically.

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of SriRam007
Sent: Wednesday, April 21, 2010 1:21 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] RE: Display the Query Result in a separate popup window


One problem came...

Actually i have two application in my system

In 1st app I was accessing formFrame by parent.parent.frames[2]

But now after the changes in the framesettaskbar.templ file 

<frameset name="mainFrameset" rows="*,%s" frameborder=0 border=0>
    <frameset id="mainappFrame" name="mainappFrame" cols="*,%s"
frameborder=0 border=0>
        <frameset id="maparea" name="maparea" rows="%s,*,0,0,0"
frameborder=0 border=0>
            <frame id="tbFrame" name="tbFrame" %s noresize scrolling=no>
            <frame id="mapFrame" name="mapFrame"
src="%s?MAPDEFINITION=%s&TYPE=%s&SHOWLEGEND=%s&SHOWPROP=%s&INFOWIDTH=%s&LOCALE=%s&HLTGT=%s&HLTGTNAME=%s&SHOWSLIDER=%s%s"
scrolling=no border=3>

	<frame id="queryFrame" name="queryFrame" noresize src=""> ////Added a new
frame

            <frame id="formFrame" name="formFrame" noresize src="%s">
            <frame id="scriptFrame" name="scriptFrame"
src="../viewerfiles/blank.html" noresize>
        </frameset>

I have to access formFrame like this : parent.parent.frames[3]
Or I can access by its name : parent.parent.formFrame 

Finally I got that accessing by index can be dangerous better to access by
its name


Now i changed every where because i know where ever i have used (In my Other
application)

I dont have any idea about SetUp

I think what ever i m changing inside the templ file i have to place it in
our client machine after installation MGOS (Inside the same path ie.
MapGuide\Web\www\viewerfiles in our client's Server machine ) And
Viewerfiles are same for all the projects.

But if client will have another project and If there somebody has accessed
by it index then problem may come.


Is there any solution for this problem

Please rectify me if m wrong

thanks

-- 
View this message in context: http://n2.nabble.com/Display-the-Query-Result-in-a-separate-popup-window-tp4929403p4936362.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list