<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16440"></HEAD>
<BODY>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2 face=Arial>Hi
All,</FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2 face=Arial>I have
been in the process of porting my MB application from an old server to a new one
and at the same time from MapBender version 2.4.4 to 2.7.2.</FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2 face=Arial>Is
seems that I am 90% there but I ran into some trouble in a couple of areas when
I just tried to implement the same additions / specifics I had working in the
old server with MapBender 2.4.4 and then trying to make them work in MB
2.7.2.</FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2 face=Arial>1. I
have used the ExtJS API to add Grid and query builder functionality to my site .
In MB 2.4.4 I simply referenced the ExtJS files in index file and got it to
work. The architecture in 2.7.2 is different and it seems there are a lot of
checks in place what was loading, is loaded, and is allowed to be
loaded? Thus so far I was not able to reference the ExtJS lib
and sue them . On IRC Verena pointed out that one way would be to create an
element that includes a JS file as a ref just like the Jquery jq_ui-Element
element . However I am still not bale to make this
work. I</FONT></SPAN><FONT color=#000080><SPAN
class=501364707-06042012><FONT size=2 face=Arial> tried to reference Ext in
the directory /var/www/sites/mapbender/http/ext/ext-all.js</FONT></SPAN><SPAN
class=501364707-06042012><FONT size=2 face=Arial> in an element ext as
javasript ../ext/ext-all.js</FONT></SPAN></FONT></DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2 face=Arial>INSERT
INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title,
e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index,
e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,
e_url) VALUES('xygui','ext',1,1,'The Extjs core','','','','',NULL ,NULL ,NULL
,NULL ,NULL ,'','','','../ext/ext-all.js','','','','');</FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2 face=Arial>This
in Firebug gets no error (except is says extjs not defined when trying ton
us it) but I can see that it does not earn my a reference to ext-all.js -
so not sure what is going on ...</FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2 face=Arial>Any
ideas what is wrong and how I can fix this ?. Do I need to out my ExtJS into a
specific directory for this to be allowed?</FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012></SPAN><SPAN class=501364707-06042012><FONT
color=#000080 size=2 face=Arial></FONT></SPAN><SPAN
class=501364707-06042012><FONT color=#000080 size=2
face=Arial></FONT></SPAN><SPAN class=501364707-06042012></SPAN><SPAN
class=501364707-06042012><FONT color=#000080 size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2 face=Arial>2. I
am trying to have an overview map in the tabs structure (just like used it in
the old installation v 2.4.4, there that worked out any trouble).
</FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2 face=Arial>Now in
2.7.2 I am getting the problem that the overview map always does not seem to
(using the same WMS as before) zoom the full extent and also
in I cannot get the map to work properly with the tabs display order . That
means initially in the GUI all looks fine, however when I open the Overview map
tab the display does not go away when I close that tab (or a
different tab): the map overlaps the new content and does
not display as it should, be (z index trouble ?) My settings are as below
the end of the message.</FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2
face=Arial>screenshot 1: <A
href="http://www.terragis.net/images/overview_map_overlaps_other_content1.png">http://www.terragis.net/images/overview_map_overlaps_other_content1.png</A></FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2
face=Arial>screenshot 2: <A
href="http://www.terragis.net/images/overview_map_overlaps_other_content2.png">http://www.terragis.net/images/overview_map_overlaps_other_content2.png</A></FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2 face=Arial>Also
in Firebug I realized that there multiple overview map divs created (actually
dozens ? how weird) might that be a bug or just my configuration error
?</FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2 face=Arial>screen
shot 3 -</FONT></SPAN><SPAN class=501364707-06042012><FONT color=#000080 size=2
face=Arial> multiple overview divs : <A
href="http://www.terragis.net/images/multiple_ovmaps_divs.png">http://www.terragis.net/images/multiple_ovmaps_divs.png</A></FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2 face=Arial>If
anyone could shed some light on how I can solve or or the other (or both) or one
of this would be great as I have been stuck with this for several month off and
on working ion it.</FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012></SPAN><SPAN class=501364707-06042012><FONT
color=#000080 size=2 face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2
face=Arial>Cheers</FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2
face=Arial>Karsten</FONT></SPAN></DIV>
<DIV align=left><SPAN class=501364707-06042012><FONT
face=Verdana></FONT></SPAN> </DIV>
<DIV align=left><SPAN class=501364707-06042012><FONT
face=Verdana></FONT></SPAN> </DIV>
<DIV align=left><SPAN class=501364707-06042012><FONT size=2 face=Arial>details
on ovmap and tabs:</FONT></SPAN></DIV>
<DIV align=left><SPAN class=501364707-06042012><FONT
face=Verdana></FONT></SPAN> </DIV>
<DIV align=left><SPAN class=501364707-06042012>
<DIV><SPAN class=501364707-06042012><FONT color=#000080 size=2 face=Arial>ovmap
element:</FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012><FONT size=2 face=Arial>INSERT INTO
gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,
e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles,
e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url)
VALUES('ocla4','overview',2,1,'OverviewFrame','Overview
Map','div','','scrolling="no" frameborder=''0''',1,1,1,1,NULL
,'visibility:hidden;','<div id="overview_maps"
style="position:absolute;left:0px;right:0px;"></div>','div','.../plugins/mb_overview.js','../../lib/history.js,map_obj.js,map.js,wms.js,wfs_obj.js,initWmcObj.php','mapframe1','mapframe1','http://www.mapbender.org/index.php/Overview');<BR>INSERT
INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context,
var_type) VALUES('ocla4', 'overview', 'skipWmsIfSrsNotSupported', '0', 'if set
to 1, it skips the WMS request if the current SRS is not supported by the WMS;
if set to 0, the WMS is always queried. Default is 0, because of backwards
compatibility' ,'var');<BR>INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id,
var_name, var_value, context, var_type) VALUES('ocla4', 'overview',
'overview_wms', '8', 'wms that shows up as overview'
,'var');<BR></FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012><FONT size=2
face=Arial>tabs:</FONT></SPAN></DIV>
<DIV><SPAN class=501364707-06042012><FONT size=2 face=Arial>INSERT INTO
gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,
e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles,
e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url)
VALUES('ocla4','tabs',2,1,'vertical tabs to handle
iframes','','div','','',2,80,250,20,2,'font-family:
Arial,Helvetica;font-weight:bold;','','div','mod_tab.php','','','','');<BR>INSERT
INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context,
var_type) VALUES('ocla4', 'tabs', 'expandable', '0', '1 = expand the tabs to fit
the document vertically, default is 0' ,'php_var');<BR>INSERT INTO
gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type)
VALUES('ocla4', 'tabs', 'tab_frameHeight[2]', '350', '' ,'var');<BR>INSERT INTO
gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type)
VALUES('ocla4', 'tabs', 'tab_ids[5]', 'oclahelp', '' ,'php_var');<BR>INSERT INTO
gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type)
VALUES('ocla4', 'tabs', 'tab_frameHeight[5]', '350', '' ,'var');<BR>INSERT INTO
gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type)
VALUES('ocla4', 'tabs', 'tab_ids[4]', 'overview', '' ,'php_var');<BR>INSERT INTO
gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type)
VALUES('ocla4', 'tabs', 'tab_frameHeight[4]', '180', '' ,'var');<BR>INSERT INTO
gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type)
VALUES('ocla4', 'tabs', 'open_tab', '0', 'define which tab should be opened when
a gui is opened' ,'var');<BR>INSERT INTO gui_element_vars(fkey_gui_id,
fkey_e_id, var_name, var_value, context, var_type) VALUES('ocla4', 'tabs',
'tab_frameHeight[0]', '500', '' ,'var');<BR>INSERT INTO
gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type)
VALUES('ocla4', 'tabs', 'tab_ids[0]', 'treeGDE', '' ,'php_var');<BR>INSERT INTO
gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type)
VALUES('ocla4', 'tabs', 'tab_ids[2]', 'legend', '' ,'php_var');<BR>INSERT INTO
gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type)
VALUES('ocla4', 'tabs', 'tab_prefix', ' ', '' ,'var');<BR>INSERT INTO
gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type)
VALUES('ocla4', 'tabs', 'tab_ids[3]', 'credit', '' ,'php_var');<BR>INSERT INTO
gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type)
VALUES('ocla4', 'tabs', 'tab_frameHeight[3]', '350', '' ,'var');<BR>INSERT INTO
gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type)
VALUES('ocla4', 'tabs', 'tab_style',
'position:absolute;visibility:visible;border: 1px solid
#FFFFFF;font-size:12;font-style:strong;color:#FFFFFF;background:#639A9B;', ''
,'var');<BR>INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name,
var_value, context, var_type) VALUES('ocla4', 'tabs', 'tab_ids[1]',
'ocla_printPDF', '' ,'php_var');<BR>INSERT INTO gui_element_vars(fkey_gui_id,
fkey_e_id, var_name, var_value, context, var_type) VALUES('ocla4', 'tabs',
'tab_frameHeight[1]', '350', ''
,'var');</FONT></SPAN></DIV></SPAN></DIV><br/><br/><br><br><FONT face="Tahoma" size="2"><br>=======<br>Email scanned by PC Tools - No viruses or spyware found.<br>(Email Guard: 9.0.0.888, Virus/Spyware Database: 6.19590)<br><a href=http://www.pctools.com/?cclick=EmailFooterClean_51>http://www.pctools.com</a><br>=======</FONT>
</BODY></HTML>