Try to understand JS function doSubmit
Hello,
I'm trying to understand how the APEX built-in function doSubmit() works.
Function from htmldb_html_elements.js:
function doSubmit(r){
flowSelectAll();
$x_Value('pRequest',r)
document.wwv_flow.submit();
} // End doSubmit()
My question:
In document.wwv_flow.submit(), what is wwv_flow ? A JS class ? Where is it defined ?
I guess this code calls the PL/SQL procedure wwv_flow.accept
Thanks
Bertrand
OK !
sorry I am not a JS master
The code source of the HTML page contains:
<form action="wwv_flow.accept" method="post" name="wwv_flow" id="wwvFlowForm" >
That means that when doSumit is called, the request wwv_flow.accept is sent to the HTTP server
regards,
Bertrand
Edited by: user639808 on 29.04.2009 09:43
Similar Messages
-
Dear concern try to understand what i am asking to you that some one calling me and my phone is ringing or that time i am nt using my phone that is in lock mode that time if i want to disconnect that call without using sleep/wakeup botton.So tell me another way to disconect that call in given situation.kindy suggest.
3 topics with the same question?
Please stop creating new topics & start using the ones you already created, they are listed under your activity (click your own username).
kumar kalptaru -
Hello Collective Wisdom,
I have a MacBook Pro from mid-2009 and have recently experienced some problems. There's an above-average bootup time, and whenever I try to perform any functions (say, open a browser window, go into Finder, launch an app, try to type a URL, search for anything), the Spinning Ball of Death comes up for about 5-7 minutes before the function resolves.
I've been able to get into Disk Utility and it suggested I use Command + R at the bootup screen to do a HD Repair, which I did. But the problem is still occuring.
What do I Do?The next time you have the problem, note the exact time: hour, minute, second.
If you have more than one user account, these instructions must be carried out as an administrator.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
View ▹ Show Log List
from the menu bar.
Scroll back in the log to the time you noted above. Select any messages timestamped from then until the end of the episode. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
Please do not indiscriminately dump thousands of lines from the log into this discussion.
Important: Some private information, such as your name, may appear in the log. Anonymize before posting. -
Doubt when i try to create payroll function by using t/c PE04
Hi,
When i try to create payroll function by using t/c PE04. Dialog box is generating saying that 'Object can only be created in SAP development class'.
Can i proceed with enter or i need any customer dev. class.
Thanks in advance...
Thrilleswar.Hi,
I received the same message when I tried to create a new customer function on PE04. I assume that you are trying to create the function starting with Z*.
Try creating the function that starts with Z_*. This will then allow you to save the object in your own develoopment package.
Hope this helps.
-Akshay -
Can't use F4 when try to test Z_INPUT_CUSTOMER function module
Hi!
I'm buy book "ABAP Objects" 2nd edition 2007 and try to make all exampless my self. All my examples have prefix Y (in program already used prefix Z by book authors). When i'm make reservation car example i have trouble to test my example with function module.
Can't use F4 when try to test Y_INPUT_CUSTOMER function module.
And i try to find error in Z_INPUT_CUSTOMERS. Bethween my program and builtint example i found 1 diffirence: built in example have object SREEN 1100 in tree OBJECT NAVIGATOR. When i try to make new srceen happents error (already exist). Because in module declared screen 1100.
How can i fix error?
Best Regards.
[email protected]Hi!
Thank every one. I have found my mistake. I forgot to make search help for id in table customers.
Best regards. -
Hi forum users ,
I also have another question in the usage of the .append function what does this function mean . could anyone explain it from the example that i have given below highlighted in bold .It would be really helpful thank you .
String m;
if (currentConversation.isMulti)
m = msg.getTextNick();
else
m = msg.getText();
StringItem txt = new StringItem(m.substring(0, m.indexOf(">")+1), "");
m = m.substring(m.indexOf(">")+1, m.length());
if ((p = m.indexOf("1smile")) != -1) { //check smiles
conversationForm.append(txt);
conversationForm.append(m.substring(0, p));
conversationForm.append(Contents.displayImage(m.substring(p, p + 7)));
conversationForm.append(m.substring(p + 8, m.length()));Dear BigDaddyLovehandles,
the type of form im trying to understand is illustrated in the code below in bold . If this does not help please reply to this comment . thank you .
*public Displayable getGuiConversation() {*
*try {*
boolean canAnswer = currentConversation.canAnswer();
conversationForm = new Form(currentConversation.name);
Vector msgs = currentConversation.messages;
Message msg;
*if (currentConversation.isMulti || canAnswer) {*
TextField tf = new TextField(">", "", 100, TextField.ANY);
*//TextBox tf = new TextBox("", ">", 128, TextField.ANY);*
infopool.put("text2send", tf);
conversationForm.append(tf);
tf.addCommand(Contents.send);
tf.setItemCommandListener(this); -
Expecting a cartesian join but did not get 1 (try to understand what is hap
Hello Oracle XML DB gurus,
I have successfully registered my schemas and inserted about 10,000 XML documents into the repository. Now I need to start reporting on the data that is in the documents. Following is a simplified form of my set-up.
I have a table that contain a XML_TYPE column that is schema based.
I will call the table TEST_REF it has two columns: ID number (PK) and XML_DOC which is of the foo schema.
foo schema has the following structure (foo is unbounded).
<DataSet>
<fooList>
<foo>
<val1></val1>
<val2></val2>
</foo>
<foo>
<val1></val1>
<val2></val2>
</foo>
</fooList>
</DataSet>
What I would like to do is select the XML document that I want to extract data from using the ID column. After that I wanted to be able to select all of the data values in /DataSet/fooList/foo from that document (val1 & val2).
I was able to do just that using the following query. However, I do not understand why the following query does not give me a cartesian product when I try to operate on mulitple documents. I'm actually getting exactly what I want, which are the individual data values from each document. I just need to understand what is going on. Does the table() function when used in this fashion perform a inner join for you? I hope this make sense.
select doc.id, extractvalue(Column_value,'/foo/val1') as VALUE1,
extractvalue(Column_value,'/foo/val2') as VALUE2
from test_ref doc,
table(XMLSequence(extract(doc.XML_DOC,'/DataSet/fooList/foo'))) foobar
where doc.id ='1'
------------------------ second where causes the I thought would cause a cartesian join--------------------
where doc.id in (1,2)
Sample data and results when using second where clause:
ID=1
<DataSet>
<fooList>
<foo>
<val1>2</val1>
<val2>22</val2>
</foo>
<foo>
<val1>4</val1>
<val2>44</val2>
</foo>
</fooList>
</DataSet>
ID=2
<DataSet>
<fooList>
<foo>
<val1>1</val1>
<val2>11</val2>
</foo>
<foo>
<val1>3</val1>
<val2>33</val2>
</foo>
</fooList>
</DataSet>
Results:
ID Value1 Value2
1 2 22
1 4 44
2 1 11
2 3 33
If what I'm asking does not make sense please let me know. I'm a newbe with this Oracle XML DB stuff. However, I really like what I have seen so far!
Thanks in advance
DerrickIt's a correlated join...
-
I get an error message when I try to use the share function on iPhoto. When I try to share photos via email a triangle icon with an exclamation mark appears. Why can't I use share function?
The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
What version of iPhoto? Assuming 09 or later
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
Regards
TD -
The specific function that produces this error message (the only one so far) is when trying to cancel an order on HSN.com. This is something I have done many times in the past with no problems.
This can also happen if you block JavaScript as the javascript:void; message is a placeholder and the real action is done via an onclick event tied to this button.
You can try these steps in case of issues with web pages:
Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
*Hold down the Shift key and left-click the Reload button
*Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
*Press "Command + Shift + R" (Mac)
Clear the cache and cookies only from websites that cause problems.
"Clear the Cache":
*Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
"Remove Cookies" from sites causing problems:
*Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe Mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Understanding the function modules
Hi,
Can some one clarify the utility of the following:
- BBP_ALERT_SB_NOTTRANSFERED
- BBP_REQREQ_RESUBMIT
- BBP_REQREQ_TRANSFER
- BBP_PD_SC_TRANSFER
This is needed for my understanding
pvHi,
- the BBP_ALERT_SB_NOTTRANSFERED is used for (re)create the alert entries into the alert monitor (the browser variant of the transaction RZ20) for the SCs with the status I1111
- In the alert monitor the administrator has the possiblilty to retransfer or delete the selected items. The BBP_REQREQ_RESUBMIT is called when the administrator decides for retransfering the item from the alert monitor.
- The BBP_REQREQ_TRANSFER is a general function, which calls the BBP_PD_SC_TRANSFER
- The BBP_PD_SC_TRANSFER is the 'normal' way for transfering the follow-on documents into the backend system in case of classic scenario.
If you would like to debug the SC transfer, use the BBP_PD_SC_TRANSFER.
Regards,
Peter -
I get an error when i try to execute a function that returns a date value
Hi,
I'm new in ODP.NET, i'm make a package that contains a function that returns a date i.e.
Package Body General_pkg is
Function Get_Day Return Date is
vd_day date;
Begin
select sysdate into vd_day from dual;
return vd_day;
end Get_Day;
End General_pkg;
i use the next code to execute the function:
OracleCommand cmdData = new OracleCommand("General_pkg.Get_Day", cnx);
cmdData.CommandType = Commandtype.StoredProcedure;
OracleParameter PRM;
PRM = new OracleParameter();
PRM.ParameterName = "VDATE";
PRM.OracleDbType = OracleDbType.Date;
PRM.Direction = ParameterDirection.ReturnValue;
cmdData.Parameters.Add(PRM);
try
cmdData.ExecuteNonQuery();
catch(OracleException e);
When i execute this code, i have and exception, which say "identifier GENERAL_PKG.Get_Day must be declare..."
Obviously the package is correctly created in ORACLE i tested first in sql plus and it works but in ODP.NET they don't recognize the package or the function i don't know... please help!!!OOOOOPSS.... i forgot that i change the user in my conecction string that's why it didn't work...
i guess i had to much beer last night.;. :)
thanks. -
Hi and hello,
I'm creating a program that handels a lot of drawing. It happens that I get some objects that are null.
My old solution was that I made several if:s to see if some of the objects was null. The code was very ugly so I instead of the if:s i want to make a try-catch inside the draw-function.
Old code:
public void draw() {
DoStuffObject object1 = new DoStuffObject();
if (object1 == null)
return;
DoStuffObject object2 = new DoStuffObject();
if (object2 == null)
return;
DoStuffObject object3 = new DoStuffObject();
if (object3 == null)
return;
// Draw...
New code:
public void draw() {
try {
DoStuffObject object1 = new DoStuffObject();
DoStuffObject object2 = new DoStuffObject();
DoStuffObject object3 = new DoStuffObject();
catch (NullPointerException e) {
// Wrong
// Draw...
Is the try-catch a stupid sloution for some reason?
I think I have read that it was slowing down the process.
Thanks!
ErikCeciNEstPasUnProgrammeur:
You don't need to care about the new DoStuffObject. I
was only trying to make my point with the try-catch
instead of the if:s.If I don't need to care about the code, why do you post it? It's very misleading.
We can say that I do getDoStuffObject() instead of
the new DoStuffObject() and the object I'm getting
may be null.Use the ifs, or better, refactor to create a model that your view simply has to draw - or have one method return a set of those objects to iterate over. Hard to tell what you need to do without knowing your code. But whatever it is, don't use exceptions. Some would say don't use multiple returns either.
if (a == null || b == null || c == null ...) {
// do stuff
} -
Try to understand the bequeath process
Hi,
I want to understand the bequeath process. As I know, you don't have to use listener to connect the database if you log on the server. You can use the bequeath protocol, right?
In my rac environment, I have got the following situation.
1, ps -ef | grep oracle
oracle 5695 1 0 12:55 ? 00:00:00 oraclegrieth1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
oracle 5804 1 0 12:55 ? 00:00:00 oraclegrieth1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
oracle 5956 1 0 12:55 ? 00:00:00 oraclegrieth1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
2, echo $ORACLE_HOME
[oracle@css-rac1 ~]$ echo $ORACLE_SID
GRIETH1
3, lsnrctl status
Service "griethXDB.css-net" has 2 instance(s).
Instance "grieth1", status READY, has 1 handler(s) for this service...
Instance "grieth2", status READY, has 1 handler(s) for this service...
4, sqlplus /nolog
SQL> conn sys as sysdba
Enter password:
Connected to an idle instance.
SQL>
5, sqlplus /nolog
SQL> conn sys@grieth1 as sysdba
Enter password:
Connected.
SQL>
Why can I without using @grieth1 not to connect the database?
Message was edited by:
user318649The SID is case sensitive in Unix.
Your SID appears to be grieth1 as opposed to GRIETH1.
Please try using grieth1 for your SID.
Sybrand Bakker
Senior Oracle DBA -
I want to load a data warehouse I have designed and modelled with Erwin with OWB.... and I really have lots of problems to understand how this product works. I have 2 years experience in ETL with data stage mainly (and SQL with oracle, informix and SQL server) but i did not follow any course about OWB and have to load the data within 2 weeks in a small dwh. I have followed this kind of tutorial : http://otn.oracle.com/products/oracle9i/htdocs/9iobe/OBE9i-Public/obe-dwh/html/owb/owb.htm but this is really not enough! I would like to insert text in some fields, dates, do some lookup to load fact tables, some transformation, some loads using if then else,... constraints and derivations (using datastage vocabulary) but I do not have information enough to go further and do not find my way in owb. I also tried using the user guide but this is really not the best reference to try a quick step by step self training with owb. Would you have some reference to do so? Is there not any tutorial,... PLEASE, need help urgently! Thank you in advance!
Samir Temara : [email protected]As for any ETL tool which inevitably contains complex features, it takes some time for the users to familiarize with OWB. The only possible path is the tutorial, mentioned by you, a class or (most useful) -actual implementation experience. A person with 2 years of ETL experience (like yourself) should be able to acquire a reasonable command of the product in 1-2 weeks, and yes you will have to refer to the user guide.
In a nutshell, to complete the OWB implementation you will have to:
1.install OWB (and define the OWB design and run-time environments),
2.define your data sources and design your target data structures in OWB,
3.define the processes which extract data from the sources, transform it and load the data into the targets called mappings (a mapping usually translates into one or more PL/SQL procedures which will be run in the database),
4.Deploy the target objects and mappings into the target (run-time) environment. These are database objects like tables, PL/SQL procedures, dimensions etc.
5.Run the deployed mapping procedures (which will extract data from the source, transform it and load it into the target environment) as needed
6.Periodically modify and redeploy your mappings and target objects to reflect possible changes in the source or target business rules as well as changes in your technological infrastructure (DB upgrades, OWB upgrades etc.)
You can find more documentation at the following web site:
http://otn.oracle.com/products/warehouse/content.html
Regards:
Igor -
Hi ,
I have a few questions regarding the DAQmx Library in CVI.
1.While working with DAQ Devices I'm opening a Task and a channel to some device For example AO1.
I'm setting it to work with an external hardware trigger and defining all the needed parameters , starting the task doing the analog output and stopping the task.
so far so good , but if I want to repeat the same task without setting all the parameters again how can I do that ? Does the device remember it's configuration ?
the thing I need is to make a task that will repeat it self for days with out setting parameters because it takes time from each test, time I don't have.
2.NI Function time cycle , is there any document that show how much time it takes for each function ?
3. DAQmxErrChk (DAQmxCreateAOVoltageChan(gAOtaskHandle,AOchan,"",AOmin,AOmax,DAQmx_Val_Volts,NULL));
the values for AOmin & AOmax : if I'm setting it to -10 : + 10 , is it possible to change it with out creating a new channel ?
Kobi Kalif
Software EngineerWhile I have no idea about your second question, I suppose you can use DAQmxSetChanAttribute with DAQmx_AI_Max and DAQmx_AI_Min attributes respectively. I have no DAQ device at present to make a real test and see if changing these attributes with the task started raises any error or actually does not changes settings at all (that's why I didn't post this before), but you can try it in minutes.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?
Maybe you are looking for
-
How create a variable in the TVARVC that calculate the last week
Hi Gurus, i need create a Variable in the table TVARVC that calculate which was the last week to run a Program in BW, i have no idea how can i do it, where do i must start? please can you tell me step by step, i will really appreciate it
-
When upgrading from OS 10.8.6 to 10.9.2 I lost my MS Office 2004 Student Teacher editon software. This included Word, Excel, Power Point and Entourage. Is this because 9.2 does not support this older Office program? Do I need to up grade Office or
-
Hi experts, I created a currency conversion type in transaction RSCUR. My problem is I don't see this in BEx query designer. I used an existing one as template and experienced the same. Did I miss something or is it a system bug? For your info we are
-
Terminal Services (TS) or Remote Desktop Services (RDS) scenario clarifications
Dear Support, Question: Do I still need to purchase RDS CALS license? or can use MSDN CALs in the Terminal Server? Due to MSDN subscribers are End users, do not use Production Data and have to demo their developed applications to other End users grou
-
I have been charged twice on one of the 3 purchases I made on 7/6/2012 for the Bejeweled Blitz, (1) $4.99, (1) $9.99 , and (1) $4.99. My credit card has been charged for (1) $9.98, (1) $9.99 and (1) $9.98, which totalizes $29.95 instead of $19.97.