Passing parameters from oracle form to html
Hello,
I have an application that requires me to take data from an oracle web form and pass many fields as parameters into an html table.
Is this possible?
Hi Rose,
There is a specific sample form for this kind of actions in the Oracle9i Forms Demos. It is called Save2HTML.
from the help file: F90Write.Write_HTML Description
Writes the data from the specified block to a file in HTML format.
Maybe you can alter the code for your own use.
succes,
Mark
Similar Messages
-
Passing parameters from oracle form to the outside Environment ??
i hava an application in
c:\program files\sms app\sms.exe
this application can run in command prompt and accepts parameters to send sms to customers
example of command to send sms from command prompt(cmd) ,
- i navigate to application path c:\program files\sms app\sms.exe and run command below
sms.exe /p:+1012121212 /m:"message body goes here" /l /t
my question is how can i implement a form contains two text box items & one button
in button press trigger i want code that can pass the textbox1.text to the
command line application sms.exe /p:textbox1.text in the parameter position which accepts the phone_number like above example
and pass the textbox2.text to the other parameter in application which accepts message_body with "" _Double caution marks around the message body
so the final command line will look like this :
Application_Path\sms.exe /p:+1012121212 /m:"message body goes here" /l /t
Notes:
textbox1.text = parameter_data_type = number
textbox2.text = parameter_data_type = varchar2
Oracle Developer Suite 10g , OS:Windows 7
Thanks you very muchthanks for replay poelger ,
can y tell me the full command which i'll use ????
the problem is to escape the "",/ characters ,, so the final result will look like this
Application_Path\sms.exe /p:+1012121212 /m:"message body goes here" /l /t
the host needs to check for the operating system??
Again Thanks.. -
Passing parameters from one form to another
Hi,
I'm trying to pass parameters from 1 form to another. I would be able to call the form, but the parameters are not passed to the calling form. I do not know what's the problem. Basically, the 2nd form shows up with blank values in all the fields. Below is my code. Anybody expert in this, pl. help.
By the way my 1st form is based on PROCEDURE.
declare
s_requestor number(10);
s_customer_impact varchar2(4000);
s_creation_date date;
l_url varchar2(4000);
blk varchar2(10) := 'DEFAULT';
begin
p_session.set_value(
p_block_name => blk,
p_attribute_name => 'A_P_REQUESTOR',
p_value => 88888);
s_requestor := p_session.get_value_as_number
(p_block_name => blk,
p_attribute_name => 'A_P_REQUESTOR');
s_customer_impact := p_session.get_value_as_varchar2
(p_block_name => blk,
p_attribute_name => 'A_P_CUSTOMER_IMPACT');
s_creation_date := p_session.get_value_as_date
(p_block_name => blk,
p_attribute_name => 'A_P_CREATION_DATE');
l_url:=('/pls/portal/PORTAL.wwa_app_module.link?
p_arg_names=_moduleid&p_arg_values=1794837934&
p_arg_names=_show_header&p_arg_values=YES&
p_arg_names=REQUESTOR&p_arg_values='||s_requestor||'&
p_arg_names=CREATION_DATE&p_arg_values='||s_creation_date||'&
p_arg_names=CUSTOMER_IMPACT&p_arg_values='||s_customer_impact);
PORTAL.wwa_app_module.set_target(l_url);
end;the way to call one form from another and pass values for parameters from the procedure is like this:
PORTAL.wwa_app_module.link (
p_arg_names => PORTAL.wwv_standard_util.string_to_table2('_moduleid:_show_header:REQUESTOR:CREATION_DATE'),
p_arg_values => PORTAL.wwv_standard_util.string_to_table2('1191314879:YES:'||s_requestor||':'||s_creation_date));
and so on.
Hope it works for you -
Migration from Oracle Forms to HTML DB ?
Dear all,
is there a tool allowing to migrate from Oracle Forms to HTML DB ?
Thanks.
Best Regards.
Marcello.Hello.
Thanks for your response.
Here is the motivation.
We have still applications developped with Oracle Forms 6i (old version no more supported). We are investigating for doing the migration with a limited expense to Oracle Forms 10g or HtmlDB.
Another questions are :
Is it possible to migrate from Oracle 6i to Oracle Forms 10g ?
Oracle Forms will still exists ? until when ?
Many thanks for your cooperation.
Best Regards.
Marcello.
Marcello CESARO
ICT Architecture
Application Architect
LA POSTE / DE POST
WTC II - desk 13W098
Chaussée d'Anvers 59
1000 Bruxelles
Tél. : 0032 2 2047172
GSM : 0032 494 575149
E-mail : [email protected] -
Calling Web Service passing xml from Oracle Forms
Hello,
I need to call a .net web service from Oracle Forms that passes in xml data and returns xml data.
I have seen several examples of how to create a wrapper in jdev and then to import the code
into forms. I just have not seen any examples that are passing parmameters especially not xml
as a parameter and that have an active wsdl that I can see how it relates to the code created.
I have a wrapper but cannot figure out where and what notation to use to include passing in
an xml object.
Does anyone have an example passing in xml where the wsdl is still available to see?'
Forms version 10.1.2.0.2. Jdev 10.1.3.4
Thanks,
Linda
Edited by: lboyce on Jan 5, 2009 2:30 PMAlso here you have several options...
1. you can make a PJC (bean) which include a webservice stub generated with axis (you can make a stub and also test a webservice with this tool: www.soapui.org)..
2. you can make a database webservice with JPublisher and then just call a pl/sql wrapper for this webservice
4. you can call a webservice with java api (HttpsURLConnection, HttpURLConnection or with apache HTTPClient api) from your PJC for example:
the code below is used as java stored procedure to call a .net webservice on https
====================================
public static int getPStopnja(String polica, String reg_oznaka,
String ime_osiguranika,
String naziv_osiguranika,
String leasing,
String[] doc) {
String l_polica="";
String l_reg_oznaka="";
String l_ime_osiguranika="";
String l_naziv_osiguranika="";
String l_leasing ="";
URL url = null;
HttpsURLConnection conn = null;
BufferedReader br = null;
String lineIn = null;
StringBuffer sb = new StringBuffer();
OutputStream os = null;
int rc = 0;
//kontrole
l_polica = polica==null ? "":polica;
l_reg_oznaka = reg_oznaka==null ? "": reg_oznaka;
l_ime_osiguranika = ime_osiguranika==null ? "": ime_osiguranika;
l_naziv_osiguranika = naziv_osiguranika==null ? "": naziv_osiguranika;
l_leasing = leasing==null ? "": leasing;
String body = "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
body += "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:web=\"https://services.huo.hr/web_ao/\">";
body += "<soapenv:Header/>";
body += "<soapenv:Body>";
body += "<web:get_pstupanj>";
body += "<web:param_in>";
body += "<web:polica>"+l_polica+"</web:polica>";
body += "<web:reg_oznaka>"+l_reg_oznaka+"</web:reg_oznaka>";
body += "<web:ime_osiguranika>"+l_ime_osiguranika+"</web:ime_osiguranika>";
body += "<web:naziv_osiguranika>"+l_naziv_osiguranika+"</web:naziv_osiguranika>";
body += "<web:leasing>"+l_leasing+"</web:leasing>";
body += "</web:param_in>";
body += "</web:get_pstupanj>";
body += "</soapenv:Body>";
body += "</soapenv:Envelope>";
SSLContext sslContext = null;
try {
sslContext = SSLContext.getInstance("TLS");
X509TrustManager[] xtmArray = new X509TrustManager[|http://forums.oracle.com/forums/] { xtm };
sslContext.init(null, xtmArray, new java.security.SecureRandom());
} catch (GeneralSecurityException gse) {
doc[0] = gse.toString();
return -1;
if (sslContext != null) {
conn.setDefaultSSLSocketFactory(sslContext.getSocketFactory());
try {
conn.setDefaultHostnameVerifier(hnv);
} catch (Exception ex) {
doc[0] = ex.toString();
return -1;
try {
URL st = new URL("https://services.huo.hr/web_ao/web_ao.asmx");
conn = (HttpsURLConnection)st.openConnection();
conn.setRequestMethod("POST");
conn.setRequestProperty("Host", "services.huo.hr");
conn.setRequestProperty("Content-Length", "" + body.length());
conn.setRequestProperty("SOAPAction",
"\"https://services.huo.hr/web_ao/get_pstupanj\"");
conn.setRequestProperty("Content-Type", "text/xml;charset=UTF-8");
conn.setDoOutput(true);
OutputStreamWriter wr =
new OutputStreamWriter(conn.getOutputStream());
wr.write(body);
wr.flush();
BufferedReader in =
new BufferedReader(new InputStreamReader(conn.getInputStream()));
String inputLine;
while ((inputLine = in.readLine()) != null) {
sb.append(new String(inputLine.getBytes(),"UTF-8"));
in.close();
//System.out.println(new String(sb.toString().getBytes(),"ISO8559_2"));
doc[0] = sb.toString();
return 0;
} catch (Exception e) {
doc[0] = e.toString() + " ===> " + body + " ==>length= " + body.length();
return -1;
====================================
best regards
Edited by: Peterv6i on Jan 6, 2009 8:34 AM
Edited by: Peterv6i on Jan 6, 2009 8:40 AM -
Passing parameters from vb form to a crystal report with stored procedure
Can someone give me an idea how to use data inputted on vb form to be use as basis of crystal report generation which loads data from a stored procedure. Stored procedure has parameters that was also set in the crystal report. viewing on crystal report is ok but i am having difficulty running the report from vb.
Hi John,
If Not CRRpt.ParameterFields("AgeType") Is Nothing Then
CRRpt.ParameterFields("AgeType").CurrentValues.Clear()
Dim ParamValue As new CrystalDecisions.Shared.ParameterDiscreteValue
ParamValue.Value = AgeType.ToString
CRRpt.ParameterFields("AgeType").CurrentValues.Add(ParamValue)
End If
Note that the ParamValue.Value should be assigned with exact same data type as you declared it in CR.
If it is string, Convert your Variable to string first.
If it is date, make sure you are passing a date variable.
and so on...
Regards
Edy -
Passing parameters from one form to another in swings
hi
Could you please let me know is there any provision to pass the values between two forms in Swing..
For Example: I have two forms : 1 Login Page and 2. Main Form.
After Login Confirmation i want the User name to be displayed in the second form.
Thanks in advance
SrishaIt seems that that is a typical servlet task, not Java Swing.
-
Passing parameters to oracle rports from oracle forms
Dear all,
Can anyone tell me how to pass parameters from oracle forms 10g to oracle reports 10g ,i want to hide my connection string and parameteres while open the report through web
can anyone plese help me out to solve this problem.Hi,
I had trail as advised, but anticipated results were not observed.
Here is the named configuration in formsweb.cfg
[NMPT]
form=D:\NMPT\FORMS\FHOPENFORM.fmx
userid=hmsprod/hmsprod@hindalco
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
imageBase=CodeBase
separateFrame=True
lookandfeel=oracle
logo=none
splashScreen=no
pageTitle =Test Application
background=no
colorScheme=blue
archive_jini=f90all_jinit.jar,icons.jar,frmwebutil.jar,jacob.jar
archive=f90all.jar
height=768
width=1024
envFile=nmpt.env
otherparams=useSDI=yesLOCATIONID=NMPT # new parameter which I want to access in my form
the URL is as follows:
http://MyPC:8888/forms90/f90servlet?config=NMPT
But I am unable to open the login page -
Passing Parameters from Forms to Discoverer
Hello Everybody,
Is there a way to pass parameters from Oracle Forms to discoverer 4??
I want to call Discoverer from a Form and pass parameters to a sheet.
ThanksHi,
I don't have 10g right now, so can't test it...
Isn't it possible to just put the params you won't show to your users 'behind' other objects on the param form?
Strange behaviour anyway, in 6i Reports does not seem to care wether the params are on the form or not.
Rgds,
Guido -
Launching web aplication from oracle Forms
1) How to launch any other web application from from oracle Forms application.
2) Can we pass parameters from Oracle forms application to other web application? if yes how?
Help me2) You can use global variables or you can use the call_form built-in and share_library_data = yes. Recommended by Oracle.
-
Passing parameters from FORM to REPORT
Hello All,
How to pass parameters from a FORM to a REPORT in Oracle Application Server Portal.Vamsi, Are u capturing the imputs for these parameters in the form??
If u are capturing them in the form, then u need to add them to a parameter list (TEXT_PARAMETER) and while calling the report u can send it as a parameter in the RUN_PRODUCT call.
Pls check the syntax for adding parameters and calling report from form in the form builder help. -
Calling a procedure from Oracle Forms with OUT parameter
HI,
Can anyone tell me in detail how to call a procedure with OUT parameters from Oracle Forms 6i ?
Thanks in advance.Hello,
Just provide the out parameter in the call:
Declare
amount number; -- OUT number argument populated by the procedure
Begin
-- call the X procedure --
x( amount ) ;
End;Francois -
How can i pass parameters to every form sucessively or repeatedly
How can i pass parameters to every form sucessively or repeatedly
Eg: I have username which is specified in first form
I want to display and use the username in each and every form after that form
please tell me how to do
i have one solution
i.e., Normal way to pass parameters from one form to another!
Is any procedure to pass paramters to all form at a time???excellent ...
thanks for adding up to my post ..
You can make use of parameters
Every forms shud have same parameter name and u pass on the values of these
Its one of the best ways -
Passing parameters from REPORTS to FORMS.
Hi,
Could anyone help my on this, I'm trying to pass parameters from reports to forms is it possible? could anyone give me an idea how do I have to proceed.
thank youk,
binohttp://technet.oracle.com:89/ubb/Forum4/HTML/009647.html
-
Pass parameter value from oracle reports to HTML
Hi,
Can anybody tell me if i can pass oracle reports6i parameter value to HTML.
Any ideas/suggestions would be helpful
Thanks
KAvithaKavitha,
I didnt quite understand your question. Do you mean you want to use the report parameter form and pass the values entered there to an html form where you will display the output based on the parameters entered by the user ?
If so, No. Not to the best of my knowledge. You can pass parameters from an html form to reports though, if this is what you are looking for.
Regards,
Al
Maybe you are looking for
-
just logged on to my photoshop and box opens up saying user organization name, serail number is missing or invalid? must exit now. I only used it yesterday? Need Help..in middle of big job!???
-
Downloading/installing photoshop elements
I just bought photoshop elements the teacher/student edition and i cant seem to be able to install it. I followed all the steps in the instructions and downloaded proper thing, but once i do that nothing happens. Im sure its probably a simple answer,
-
Internet and a onboard lan in asus m2n-mx se
Hi! Recently I have changed my motherboard to an asus m2n-mx se, wich have lan onboard... My previous motherboard had lan onboard too (asus a7v600-x), and I have used it with dhcp without problems... But now, I am trying to use dhcp and is not workin
-
Video drivers from Mavericks on Yosemite
H everyone, just wondering if anyone could help me with an ongoing issue with my Macbook Pro 17 (mid 2010) with nvidia geforce 330m chip set. UI performance seems terrible in yosemite with constant pauses and juddery animations. This wasn't the case
-
SOA Suite read only console in 11g
Hi All, Is there a possibility to create a user with read only role on EM in 11g? We want to create a user to monitor production environment with out having options for deploy/undeploy. Thank You.