[Mapserver-users] ROSA is not showing toolbar

Eduardo Patto Kanegae eduardo at consultoria.eti.br
Mon Aug 25 20:11:47 EDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0014_01C36B4D.7F008460
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I put a ROSA applet inside a PHP/Mapscript application, the image of the =
map is drawing OK
    but the toolbar is not.

what could be wrong?


here is a sample of the HTML that is being coded by it:

<APPLET NAME=3D"RosaApplet" ARCHIVE=3D"include/java/rosa/rosa_png.jar" =
CODE=3D"Rosa2000" WIDTH=3D"528" HEIGHT=3D"396" MAYSCRIPT>
      <PARAM NAME=3D"IMG_URL" =
VALUE=3D"/tmp/webimoveis286063f4aa51b96b9c.png">
      <PARAM NAME=3D"INP_FORM_NAME" VALUE=3D"frm">
      <PARAM NAME=3D"INP_TYPE_NAME" VALUE=3D"input_type">
      <PARAM NAME=3D"INP_COORD_NAME" VALUE=3D"input_coord">
      <PARAM NAME=3D"TB_POSITION" VALUE=3D"left">
      <PARAM NAME=3D"TB_ALIGN" VALUE=3D"top">
      <PARAM NAME=3D"TB_BUTTONS" =
VALUE=3D"zoomin|zoomout|recentre|info|redraw">
      <PARAM NAME=3D"TB_SELECTED_BUTTON" VALUE=3D"zoomin">
      <PARAM NAME=3D"TB_BUT_zoomin_IMG" =
VALUE=3D"include/java/rosa/images/icon_zoomin_1.gif">
      <PARAM NAME=3D"TB_BUT_zoomin_IMG_PR" =
VALUE=3D"include/java/rosa/images/icon_zoomin_2.gif">
      <PARAM NAME=3D"TB_BUT_zoomin_HINT" VALUE=3D"Aproximar(+): Clique =
e|desenhe um ret=E2ngulo sobre o mapa">
      <PARAM NAME=3D"TB_BUT_zoomin_INPUT" VALUE=3D"auto_rect">
      <PARAM NAME=3D"TB_BUT_zoomin_NAME" VALUE=3D"CMD">
      <PARAM NAME=3D"TB_BUT_zoomin_VALUE" VALUE=3D"ZOOM_IN">
      <PARAM NAME=3D"TB_BUT_zoomin_JSACTION" =
VALUE=3D"document.frm.mode.value=3D'browse';document.frm.submit()">
      <PARAM NAME=3D"TB_BUT_zoomin_CURSOR_TYPE" VALUE=3D"CROSSHAIR">
      <PARAM NAME=3D"TB_BUT_zoomout_IMG" =
VALUE=3D"include/java/rosa/images/icon_zoomout_1.gif">
      <PARAM NAME=3D"TB_BUT_zoomout_IMG_PR" =
VALUE=3D"include/java/rosa/images/icon_zoomout_2.gif">
      <PARAM NAME=3D"TB_BUT_zoomout_HINT" VALUE=3D"Afastar(-): Clique =
para afastar">
      <PARAM NAME=3D"TB_BUT_zoomout_INPUT" VALUE=3D"auto_point">
      <PARAM NAME=3D"TB_BUT_zoomout_NAME" VALUE=3D"CMD">
      <PARAM NAME=3D"TB_BUT_zoomout_VALUE" VALUE=3D"ZOOM_OUT">
      <PARAM NAME=3D"TB_BUT_zoomout_JSACTION" =
VALUE=3D"document.frm.mode.value=3D'browse';document.frm.zoomdir.value=3D=
-1;document.frm.submit()">
      <PARAM NAME=3D"TB_BUT_zoomout_CURSOR_TYPE" VALUE=3D"HAND">
      <PARAM NAME=3D"TB_BUT_recentre_IMG" =
VALUE=3D"include/java/rosa/images/icon_recentre_1.gif">
      <PARAM NAME=3D"TB_BUT_recentre_IMG_PR" =
VALUE=3D"include/java/rosa/images/icon_recentre_2.gif">
      <PARAM NAME=3D"TB_BUT_recentre_HINT" VALUE=3D"Centralizar: Clique =
