<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi There
<p> You need to define TB_BUT_?_JSACTION with something like this
:
<p>        <PARAM NAME="TB_BUT_pquery_INPUT"
VALUE="auto_rect">
<br>        <PARAM NAME="TB_BUT_pquery_NAME\"
VALUE="CMD">
<br>       <PARAM NAME="TB_BUT_pquery_VALUE"
VALUE="QUERY_POINT">
<br>      <b><PARAM NAME="TB_BUT_pquery_JSACTION"
VALUE="TestFunc('aaa')"></b>
<p>You need a Javascript function called TestFunc defined something like
<br>function TestFunct(value)
<br>{
<br>  window.alert(value);
<br>}
<p>When the action is done using the button, instead of submitting the
page, the javascript function will be called.
<br>Hope it hepls,
<p>Later,
<p>Guillaume Sueur wrote:
<blockquote TYPE=CITE>Hi there,
<br>Reading rosa applet documentation, I saw that it was possible to call
a
<br>javascript function from a rosa applet button using the JSACTION parameter.
<br>But I haven't able to use it properly yet. Could someone give me a
hint ?
<br>Thanks
<p>--------------------------------------------------------
<br>Guillaume SUEUR
<br>Ingénieur développement SIG
<br>Géosignal
<br>25bis av Marcel Dassault
<br>BP 5836
<br>31505 TOULOUSE CEDEX 5
<br>Tél : 05 61 17 47 17
<br>--------------------------------------------------------</blockquote>

<p>--
<br>----------------------------------------------------------------
<br>Assefa Yewondwossen
<br>Software Analyst
<p>Email: assefa@dmsolutions.ca
<br><A HREF="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</A>
<p>Phone: (613) 565-5056 (ext 14)
<br>Fax:   (613) 565-0925
<br>----------------------------------------------------------------
<br> </html>