Oracle Openscript and javascript functions
I'm using Openscript on a form page that is using a clickable div "save" button. When the button is clicked manually a javascript event is executed to save the changes on the page. When I play back the script, the script clicks on the button and gets redirected to the next page but does not save the changes I made on the text boxes. I'm guessing it doesnt run the ng-click updateUser() function when doing a playback. How can I get openscript to click on the save button and run the javascript function?
Openscript code:
web.button( "/web:window[@index='0' or @title=Payment Processor']/web:document[@index='0']/web:form[@name='form' or @index='0']/web:button[@index='1']") .click();
This is what the div save button code looks like:
<div class="row"> <div class="col-xs-12"> <button class="btn btn-primary" ng-click="updateUser()"> <i class="fa fa-asterisk"></i> Save </button> </div> </div>
Hi,
You mentioned click action on div element, but your code is click action on button. get Xpath of div element and perform respective action on the same.
Similar Messages
-
Attention JavaScript and Oracle Guru's,
My company has come up with a great requirement using JavaScript and dynamic pages to provide end users with a Systems Availability Information portlet, which scrolls text along the screen.
This is as follows.....
They want a Portlet which scrolls text along the screen on the users home page. This has been easy enough to implementbut now this information has to be supplied from the database (an Internal Systems Operation team input information into this table via a form)
HmmmmOracle tags do not work within JavaScript. So I have created a hidden form on the outside of the JavaScript to pass in text.
This works great with normal text variables, so I thought the addition of Oracle tags would be the next logical step needed to pass data from the database into the scrolling text Portlet.
With use of the <Oracle> tags and hidden variables I have managed to come up with the following....
<html>
<body>
<form id="hiddenOracleForm">
<input type="hidden" name="recordset1" value="<oracle> select * from mnunn.matt_ticker_table</oracle> ">
</form>
< !-- START OF SCRIPT -->
<HTML>
<BODY BGCOLOR="FFFFFF" TEXT="000000" LINK="0000FF" VLINK="800080" ALINK="FF0000">
<head>
<script language="JavaScript">
< !-- begin
var max=0;
function textlist()
max=textlist.arguments.length;
for (i=0; i<max; i++)
this=textlist.arguments[i];
document.write('the variable for rs1 is ' + rs1);
var rs1 = document.forms['hiddenOracleForm'].recordset1.value;
tl=new textlist
rs1
var x=0; pos=0;
var l=tl[0].length;
function textticker()
document.tickform.tickfield.value=tl[x].substring(0,pos)+"_";
if(pos++==l) { pos=0; setTimeout("textticker()",1000); x++;
if(x==max) x=0; l=tl[x].length; } else
setTimeout("textticker()",50);
// end -->
</script>
<head>
<body onLoad="textticker()" >
<center>
<form name="tickform"><input type=text name="tickfield" size=40></form>
</BODY>
</HTML>
< !-- END OF SCRIPT -->
<img src="file://hofisintranet1/qualitydocs$/DW/stag bitmaps/monfaq.gif" border="0">
< !-- START OF SCRIPT -->
< !-- For more scripts visit http://www.hof.co.uk -->
<FORM><input type="button" Value="Click here for full details" ONCLICK="window.open('http://www.hof.co.uk', 'Sample', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=635,height=260')"></FORM>
< !-- END OF SCRIPT -->
</body>
</html>
Now when this scrolls along the screen, I do not get the expected outcome from the database table. Instead it scrolls.<TABLE border=
I dont know where this information has come from because it should say..
Enter password:
Connected to:
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
JServer Release 8.1.7.0.0 - Production
SQL> select * from mnunn.matt_ticker_table;
INFO
This is information taken from the portal database
SQL>
Has anybody tried this before or got any ideas on where I could be going wrong??????
Thanks for any help..Matt.
nullI'll try for the repost. This time without the compilation of the code......here goes.
Attention JavaScript and Oracle Guru's,
My company has come up with a great requirement using JavaScript and dynamic pages to provide end users with a Systems Availability Information portlet, which scrolls text along the screen.
This is as follows.....
They want a Portlet which scrolls text along the screen on the users home page. This has been easy enough to implementbut now this information has to be supplied from the database (an Internal Systems Operation team input information into this table via a form)
HmmmmOracle tags do not work within JavaScript. So I have created a hidden form on the outside of the JavaScript to pass in text.
This works great with normal text variables, so I thought the addition of Oracle tags would be the next logical step needed to pass data from the database into the scrolling text Portlet.
With use of the <Oracle> tags and hidden variables I have managed to come up with the following....
<form id="hiddenOracleForm">
<input type="hidden" name="recordset1" value="<oracle> select * from mnunn.matt_ticker_table</oracle> ">
</form>
<!-- START OF SCRIPT -->
<BODY BGCOLOR="FFFFFF" TEXT="000000" LINK="0000FF" VLINK="800080" ALINK="FF0000">
<head>
<script language="JavaScript">
<!-- begin
var max=0;
function textlist()
max=textlist.arguments.length;
for (i=0; i<max; i++)
this=textlist.arguments[i];
document.write('the variable for rs1 is ' + rs1);
var rs1 = document.forms['hiddenOracleForm'].recordset1.value;
tl=new textlist
rs1
var x=0; pos=0;
var l=tl[0].length;
function textticker()
document.tickform.tickfield.value=tl[x].substring(0,pos)+"_";
if(pos++==l) { pos=0; setTimeout("textticker()",1000); x++;
if(x==max) x=0; l=tl[x].length; } else
setTimeout("textticker()",50);
// end -->
</script>
<head>
<body onLoad="textticker()" >
<center>
<form name="tickform"><input type=text name="tickfield" size=40></form>
</BODY>
<!-- END OF SCRIPT -->
<img src="file://hofisintranet1/qualitydocs$/DW/stag bitmaps/monfaq.gif" border="0">
<!-- START OF SCRIPT -->
<!-- For more scripts visit http://www.hof.co.uk -->
<FORM><input type="button" Value="Click here for full details" ONCLICK="window.open('http://www.hof.co.uk', 'Sample', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=635,height=260')"></FORM>
<!-- END OF SCRIPT -->
Now when this scrolls along the screen, I do not get the expected outcome from the database table. Instead it scrolls.<TABLE border=
I dont know where this information has come from because it should say..
Enter password:
Connected to:
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
JServer Release 8.1.7.0.0 - Production
SQL> select * from mnunn.matt_ticker_table;
INFO
This is information taken from the portal database
SQL>
Has anybody tried this before or got any ideas on where I could be going wrong??????
Thanks for any help..Matt. -
API (interface tables) to synchronize Oracle EBS and outsourced functions?
Hi,
Our company is outsourcing the inventory and shipping functions. Now we'll need to synchronize the Oracle EBS with actual shipment data. We have've to use the APIs and keep Oracle tables in sync with the legacy system.
Which API we can use for Pick Confirm, when we have to do WMS and LPN handling? Or is there some other way (like interface tables) to take care of this issue?
APIs should be supported with our EBS version 11.5.9. EBS version upgrade is not possible for us now. We'll need info how to implement above issue asap.
BR Mervi MalmiHi;
All APIs are listed in Oracle Integration Repository
http://irep.oracle.com/index.html
API User Notes - HTML Format [ID 236937.1]
R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
Technical Uses of Customer Interface and TCA-API [ID 269121.1]
Pelase also check below:
Api's in EBS
Re: Api's in EBS
http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
API
Fixed Asset API
List of API
Re: List of APIs
Oracle Common Application Components API Reference Guide
download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
List of APIs and open interface R12
Re: List of APIs and open interface R12
Regard
Helios -
Repeated area and javascript function
Hello every body,
I have a problem and I can't find the solution, but I am sure
it is solvable !
my page is a PHP page, I work with Dreamweavere 8
I have a catalog list which presents global product reference
based on article designation
for instance : poppy flower
when I click on the image I arrive on a new page with
detailed information, and the different references available (in
fact I can have 1, 2 or 3 articles references depending on the
different available sizes).
I have a form named "ChoixArticle", containing a table with
the following info coming from a database MySql
article reference
article height
article width
article color = drop-down list
article price
quantity : text area to fullfill
total price for the article
I insert a javascript function which works correctly when I
have only ONE product as result of my query, BUT when I have more
than one result, it doesn't work anymore
I insert the code of my page for more brightness.
hope my explanation is clear enough
Thank for your welcome help !
Françoise from Paris
========================
there below my code
========================> In this case he is not using "id", but "name". When the
js parser sees
> form controls with the same name it creates a
collection.
>
> document.forms['ChoixArticle'].elements['res']
>
> The first text box is referenced as:
> document.forms['ChoixArticle'].elements['res'][0]
> and so on.
Ahhh I did not pick up on that. Thanks for pointing it out.
E. Michael Brandt
www.divaHTML.com
divaPOP : standards-compliant popup windows
divaGPS : you-are-here menu highlighting
divaFAQ : FAQ pages with pizazz
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
JSF 2.0 and javascript function
I am using jsf 2.0, NetBeans 7.2 and WLS 12c.
In JSF page I am callling a js script function and on submit it should invoking the backing beans method.
<h:commandButton id="btnUpload" value="Login" onclick="showProgress(); return false;" action="#{login.dologin}" />
Because return false is used it invokes the js function but does not do the invoke the method specified in the action attribute. instead i get new window which is a duplicate of the current.
If js method is not there it invokes the action method.If js method is not there it invokes the action method.So try with the JS function there, but without the return false ?
-
Call javascript function using parameters cause a immediate execute at load
Hello.
I recognized a strange behavior if I try to use parameters to javascript in af:clientListener method property.
Using syntax <af:commandButton text="Init" id="cb1"
partialSubmit="true">
<af:clientListener method="OnInitControl1" type="click"/>
</af:commandButton> and javascript function OnInitControl1() {
alert('OnInitControl1 called');
} the method OnInitControl1 is called first with the click of the button.
But with the syntax <af:commandButton text="Init" id="cb1"
partialSubmit="true">
<af:clientListener method="InitCtrl('Control1')" type="click"/>
</af:commandButton> and javascript function InitCtrl(frameName) {
alert('InitCtrl(' + frameName + ') called');
}the function InitCtrl is called immediate at load of the page.
In both cases the javascript file is inserted in af:document using<af:resource type="javascript" source="/ScriptHelper.js"/>Is my syntax for "method" property of the af:clientListener wrong?
Paul.Hi,
I am using Oracle JDeveloer version 11.1.1.0.2. I have gone through your discussion. Since i am new to ADF, just wanted to request you to share the code related to <af:resource type="javascript" source="/ScriptHelper.js"/>. Also, the Tag included for the same. In my Environment, if i use <af:resource, it shows, "element af: resource is not expected".
My requirement is similar to your as you explained in details. I need to push all the client side validation to Javascript file and need to call in the ADF pages wherever it is required (re-usable). Also, is there any specific formate for JS file to be maintained from the point of view of ADF calling the JS file.
Your help will be greatly appreciated.
Thanks in Advance,
--Mahesh -
APEX as frontend for Oracle Maps and Mapviewer data
Just to let you know:
I did some work with Oracle Application Express (APEX) integrating Oracle Maps and Mapviewer functionality
and published it occasionly it in my Oracle Application Express (German) BLOG. : http://htmldb-de.blogspot.com/ -
Guess you will understand from the screens, what all is possible and beyond...
An integration (application) of APEX and Mapquest for Routeplanning done in APEX can be seen (and downloaded) as well.
Feel free to have a look !
Bernhard
http://htmldb-de.blogspot.com/Just to let you know:
I did some work with Oracle Application Express (APEX) integrating Oracle Maps and Mapviewer functionality
and published it occasionly it in my Oracle Application Express (German) BLOG. : http://htmldb-de.blogspot.com/ -
Guess you will understand from the screens, what all is possible and beyond...
An integration (application) of APEX and Mapquest for Routeplanning done in APEX can be seen (and downloaded) as well.
Feel free to have a look !
Bernhard
http://htmldb-de.blogspot.com/ -
OpenScript and Oracle forms 10g
Well, have I had fun today.
Trying to record a functional test script with Oracle forms. It's been a long day, and I have had enough. To cut a very,very,very long story short here is the output from the Java console once I got the 10g forms demo working with IE7.
Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\wayne.SCLOFFICE
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\wayne.SCLOFFICE\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndforms.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndformsi18n.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndewt.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndswing.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndbalishare.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndaol.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndctx.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndlist.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndutil.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndtcf.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndgantt.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndpromise.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndjewt.jar
Error1: File not found: http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndjewt.jar
java.io.FileNotFoundException: File not found: http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndjewt.jar
at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at oracle.oats.scripting.modules.formsFT.classloader.FormsFTClassLoader.download(Unknown Source)
at oracle.oats.scripting.modules.formsFT.classloader.FormsFTClassLoader.loadFormsClient(Unknown Source)
at oracle.oats.scripting.modules.formsFT.classloader.FormsFTClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Load Forms Jars from target instance ...
0...http://apollo.scloffice.com:8889/forms/java/frmall_jinit.jar
1...http://apollo.scloffice.com:8889/forms/formsdemo/jars/demo.jar
2...http://apollo.scloffice.com:8889/forms/formsdemo/jars/icons.jar
3...http://apollo.scloffice.com:8889/forms/java/
cracked oracle.forms.engine.Main
cracked oracle.forms.engine.Runform
Forms Version: 10.1.2.0
cracked oracle.ewt.lwAWT.LWScrollbar
cracked oracle.forms.net.SocketConnection
servarg: escapeParams=true module=healthyliving.fmx userid= sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= output_dir=g:\oracle\DevSuiteHome_1\forms\demos\temp record=names
cracked oracle.forms.net.HTTPConnection
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
log4j:WARN No appenders could be found for logger (oracle.oats.scripting.modules.formsFT.helper.helperService.HelperServiceConnection).
log4j:WARN Please initialize the log4j system properly.
Helper Service Message :<Message name = "StartConnection" port="44444"/>
Initialize Debugger: null
java.lang.NoClassDefFoundError: oracle/apps/fnd/ui/ChoiceBox
at oracle.oats.scripting.modules.formsFT.helper.Context.getComponent(Unknown Source)
at oracle.oats.scripting.modules.formsFT.helper.Engine.onPutMessage(Unknown Source)
at oracle.oats.scripting.modules.formsFT.helper.OracleFormHook.onPutMessage(Unknown Source)
at oracle.forms.net.HTTPConnection.putMessage(Unknown Source)
at oracle.forms.engine.FormsDispatcher.putMessage(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage_C(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform_C(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
OpenScript server port is 44444
Now then points to note:
1) Openscript does not ship with the complete forms jars. Hence the download failure from the server (I think?).
2) The NoClassDefFoundError java.lang.NoClassDefFoundError: oracle/apps/fnd/ui/ChoiceBox makes sure the app does not appear (although outside of Openscript everything is cool!!). After an age, I found that this particular class is located is EBS11i_CrackedClass.jar which is a jar file in one of the lib directories of Openscript. On my install G:\oracleATS9\OpenScript\openscript_configuration\org.eclipse.osgi\bundles\49\1\.cp\lib\formsClient\EBS11i_CrackedClass.jar to be precise.
Question: Does this file need to be referenced by the app config?? I'm sure I'm very close to getting this working but ClassNotFoundErrors do not help.
Any input woudl be GREATLY appreciated.
Regards
Wayne.Who's a clever boy then :)
Okay, so the way I solved this was
1) Take the frmall_jinit.jar and extract the contents which in my install contained another jar file called forms.jar.
I then ran jar cvf forms.jar to extract the contents to a directory called oracle (first part of the package name).
I them ran the same for all the jars list above which extracted the classes into the oracle directory.
I then ran jar cvf frmall_jinit.jar .\oracle
Which (obviously) creates a new jar file with all classes. I then copied this to the g:\oracle\devsuitehome\forms\java directory.
I then ran openscript and and recorded a simple interaction with one of the form demos. (With Jinitiator set to open java console) and I got this output:
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndforms.jar
Error1: File not found: http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndforms.jar
java.io.FileNotFoundException: File not found: http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndforms.jar
at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at oracle.oats.scripting.modules.formsFT.classloader.FormsFTClassLoader.download(Unknown Source)
at oracle.oats.scripting.modules.formsFT.classloader.FormsFTClassLoader.loadFormsClient(Unknown Source)
at oracle.oats.scripting.modules.formsFT.classloader.FormsFTClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Load Forms Jars from target instance ...
0...http://apollo.scloffice.com:8889/forms/java/frmall_jinit.jar
1...http://apollo.scloffice.com:8889/forms/formsdemo/jars/demo.jar
2...http://apollo.scloffice.com:8889/forms/java/
cracked oracle.forms.engine.Main
cracked oracle.forms.engine.Runform
Forms Version: 10.1.2.0
cracked oracle.ewt.lwAWT.LWScrollbar
cracked oracle.forms.net.SocketConnection
servarg: module=save2html.fmx usesdi=yes userid= sso_userid= OUTPUT_REAL_DIR=g:\oracle\DevSuiteHome_1\forms\demos\temp/ OUTPUT_VIRTUAL_DIR=/forms/formsdemo/temp/ record=names
cracked oracle.forms.net.HTTPConnection
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
log4j:WARN No appenders could be found for logger (oracle.oats.scripting.modules.formsFT.helper.helperService.HelperServiceConnection).
log4j:WARN No appenders could be found for logger (oracle.oats.scripting.modules.formsFT.helper.helperService.HelperServiceConnection).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN Please initialize the log4j system properly.
Helper Service Message :<Message name = "StartConnection" port="44444"/>
Initialize Debugger: null
cracked oracle.apps.fnd.ui.ChoiceBox
cracked oracle.apps.fnd.flex.FlexWindow
cracked oracle.apps.fnd.ui.ResponseBox
cracked oracle.apps.fnd.formsClient.ChoiceBoxMessenger
cracked oracle.apps.fnd.formsClient.InfoBoxMessenger
cracked oracle.apps.fnd.formsClient.FlexWindowMessenger
cracked oracle.apps.fnd.formsClient.EditBoxMessenger
cracked oracle.apps.fnd.formsClient.ResponseBoxMessenger
cracked oracle.forms.handler.TextFieldItem
cracked oracle.forms.handler.ListValuesDialog
cracked oracle.forms.handler.EditorDialog
cracked oracle.forms.handler.HelpDialog
cracked oracle.ewt.lwAWT.lwText.LWTextComponent
OpenScript server port is 44444
cracked oracle.forms.handler.ListValuesData
cracked oracle.forms.handler.AlertDialog
cracked oracle.ewt.alert.AlertPane
cracked oracle.apps.jtf.table.ReadOnlyGrid
cracked oracle.apps.jtf.schedulingChart.client.SchedulingDataClient
RECORD<--OracleForms.windowChange("WINDOW1%dimension=0,0,675,480");
RECORD<--OracleForms.button("//forms:button[(@name='HTML_CONTROL_WRITE_HTML_BUTTON_0')]").setFocus();
RECORD<--OracleForms.radioButton("//forms:radioButton[(@name='HTML_CONTROL_REC_OPTION_VIEWED_RECORDS_0')]").select();
RECORD<--OracleForms.button("//forms:button[(@name='HTML_CONTROL_WRITE_HTML_BUTTON_0')]").setFocus();
RECORD<--OracleForms.radioButton("//forms:radioButton[(@name='HTML_CONTROL_DISPLAYED_ONLY_DISPLAYED_ONLY_T_0')]").select();
RECORD<--OracleForms.button("//forms:button[(@name='HTML_CONTROL_WRITE_HTML_BUTTON_0')]").setFocus();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollTo("1");
RECORD<--OracleForms.textField("//forms:textField[(@name='EMPLOYEES_EMPLOYEE_ID_0')]").setFocus();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollDown();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollDown();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollDown();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollDown();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollDown();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollDown();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollDown();
cracked oracle.apps.jtf.table.SpreadTableWrapper
RECORD<--OracleForms.button("//forms:button[(@name='CONTROL_HELP_BUTTON_0')]").click();
Marvellous!!
Question: I did not think you can have a jar file which contains other jar files....Openscript could not resolve the classes properly. Are nested jar's supported in Java??
Thanks Alex et al.
Regards
Wayne.
p.s. the playback worked fine!! :) -
Scenario:
I have a text area in flash. The user will copy paste any JavaScript function in the text area and click execute button. The JavaScript function pasted in the text area should be executed with in the flash itself and the return value will be shown in another text field.yes,
function testF(s:String):XML{
var js:XML = <script>
<![CDATA[
]]>
</script>
js.appendChild(XML(s));
return js;
ExternalInterface.call(testF(your_tf.text)); -
How to get value stored in javascript function and display in a JSP
i am doing a questionaire which is for user to input data in every question, After user input the data, a javascript function will be called to do some score calculation. Since each question will carry its final score after the calculation by the javascript function, so i use an array to store those scores and then display those scores in the same page.
However, i have to make a confirmation page to display both data and calculated score in another jsp, i only know how to display the data as it is a textfield that i can get the value by "request.getParameter("textfield1"); but i dun know how to get those scores as they are stored in an array in the javascript function, what way i can do??thank you for all your help!
I have chosen to set the score value to the hidden field when every time run the function
<script language="javascript">
function cal(index){
var thisForm = document.MC;
thisForm.score1.value=score[index];//set value to the hidden field
</script>
<input type="hidden" name="score1" value="">
<input type="hidden" name="score2" value="">
<input type="hidden" name="score3" value="">
The function will calculate only one score when every time being called. So that i can only assign one score to one hidden value at a time.
e.g, assign score[1] to thisForm.score1.value
assign score[2] to thisForm.score2.value
assign score[3] to thisForm.score3.value
how can i do this?? -
Calling a javascript function from java code and getting tha value in Java
Hi,
I would like to call a Java script function confirmRemove() from Java code upon meeting a condition..
for example the code snippet is:
if(true){
// I want to call js confirmRemove() over here. And get the value of variable "answer" in this if block.
<html>
<head>
<script type="text/javascript">
function confirmRemove() {
var answer = confirm("Are you sure you want to Delete?")
</script>
</head>
<body>
<form>...Hi,
Back in 2003 I have used an Applet which contain java code and this java code was calling the java scripts ( different methods, DHTML etc..)
There was a component developed by NetScape called JSObject I am not sure it there is other third party component other then the JSObject
look at this article which shows how (based on JSObject)
[http://java.sun.com/products/plugin/1.3/docs/jsobject.html|http://java.sun.com/products/plugin/1.3/docs/jsobject.html]
Regards,
Alan Meio
London,UK -
Are there different php functions for Oracle 8 and 9?
Hi!
Are there different php functions for Oracle 8 and 9?
Thanks for your answer!You can use the oci8* functions for Oracle 8, 9 and 10.
It is the most recent PHP interface to Oracle, and uses Oracle's most recent
API.
The name oci8 comes from the version number of Oracle - version 8 - when
Oracle introduced a new C API. It succeeded the original OCI and got the
common name OCI8. The original OCI now has the common name of OCI7.
-- CJ -
Firefox and click javascript function on h:commandLink
I was wondering if you can help me with a problem i'm having with a h:commandLink tag. What I am trying to do is give the user a choice of executing the action or not by using the confirm() and click() javascript functions:
<h:commandLink id="runNowLink" styleClass="tableFooterText" value="#{ViewResources.RunNow}" action="#{Schedule.runNow}" onmouseup="if(confirm('#{ViewResources.RunNowConfirm}')) this.click()"/>
This works in IE, a dialog box with "ok" and "cancel" appears and depending on which option the user selects, the link is "clicked" or not. However, this does not work in firefox as the browser just goes through with the action regardless of the option selected. Can someone please help?probably set the property of <h:commandLink type="submit" /> or <h:commandLink immediate="true" />
-
Alert, confirm and prompt javascript functions died with ios 7
Alert, confirm and prompt javascript functions died with ios7. Will it be fixed? It breaks websites.
Hi..
JavaScript is no longer available to switch on or off in Settings > Safari.
So apparently that function has died with iOS 7.
message edited by: cs -
Cache javascript functions and images
Hi,
Web based J2EE application [STRUTS FRAMEWORK]
None of my images, javscript and media functions/files are getting cached by browsers. I printed the HttpServletRequest headers and it shows
request.getHeader("cache-control") = "no-cache"
I want all my images and other stuff to get cached. I am not setting anything anywhere not to cache. I dont know how cache-control has become no-cache
I tried many things like
SETTING META tag "cache-control" to "Public" in all my jsps
In all my java action classes I have putreposnse.setheader("cache-control","Public");
But no luck. Any ideas?
Thanks
Sunili dont think you can control that.
If your browser is setup to reload page every visit then i guess he reloads, nothing you can do about that.
Maybe you are looking for
-
I currently have iPhoto '09 version 8.1.2. I tried uploading pictures from iPhoto to Facebook but I get the message "An error has occured. Please try again later". File > Export > Login (which brings me to the Login page on Facebook) > I sign in & th
-
Migration Assistant - All of the files were not transferred
I transferred all the user files, settings and applications using migration assistant. I went from an intel iMac to a newer intel iMac. Snow Leopard to Lion. I checked everything in the migration assistant except for the iPhoto library of one of the
-
Windows Crashes with JRE 1.4.2 When Moving around JDialog
Hi! I work on a Java Applet/application that was originally written to run on java 1.1 -- only AWT that too. Recently I managed to convince my manager (and his manager and his manager) to migrate from the AWT framework on java 1.1 (Microsoft JVM that
-
Turn off external display output?
I've bought a nice big LCD TV mainly for consoles. Because I have it next to my iMac i've also connected that to the TV using a mini-dvi adapter and a dvi-hdmi cable. It works great but I only want to use it for playing downloaded video and the like
-
CANNOT SYNC BLACKBERRY BOLD TO BLACKBERRY Z 10
Have been using Blackberry Bold for many years and regulalry backing it up. Purchased Z10 and cannot back up my contacts. Blackberry Link does not recognise old phone. Please help.