em um ponto|para traz=EA-lo ao centro">
      <PARAM NAME=3D"TB_BUT_recentre_INPUT" VALUE=3D"auto_point">
      <PARAM NAME=3D"TB_BUT_recentre_NAME" VALUE=3D"CMD">
      <PARAM NAME=3D"TB_BUT_recentre_VALUE" VALUE=3D"RECENTER">
      <PARAM NAME=3D"TB_BUT_recentre_JSACTION" =
VALUE=3D"document.frm.mode.value=3D'browse';document.frm.submit()">
      <PARAM NAME=3D"TB_BUT_recentre_CURSOR_TYPE" VALUE=3D"MOVE">
      <PARAM NAME=3D"TB_BUT_info_IMG" =
VALUE=3D"include/java/rosa/images/icon_info_1.gif">
      <PARAM NAME=3D"TB_BUT_info_IMG_PR" =
VALUE=3D"include/java/rosa/images/icon_info_2.gif">
      <PARAM NAME=3D"TB_BUT_info_HINT" VALUE=3D"Consulta por ponto: =
Clique em um ponto no mapa|para obter detalhes do item">
      <PARAM NAME=3D"TB_BUT_info_INPUT" VALUE=3D"auto_point">
      <PARAM NAME=3D"TB_BUT_info_NAME" VALUE=3D"CMD">
      <PARAM NAME=3D"TB_BUT_info_VALUE" VALUE=3D"QUERY_POINT">
      <PARAM NAME=3D"TB_BUT_info_JSACTION" =
VALUE=3D"document.frm.mode.value=3D'query';document.frm.submit()">
      <PARAM NAME=3D"TB_BUT_info_CURSOR_TYPE" VALUE=3D"HAND">
      <PARAM NAME=3D"TB_BUT_redraw_IMG" =
VALUE=3D"include/java/rosa/images/icon_redraw_1.gif">
      <PARAM NAME=3D"TB_BUT_redraw_IMG_PR" =
VALUE=3D"include/java/rosa/images/icon_redraw_2.gif">
      <PARAM NAME=3D"TB_BUT_redraw_HINT" VALUE=3D"Atualizar">
      <PARAM NAME=3D"TB_BUT_redraw_INPUT" VALUE=3D"submit">
      <PARAM NAME=3D"TB_BUT_redraw_NAME" VALUE=3D"CMD">
      <PARAM NAME=3D"TB_BUT_redraw_VALUE" VALUE=3D"REDRAW">
      <PARAM NAME=3D"TB_BUT_redraw_JSACTION" =
VALUE=3D"document.frm.mode.value=3D'browse';document.frm.submit()">
      </APPLET>

------=_NextPart_000_0014_01C36B4D.7F008460
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2726.2500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I put a ROSA applet inside a =
PHP/Mapscript=20
application, the image of the map is drawing OK</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; but the toolbar is=20
not.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>what could be wrong?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>here is a sample of the HTML that is =
being coded by=20
it:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;APPLET NAME=3D"RosaApplet"=20
ARCHIVE=3D"include/java/rosa/rosa_png.jar" CODE=3D"Rosa2000" =
WIDTH=3D"528"=20
HEIGHT=3D"396" =
MAYSCRIPT&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"IMG_URL"=20
VALUE=3D"/tmp/webimoveis286063f4aa51b96b9c.png"&gt;<BR>&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"INP_FORM_NAME"=20
VALUE=3D"frm"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"INP_TYPE_NAME"=20
VALUE=3D"input_type"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=
=20
NAME=3D"INP_COORD_NAME"=20
VALUE=3D"input_coord"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARA=
M=20
NAME=3D"TB_POSITION"=20
VALUE=3D"left"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_ALIGN" =
VALUE=3D"top"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUTTONS"=20
VALUE=3D"zoomin|zoomout|recentre|info|redraw"&gt;<BR>&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_SELECTED_BUTTON"=20
VALUE=3D"zoomin"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_zoomin_IMG"=20
VALUE=3D"include/java/rosa/images/icon_zoomin_1.gif"&gt;<BR>&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_zoomin_IMG_PR"=20
VALUE=3D"include/java/rosa/images/icon_zoomin_2.gif"&gt;<BR>&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_zoomin_HINT" VALUE=3D"Aproximar(+): Clique e|desenhe um =
ret=E2ngulo=20
sobre o mapa"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_zoomin_INPUT"=20
VALUE=3D"auto_rect"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM =

