<!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><FONT color=#000080 size=2 face=Arial><SPAN class=497462623-18012012>Hi
all,</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN
class=497462623-18012012></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN class=497462623-18012012>I am
in the process to update a MapBender site v 2.4.4 to v 2.7.2 while migrating to
a new server. The application is using the ExtJS 2.X library in 2.4.4 and I am
trying to reference the Js libraries in the new MapBender GUI. In 2.4.4 I just
did add some reverences in index.html to reverence the JavaScript but that
proved troublesome in 2.7.2. >On IRC I got a hint that I could add a JS
library just by adding a new element (like the JQuery libs are integrated. So I
tried that and added ext-base.js to my gui - the following is the SQL for
that:</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN
class=497462623-18012012></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN class=497462623-18012012>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','ext_base',1,1,'ext 2 lib base','','','','',NULL ,NULL
,NULL ,NULL ,NULL
,'','','','','../ext/adapter/ext/ext-base.js','','','');</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN
class=497462623-18012012></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN
class=497462623-18012012>However when I then try to load my site (this is only
the first JS lib I need to add, but even with that) I am getting the following
error in Firebug (site url replaced with
xyz.com ) :</SPAN></FONT></DIV>
<DIV><SPAN class=497462623-18012012><SPAN
class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch opened"
role=presentation><SPAN class="errorMessage "><FONT color=#000080 size=2
face=Arial></FONT></SPAN></SPAN></SPAN> </DIV>
<DIV><SPAN class=497462623-18012012><SPAN
class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch opened"
role=presentation><SPAN class="errorMessage "><FONT color=#000080 size=2
face=Arial>(a || "").replace is not a function<BR></FONT><A
href="http://xyz.com/mapbender/javascripts/map.php?PHPSESSID=qmv9ti36bm0a9s0426h4ufnnm4&guiID=ocla4&PHPSESSID=qmv9ti36bm0a9s0426h4ufnnm4&gui_id=ocla4&PHPSESSID=qmv9ti36bm0a9s0426h4ufnnm4&mb_user_myGui=ocla4"><FONT
size=2
face=Arial>http://xyz.com/mapbender/javascripts/map.php?PHPSESSID=qmv9ti36bm0a9s0426h4ufnnm4&guiID=ocla4&PHPSESSID=qmv9ti36bm0a9s0426h4ufnnm4&gui_id=ocla4&PHPSESSID=qmv9ti36bm0a9s0426h4ufnnm4&mb_user_myGui=ocla4</FONT></A><BR><FONT
color=#000080 size=2 face=Arial>Line 53</FONT></SPAN></SPAN></SPAN></DIV>
<DIV><SPAN class=497462623-18012012><SPAN
class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch opened"
role=presentation><SPAN class="errorMessage "><FONT color=#000080 size=2
face=Arial></FONT></SPAN></SPAN></SPAN> </DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN class=497462623-18012012>Would
anybody have a hint what is going on and how I can integrate ExtJS (or the
references easily into my site also in v 2.7.2. which was absolutely easy in MB
v 2.4.4) ?</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN class=497462623-18012012>Thanks
for any help</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN
class=497462623-18012012></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN
class=497462623-18012012>Cheers</SPAN></FONT></DIV>
<DIV><SPAN class=497462623-18012012><FONT color=#000080 size=2
face=Arial>Karsten</FONT></DIV>
<DIV></SPAN><FONT size=2 face=Arial></FONT> </DIV>
<DIV align=left>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 11pt">Karsten
Vennemann<BR></SPAN><SPAN
style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 9pt">Principal<BR><BR><SPAN
style="COLOR: #003264">Terra GIS LTD<BR>2119 Boyer Ave E
<BR>Seattle, WA 98112<BR>USA <BR><FONT color=#0000ff><A
href="http://www.terragis.net">www.terragis.net</A></FONT></SPAN></SPAN><?xml:namespace
prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><o:p></o:p></P></DIV>
<DIV> </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.19070)<br><a href=http://www.pctools.com/?cclick=EmailFooterClean_51>http://www.pctools.com</a><br>=======</FONT>
</BODY></HTML>