Home » Developer & Programmer » Forms » How Oracle9i Form Builder interact with Html waebpage?? (Forms [32 Bit] Version 9.0.2.9.0), oracle JInitiator Version 1.3.1.9, WebUtil Version 1.0.2(Beta), window xp service pack 2 build 2600, Internet Explorer 8)
How Oracle9i Form Builder interact with Html waebpage?? [message #607359] Wed, 05 February 2014 02:20
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
I created a form called read_web_file.fmb

this form has

a- block called METAR_BLOCK under which a text item called metar_code with initial values airport code (OLBA, LCLK )

b- block called Button under which a button PASS_VAUES is created.



My question is:

I am looking for a trigger (procedure, function, or package, .....) that may be written under the PASS_VALUE button in read_web_file.fmb so that, when it is fired tow events consequently will be achieved:
a- passing values form metar_code text_item (olba lclk....) found in read_web_file.fmb to metar text_item found in metar_taf.html
and
b- run the script written on the button submitmet (found in the metar_taf.html)



Note:

1) the script written on submitted button(found in the metar_taf.html) when clicked, generates a new html file that contains all airport code messages for (olba lclk....)

2) this is a part of view source code for metar_taf.html page:

UL>

<LI>Latest METAR text: Enter 4-letter ICAO station identifier. If more

<B> KDEN KCOS @WY</B>). A list of weather stations is

<A HREF="/static/adds/metars/stations.txt">stations.txt</A>.<BR>

<TABLE SUMMARY="This table is used for formatting purposes only" ALIGN="left" BORDER=0 CELLSPACING=0 CELLPADDING=3>

<TR>

<TD ALIGN="left"><INPUT SIZE=14 NAME="station_ids" TYPE="text">   

</TD>

<TD ALIGN="left"><INPUT TYPE="radio" NAME="std_trans" VALUE="standard" CHECKED> Raw Format<BR>

<INPUT TYPE="radio" NAME="std_trans" VALUE="translated"> Translated

</TD>

</TR>

</TABLE>

<BR CLEAR=ALL>

<INPUT TYPE="checkbox" NAME="chk_metars" checked> METARs   

<SELECT name="hoursStr">

<OPTION SELECTED>most recent only</OPTION>

<OPTION>past 1 hours</OPTION><OPTION>past 2 hours</OPTION><OPTION>past 3 hours</OPTION>



<OPTION>past 5 hours</OPTION><OPTION>past 6 hours</OPTION><OPTION>past 12 hours</OPTION>

<OPTION>past 18 hours</OPTION><OPTION>past 24 hours</OPTION><OPTION>past 36 hours</OPTION>


</SELECT><BR>

<INPUT TYPE="checkbox" NAME="chk_tafs"> TAFs<BR>

<BR>

<INPUT NAME="submitmet" TYPE="submit" VALUE="Submit"> <INPUT TYPE="reset" VALUE="Reset FORM"></FORM>

</UL>
Previous Topic: How to make selected text bold in text item using oracle form 6i
Next Topic: How to delete Current Cursor Record Using a button
Goto Forum:
  


Current Time: Tue Apr 16 06:45:05 CDT 2024