NAME=3D"TB_BUT_zoomin_NAME"=20
VALUE=3D"CMD"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_zoomin_VALUE"=20
VALUE=3D"ZOOM_IN"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_zoomin_JSACTION"=20
VALUE=3D"document.frm.mode.value=3D'browse';document.frm.submit()"&gt;<BR=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_zoomin_CURSOR_TYPE"=20
VALUE=3D"CROSSHAIR"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM =

NAME=3D"TB_BUT_zoomout_IMG"=20
VALUE=3D"include/java/rosa/images/icon_zoomout_1.gif"&gt;<BR>&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_zoomout_IMG_PR"=20
VALUE=3D"include/java/rosa/images/icon_zoomout_2.gif"&gt;<BR>&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_zoomout_HINT" VALUE=3D"Afastar(-): Clique para=20
afastar"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_zoomout_INPUT"=20
VALUE=3D"auto_point"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=
=20
NAME=3D"TB_BUT_zoomout_NAME"=20
VALUE=3D"CMD"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_zoomout_VALUE"=20
VALUE=3D"ZOOM_OUT"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_zoomout_JSACTION"=20
VALUE=3D"document.frm.mode.value=3D'browse';document.frm.zoomdir.value=3D=
-1;document.frm.submit()"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;=
PARAM=20
NAME=3D"TB_BUT_zoomout_CURSOR_TYPE"=20
VALUE=3D"HAND"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_recentre_IMG"=20
VALUE=3D"include/java/rosa/images/icon_recentre_1.gif"&gt;<BR>&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_recentre_IMG_PR"=20
VALUE=3D"include/java/rosa/images/icon_recentre_2.gif"&gt;<BR>&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_recentre_HINT" VALUE=3D"Centralizar: Clique em um =
ponto|para traz=EA-lo=20
ao centro"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_recentre_INPUT"=20
VALUE=3D"auto_point"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=
=20
NAME=3D"TB_BUT_recentre_NAME"=20
VALUE=3D"CMD"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_recentre_VALUE"=20
VALUE=3D"RECENTER"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_recentre_JSACTION"=20
VALUE=3D"document.frm.mode.value=3D'browse';document.frm.submit()"&gt;<BR=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_recentre_CURSOR_TYPE"=20
VALUE=3D"MOVE"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_info_IMG"=20
VALUE=3D"include/java/rosa/images/icon_info_1.gif"&gt;<BR>&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_info_IMG_PR"=20
VALUE=3D"include/java/rosa/images/icon_info_2.gif"&gt;<BR>&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_info_HINT" VALUE=3D"Consulta por ponto: Clique em um =
ponto no=20
mapa|para obter detalhes do=20
item"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_info_INPUT"=20
VALUE=3D"auto_point"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=
=20
NAME=3D"TB_BUT_info_NAME"=20
VALUE=3D"CMD"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_info_VALUE"=20
VALUE=3D"QUERY_POINT"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARA=
M=20
NAME=3D"TB_BUT_info_JSACTION"=20
VALUE=3D"document.frm.mode.value=3D'query';document.frm.submit()"&gt;<BR>=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_info_CURSOR_TYPE"=20
VALUE=3D"HAND"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_redraw_IMG"=20
VALUE=3D"include/java/rosa/images/icon_redraw_1.gif"&gt;<BR>&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_redraw_IMG_PR"=20
VALUE=3D"include/java/rosa/images/icon_redraw_2.gif"&gt;<BR>&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_redraw_HINT"=20
VALUE=3D"Atualizar"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM =

NAME=3D"TB_BUT_redraw_INPUT"=20
VALUE=3D"submit"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_redraw_NAME"=20
VALUE=3D"CMD"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_redraw_VALUE"=20
VALUE=3D"REDRAW"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM=20
NAME=3D"TB_BUT_redraw_JSACTION"=20
VALUE=3D"document.frm.mode.value=3D'browse';document.frm.submit()"&gt;<BR=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/APPLET&gt;</FONT></DIV></BODY><=
/HTML>

------=_NextPart_000_0014_01C36B4D.7F008460--




More information about the mapserver-users mailing list