[mapguide-internals] PATCH: Fix for ticket #849: Naming the
frames in the standard viewer
Maxime Suing
Maxime.Suing at autodesk.com
Thu Feb 12 15:23:58 EST 2009
The *.txt
-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Maxime Suing
Sent: jeudi 12 février 2009 21:16
To: mapguide-internals at lists.osgeo.org
Subject: [mapguide-internals] PATCH: Fix for ticket #849: Naming the frames in the standard viewer
2 cents more...
Max.
-----Original Message-----
From: trac_mapguide at osgeo.org [mailto:trac_mapguide at osgeo.org]
Sent: jeudi 12 février 2009 12:20
Cc: mapguide-trac at lists.osgeo.org
Subject: [mapguide-trac] #849: Naming the frames in the standard viewer
#849: Naming the frames in the standard viewer
---------------------------+--------------------------------------------
---------------------------+----
Reporter: msuing | Owner:
Type: defect | Status: new
Priority: low | Milestone: 2.1
Component: AJAX Viewer | Version: 2.0.1
Severity: trivial | Keywords: frameset
External_id: |
---------------------------+--------------------------------------------
---------------------------+----
When we want to set a button to show / hide the taskbar, we have to define a name and id for the frames in the standard viewer, ...\WebServerExtensions\www\viewerfiles\framesettaskbar.templ.[[BR]]
It would be great to add a name and id in the frameset not to have to modify the standard files[[BR]]
<frameset rows="*,%s" frameborder=0 border=0>
<frameset '''id="mainappFrame" name="mainappFrame"''' cols="*,%s"
frameborder=0 border=0>[[BR]]
It could be even better to integrate in the standard viewer a button to show / hide the taskbar and the legend.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/849>
MapGuide Open Source <http://mapguide.osgeo.org/> MapGuide Open Source Internals
-------------- next part --------------
Index: framesettaskbar.templ
===================================================================
--- framesettaskbar.templ (revision 3613)
+++ framesettaskbar.templ (working copy)
@@ -1,12 +1,12 @@
<frameset rows="*,%s" frameborder=0 border=0>
- <frameset cols="*,%s" frameborder=0 border=0>
- <frameset name="maparea" rows="%s,*,0,0" frameborder=0 border=0>
+ <frameset id="mainappFrame" name="mainappFrame" cols="*,%s" frameborder=0 border=0>
+ <frameset id="maparea" name="maparea" rows="%s,*,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="formFrame" name="formFrame" noresize src="%s">
<frame id="scriptFrame" name="scriptFrame" src="../viewerfiles/blank.html" noresize>
</frameset>
- <frameset name="taskArea" rows="%s,*" frameborder=0 border=0>
+ <frameset id="taskArea" name="taskArea" rows="%s,*" frameborder=0 border=0>
<frame id="taskBar" name="taskBar" %s noresize scrolling=no>
<frame id="taskFrame" name="taskFrame" %s noresize scrolling=no>
</frameset>
More information about the mapguide-internals
mailing list