Need help in inserting first ever save
I need help to insert my first record ever from a page of the OFA.I created a "MasterAM" AM, "MasterVO" is added it. Created a Page CreatePG which has a submit button, id = apply
Here's processRequest CreateCo
' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processRequest (pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule (webBean);
If (! pageContext.isFormSubmission ()) {}
am.invokeMethod ("createRecord", null);
}
}
and here is processFormRequest
' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processFormRequest (pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule (webBean);
If (pageContext.getParameter ("Apply")! = null)
{
OAViewObject vo = (OAViewObject) am.findViewObject ("MasterVO1");
am.invokeMethod ("apply");
pageContext.forwardImmediately ("OA.jsp?page=/abcd/oracle/apps/per/selfservice/xxdemo/webui/CreatePG",
NULL,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
NULL,
NULL,
true,
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
}
}
}
Here is 'createRecord' and 'apply' in MasterAMImpl
public void createRecord() {}
OAViewObject vo = (OAViewObject) getMasterVO1 ();
If (! vo.isPreparedForExecution ()) {}
vo.executeQuery ();
}
Line = vo.createRow ();
vo.insertRow (row);
row.setNewRowState (Row.STATUS_INITIALIZED);
}
{} public void apply()
getTransaction () .commit ();
}
When I run the page, it opens and I try to enter some data and press on apply. It does not insert in the table.
Could someone help me.
My version of jdeveloper is 10.1.3.3.0.3
Only for EO according to your, DML operations are supported by the Framework. For the no - EO according to your... We need to explicitly insert records using jdbc.
See you soon
Ganesh
Tags: Oracle Applications
Similar Questions
-
need help with insert sitemap in the footer with the adobe site map muse
Hi I need help, to know how to insert a site map link in the footer of a page Web in muse Adobe.
a quick google search just shows how to create a site map, but no mention of how to get a clickable link to a sitemap on a Web footer.
any help would be appreciated.
Hello
You can try to front page of the site hyperlink to any text that would open the sitemap on the mouse action.
For example, domain.com/sitemap.xml, enter in this format in hyperlink with any text or image that you can place on the page footer area.
Thank you
Sanjit
-
Ofa: need help to insert a record into DB
Hi friends
I am totally new to the OFA and Jdev
I use Jdev version 9i 9.0.3.5
MY first task is to create a queryPG ... for that, I created a table in my PB with 3record
who has created a table in my Db with 3record,
and I created VO, AM, QueryPG, and QueryMainCO in my Jdev
And in my first task I can successfully recover data from forms my DB*.
(2) in the same .jpr my second task is to insert a record into my DB
In this task, I have been struck for more than 2 weeks... so please help me to do my 2nd task
in my queryPG I HAV to set a button called wen 'Person to create' I click that it must navigate to the CreatePG were I want to get data and wen I click on 'save' which is located in the CreatePG... the data I enter the createPG must be stored in my DB
In the createPG I HAV to set this field {personId, firstname, lastname, phoneno, e-mail, address}
First I HAV created VO not based on EO... beak for questioning we don't want EO
for inserting a record I HAV to create EO...
And one of VO based on EO is good?
Please help me to do this task
Thanks in advance
thilibanPlease follow the tutorial create exercise.
Thank you
AJ -
Need help to insert rows in the table to a custom table area
Hi all
I have a requirement as below.
I have a page of the i invoke a popup search page and displaying the table data in the area of the table, this table I select lines and pressing the button and given in the basic page in the region of the table being filled, of data, I need to insert these lines into a custom table. Please help me how to achieve this. Basically, I need to insert rows from one table to a custom table region.
Thnaks
Hello
Review the link, below, may be it will help you:
https://forums.Oracle.com/thread/953885
https://forums.Oracle.com/thread/2151775
Please share your solution here, it will help others.
Concerning
Mahesh
-
Need help with JavaScript button to save as an event.
Hello
I use Adobe Acrobat X Pro and am totally new to scripting of forms in Adobe (completely new to Adobe Acrobat as well!). There is a backup on a form button that opens the Save dialog box under using a trigger (the mouse upward) and action (execute a menu item - file > save under... > PDF...) and it works fine, however, I want to now use javascript to change the behavior of the button so that it uses a trigger (the mouse upward) and action (run a JavaScript script) , and I want that JavaScript to combine the text values in two form fields (a location drop down and a date text field) and use this string concateneated + ".pdf" as the file name when he opens the Save as dialog box. Make sense?
This is what I added to the button as a JavaScript so far I use a test at this time string ("NewFile.pdf") and add the string that is concatenated to the script after that I know that the script works as it should.
var NouveauNomFichier = "NewFile.pdf";
var pathArray = this.path.split("/"); "
pathArray.pop ();
pathArray.push (newFileName);
this.saveAs(pathArray.join("/")); "
Up to present two questions:
1. when I click the button nothing happens, no dialog Save as or whatever it is.
2 when I check the properties of the button depending on the Actions tab shows property to select Action "Performing a menu item", even if I chose previously 'run a JavaScript '.
Thanks for any help!
The saveAs method will not work if the code is placed in a key event. It would need to be in a JavaScript file to the folder level, inside a function of confidence, inside a block of app.beginPriv/app.endPriv. Each user must have the JavaScript file to the folder level. The button can then call the code in the file. It will be possible for users of the form?
-
Need help to insert several lines using PL/SQL
Hi gurus,
I wrote a simple PL/SQL to insert the recrods in a table. It works fine if the sql script that is stored in the column to the table TEST_VALIDATION SCRIPT returns a single line. Can you get it someone please let me know a better way to insert multiple results returned by the script? Rest columns can be duplicated.
DECLARE
p_rows default NUMBER of 0;
CURSOR C1_TV
IS
SELECT ID, DESCRIPTION, TEST_VALIDATION SCRIPT;
BEGIN
FOR C1_TV_REC in C1_TV
LOOP
Run immediate C1_TV_REC. SCRIPT in p_rows;
INSERT INTO THE VALIDATION
(END_DATE,
VALIDATION_ID,
VALIDATION_DESCN,
VALIDATION_COUNT
)
VALUES
(
(select sysdate to DOUBLE),
C1_TV_REC.ID,
C1_TV_REC. DESCRIPTION,
p_rows
);
COMMIT;
END LOOP;
END;
/
Please let me know if this isn't clear.
Thank you
ShashYou need something like that
declare p_rows dbms_sql.number_table; i pls_integer; begin execute immediate SCRIPT bulk collect into p_rows; i:=1; loop exit when i>p_rows.count; insert... p_rows(i).... i:=i+1; end loop; end;
or the much faster method (if it works in your case)
declare p_rows dbms_sql.number_table; i pls_integer; begin execute immediate SCRIPT bulk collect into p_rows; forall i in p_rows.first..p_rows.last insert into table (field) values (p_rows(i)); end;
And why you use
(select sysdate from DUAL)
Just use
sysdate
Published by: Oleg Gorskin the 12.01.2010 06:51
Add method with forall -
Hello
When inserting records into the table, I get the below error. I tried a few options, but its not solving my problem, could u pls help me on this.
Table script:
-------------
create table test
(
datadate number (12).
sla_met_time varchar2 (40),
location varchar2 (20));
My sql:
--------
Insert in the test
values (&,(&2) 1 & 3);
commit;
"exit";
Values:
-------
& 1-> 20101205
& 2-> 12/06 03.20.31AM
& 3-> US
Calling script:
--------------
sqlplus-s user/pwd@db @/home/tes/test.sql $usdate, $ustime $usloc
Error:
------
old 2: values (1, 2 & 3)
new 2: values (20101205,12/06,03.20.31AM,US)
values (20101205,12/06,03.20.31AM,US)
*
ERROR on line 2:
ORA-00917: lack of comma
Also, I'm passing "12/06 03.20.31AM" for "and 2", but in the new value his impression that the "12/06,03.20.31AM".»
I did not understand how extra comma came after "12/06.
Please help me on this. Thank you.Hello
You must pass the VARCHAR values in quotes and should not include a comma between the two.
&1 --> 20101205 &2 ---> '12/06 03.20.31AM' &3 ---> 'US'
See you soon
VT
-
Need help with insertion of records
I am new to develop dynamic web pages. I followed the instructions step by step in the files using Dreamweaver 8, but for some reason any this code does not work. I have links to the database. I have the set of records and and the insert record everything correct, or at least I thought I had. Can someone help me please. I'm losing my mind. Thanks in advance.
I took a break from that and when I came back to it I realized it was a problem with my database, not my code. Thanks anyway.
-
Need help on the first (Sansa) MP3
I just bought a new 8 GB Sansa Fuze today at Radio Shack ($69). I downloaded the Media Player 11 MS, but have not yet charged the "rocket". I put in the CD teeny but it seemed that it was just to download music, I didn't want to. Could someone tell me where to go to get instructions on how to take my collection of CDs (about 70) and get them on my rocket? Sorry for this stupid question but this is all new to me
. Thanks much for any help. TopdogJudy
The only thing that I think that the most important with a collection of music is to convert it into a LOSSLESS audio format with built-in tags info that is accurate and useful for YOU. Some call it this check-in. (Don't think the info tag automatically downloaded from the internet will be specific!)
This is done, it is trivial. quick work of transcode to any audio format as you want on your player; your labels will be preserved! You can re - encode with newer codecs, to a score of different quality or in a format which is good for another player. For example, currently, Ogg Vorbis is better compared to the size on the Fuze and Cowon players and Nero lc - AAC is the best on Sony and Apple.
I do not use Windows Media Player.
I use programs include:
Exact Audio Copy (RIP and convert to FLAC)
Mp3Tag (to edit the tags at the top)
foobar2000 (to transcode to Ogg Vorbis)
Winamp is popular with many and deemed easy to use.
Those are freeware, but a beginner can find dbPoweramp particularly simple.
-
Correspondence sizes matter. Need help. PS first and still
Hello, so I edited a video to the top and made a dvd for the first time menu. I have connected all the buttons and makes nice nice however... I realized after doing the menus that the dvd is 720 x 480.
I put the menus in there and since it worked, I thought that it would be "re - format video when the dimensions change. Is it possible to do this job without create menus entirely?
I ship this dvd to a customer in the morning, and I will re-start not rather the menu from scratch. Here are the screenshots of the video when played
Video has been exported to 720 x 480. and the menu that I believe has been 1920 x 1080
I have never tried to use a HiDef on a DVD... menu which is, as you have discovered, only 720 x 480 to the DVD specifications
So what you see CAN be a factor of even 'try' to fit your HiDef menu in the DVD specifications... that "looks like" he brought the menu to fit and then also the video
I don't really know a solution... but you should ask questions in this forum community: still | Adobe Community
-
Need help on the first mobile application to construction
I'm looking for a recommendation for a book, video or article for someone design their first mobile application. Also, I'm looking for the best recommendation of workflow, such as:
Dreamweaver > phone Gap
Flash?
Mobile application?
Others?
Create & package Mobile app with DW, jQuery Mobile & PhoneGap
http://www.Adobe.com/devnet/Dreamweaver/articles/DW-PhoneGap-mobile-app.html
NOTE: PhoneGap has been removed from DW. When you are ready to compile your application, go directly to the web site of PhoneGap Build. Adobe Build PhoneGap
-
I need help with my first Script in AE CS5
Hello fellow designers out there.
I'm newbie on AE Scripting here. I run my CS 5 on Win 7. I'm trying to create a simple solid GUI and it controls opacity by cursor. I fail and do not now how it work. Here is the code that I have written in reference to many sources and tutorials:
myComp = app.project.item (1); akses comp 1
mySolid = myComp.layers.addSolid ([1.0,1.0,0], 'my place', 50, 50, 1); solid
var myWin = new window ("palette", "Transform", undefined); create the palette
myWin.orientation = "row";
var myOpacity = myWin.add ('Committee', undefined, "Strong opacity");
myOpacity.orientation = "column";
myOpacity.add ("statictext", undefined, "Opacity Kontrol");
var opacitysliderCtrl = myOpacity.add ("slider", undefined, 50, 0, 100); make cursor
var layerOpacity = mySolid.property ("opacity");
opacitysliderCtrl.onChanging = function()
{
var val = Math.round (opacitysliderCtrl.value);
layerOpacity.value = val;
};
myWin.center ();
myWin.show ();
Please, help me to see the problem here. Thank you
There is more harm than good in your work
At the moment you script attached a slider to a single layer (mySolid, that you add at the beginning).
This is not very useful, that you cannot use this slider for the other layers.
You should also keep in mind that this solid can be deleted, so the mySolid object may become invalid (referring to a solid that no longer exists).
I don't know what, exactly, is your plan, but a script has generally not set anything related to AE in his many body (at launch).
Only when the user clicks/change a widget script tries to extract a model, layer, property, or anything that the user specified by "a kind of secret code" (most of the time: the model, property, layer, etc. is selected).
If you want the slider to control the opacity value of all selected layers in the active model, it would be something like this:
var myWin = new Window("palette", "Transform", undefined); //create pallete myWin.orientation = "row"; var myOpacity = myWin.add("panel", undefined, "Solid Opacity"); myOpacity.orientation = "column"; myOpacity.add("statictext", undefined, "Kontrol Opacity"); var opacitysliderCtrl = myOpacity.add("slider", undefined, 50, 0, 100);//make slider opacitysliderCtrl.onChanging = function onOpacitySliderChanging(){ // retrieve the AE things that have to be handled: in this case, all selected layers in the active comp var myComp, myLayer, n; var layerOpacity, val; myComp = app.project.activeItem; if (myComp.numLayers>0){ for (n=0; n
Xavier
-
I need help with my first VMs Server ESXi
I just installed ESXi and created a virtual machine, but I can't get an OS on this virtual machine. I can't reach the data store to load the files here and I can't get the virtual machine to read a DVD to an iso file on my hard drive of the vSphere client or the host. I have read the getting started guide, but I see nothing there that mentions the installation of the operating system.
I have five questions:
1. How do I put the files .iso on the host data store so that they are available to anyone using this host?
2. how to install an operating system once I created the machine on the host?
3 can we clone VM on the host as they can on my computer
4. How can I make a WS 6.5 capatible VMS on that host ESXi 4.0 U1?
5. can I just convert my 6.5 VMs to run in that ESXi 4.0 host?
Thank you
Hello
to create the directory to put the ISO just go to the configuration tab-> data store-> right click on the data store-> select Browse datastore. Then you can directly manage data store files, and for example to create the directory for the iso holding.
In order to upload files to the directory you just created above, you can use the fastscp tool o maybe winscp.
If you want to use winscp you must enable the remote ssh access on the esxi.
Best wishes / Saludos.
Pablo
Please consider providing any useful answer. Thank you!! - Por favor considered premiar las useful responses. ¡¡MUCHAS gracias!
-
Need help for my first CCP in action!
I am working on a form (version 10.1.2.0.2), which has an area of bean. This area of the bean class to implementation defined in 'oracle.forms.demo.GetCanvasProp '.
I created a file FormsProperties.jar and it worked for "C:\DevSuiteHome_2\forms\java" (my forms java House)
I have updated the fromsweb.cfg file in the directory "C:\DevSuiteHome_2\forms\server".
In the tag to archive, I have included "FormsProperties.jar", now my tag archive looks like this
"archive = frmall.jar, rneticons.jar, FormsProperties.jar".
I also updated the archive_jini tag
archive_jini = frmall_jinit.jar, rneticons.jar, FormsProperties.jar
Council of State, I didn't know that I should update, wasn't sure if my form was running on JINITIATOR or some java plug-in.
In any case, my problem is, when I try to run the form, the form is displayed, and that happens when I reference "oracle.forms.demo.GetCanvasProp" in the implementation of the area of the bean class.Right-click your project node, and then choose Properties... menu option is local, then the compiler section.
François
-
Display settings S920 missing page, need help
Hello
I have a strange problem with my phone S920 and need help.
First I describe that I made:
I bought two phone weeks and first install update "by air" (from the settings menu, "System Update"). The current version number is S920_ROW_S117_130815. After that, I set the settings on the phone, insert the SIM and SD card and started to install applications. When I found that photos from my SD card are not visible in the gallery. He won't get the images in the external SD card. I can see all the files on this map in the file browser and open, but the Gallery shows only a few files from SD internal tried to force to re-scan of the media files. Finally, Gallery shows all the photos, but I found some files on my SD card had size = 0 bytes. SD card was probably not properly disassembled during a new analysis. I've wiped the SD card in settings of the phone and coppied all data to the SD card in my PC. And re-scan again. Now all the files was correct and all images is vissible in the gallery. But a few days later, I found that I can't run page display settings. I tried to access to this-> all the settings, fron-> display settings but received a message "Unfortunately stopped Control Panel:
OK, I noticed that my problem disappeared after I disabled my live wallpaper. Let me tinker some more...
Maybe you are looking for
-
All the multimedia files on all Web sites do not play.
Whenever I click a button of 'play' on a video or audio file, absolutely nothing happens and does not play the media file. On Youtube, I get a message that says: "an error has occurred. Please try again later. "This only happens on Firefox as multime
-
Compaq presario v 3780TU: Base System Device Driver missing
product compaq presario v 3780TU problem - the two driver missing basic systems, audio device does not not only integrated speakers work not, works of headphones problem when I upgraded to the Windows OS 10 first base h/w device id is PCI VEN_1180 &
-
Tech online as supportrix I talked to someone at Microsoft who said they can take possession of my PC to fix its problems. Please tell me how. I had a contract with supportrix and was never satisfied. My PC has needed help and di yes I.
-
Hello I have joined the competition in show Xperia but when finished the competition time, page of competition does not appear to this. I can't see who won the contest. How can I find out who won the contest? Thank you.
-
I got a 2008 HP Pavilion dv9700 3GB 32-bit Notbook PC Vista Home Premium. When I insert the DVD, nothing happens. I get no start menu, nothing. I can hear the DVD spinning for about 20 seconds, then nothing. I open Windows Media Center and tried