Passing values from a CO of a page in the xml file of a field with LOV.
Hello
I have 2 pages in this CUSTOMIZATION and the 2nd page got fields that have their turn to LOV.
The query behind the LOV is sitting in the XML file and as an amendment to this motion, he needs some dynamic values
I got to a stage where in the Commander of the 2nd page I set up values using getparameters.
But how to pass this value from the 2nd page to the XML FILE.
Thank you
Regis
Hi Regis
Leave; s first focus on your first build errors. You said very well reconstruction work but compilation error comes when you run the page.
It's strange. Can you please confirm if you have added the OFA libraries to your project. Ideally, they should be there once you create an OA project
Concerning
Marie Lise S
Tags: Oracle Applications
Similar Questions
-
How can I pass values from one node to the other
Give a standard and efficient way to pass values of the child to the parent
Hai Prathap
You can use the custom event to pass values from the children to the parent
-
How can I create a multi page PDF from a multi .tif file? On the creation of a file .pdf from a file multiple .tif, the .tif file is converted to a single page (always the first page of the .tif file) .pdf. The rest of the document is cut off. The .tif file comes from a document by using the fax & Scan app scanner in Windows 10. I am running Adobe Acrobat Reader DC, which I run with my subscription 'Adobe PDF package, monthly'. It worked fine until about a month. I've since upgraded to Windows 10 and Acrobat Reader DC. I would be very grateful for any help. Eoghainn
Hello
This problem has been reported as a bug. Our team of engineers working on this priority issue.
Kind regards
Nicos -
Navigate trough different 'levels' in the XML file from the known item?
I am quite new to this, so I have to ask even if it's a stupid question...
I am trying to build a generic oracle procedure that can insert data into a table from a file XML so that message that it contains, but of course the messages has the same structure.
I need to find the first item after data, in this case "CUS_ORD_HEAD", but it could be any message as PO_HEAD.
So I need to somehow find the element without knowledge is the name of the element. It goes same for CUS_ORD_LINE that might be PO_LINE. Is it possible to navigate through the different 'levels' in the XML file from a known element.
< CustomerOrder >
< metadata >
< TransActionIdentity > 1 < / TransActionIdentity >
< / metadata >
< data >
< Client CUS_ORD_HEAD = 'ABC' CustomerOrderNumber '1234' = >
< CUS_ORD_LINE CustomerOrderNumber = "1234" OrderedQuantity = "10" ProductNumber = "1001403" CustomerOrderLinePosition = "1" / >
< HAPI_CUS_ORD_LINE CustomerOrderNumber = "1234" OrderedQuantity = "1" ProductNumber = "2530" CustomerOrderLinePosition = "2" / >
< CUS_ORD_LINE_TEXT CustomerOrderLinePosition = '2' Text = "Test" CUSTOMERORDERNUMBER = "1234" / >
< / HAPI_CUS_ORD_HEAD >
< / data >
< / CustomerOrder >the tablename parameter is identical to the XML element and attributes are the same as the columns
OK, understood.
You can retrieve the name of the element and attribute names in the same time by using something like the following.
Attribute names are stored in a collection that is accessible iteratively in order to build the dynamic parts of the query:SQL> CREATE OR REPLACE TYPE TColumnList IS TABLE OF VARCHAR2(30); 2 / Type created SQL> set serveroutput on SQL> SQL> DECLARE 2 3 xmldoc xmltype := xmltype(' 4
5 '); 18 19 --t_column_list TColumnList := TColumnList(); 20 --v_table_name VARCHAR2(30); 21 22 tmp_cols VARCHAR2(1000); 23 tmp_paths VARCHAR2(1000); 24 tmp_qry VARCHAR2(4000); 25 26 BEGIN 27 28 FOR r IN ( 29 SELECT table_name 30 , set(cast(collect(column_name) as TColumnList)) as column_list 31 FROM XMLTable( 32 'for $i in /CustomerOrder/Data/descendant::* 33 , $j in $i/attribute::* 34 return element e 35 { 36 element TABLE_NAME {name($i)} 37 , element COLUMN_NAME {name($j)} 38 }' 39 passing xmldoc 40 columns 41 table_name varchar2(30) 42 , column_name varchar2(30) 43 ) 44 GROUP BY table_name 45 ) 46 LOOP 47 48 tmp_cols := NULL; 49 tmp_paths := NULL; 50 51 --dbms_output.put_line(r.table_name); 52 53 FOR i in 1 .. r.column_list.count LOOP 54 55 tmp_cols := tmp_cols || ', ' || r.column_list(i); 56 tmp_paths := tmp_paths || ', ' || r.column_list(i) || ' varchar2(35) path ''@' || r.column_list(i) || ''''; 57 58 END LOOP; 59 60 tmp_cols := ltrim(tmp_cols, ', '); 61 tmp_paths := ltrim(tmp_paths, ', '); 62 63 tmp_qry := 'INSERT INTO ' || r.table_name || ' (' || tmp_cols || ') ' || 64 'SELECT ' || tmp_cols || 65 ' FROM XMLTable(''/CustomerOrder/Data/descendant::' || r.table_name || '''' || 66 ' PASSING :1 ' || 67 'COLUMNS ' || tmp_paths || 68 ')'; 69 70 dbms_output.put_line(tmp_qry); 71 72 END LOOP; 73 74 END; 75 / INSERT INTO CUS_ORD_HEAD (CustomerOrderNumber, Customer) SELECT CustomerOrderNumber, Customer FROM XMLTable('/CustomerOrder/Data/descendant::CUS_ORD_HEAD' PASSING :1 COLUMNS CustomerOrderNumber varchar2(35) path '@CustomerOrderNumber', Customer varchar2(35) path '@Customer') INSERT INTO CUS_ORD_LINE (CustomerOrderNumber, OrderedQuantity, ProductNumber, CustomerOrderLinePosition) SELECT CustomerOrderNumber, OrderedQuantity, ProductNumber, CustomerOrderLinePosition FROM XMLTable('/CustomerOrder/Data/descendant::CUS_ORD_LINE' PASSING :1 COLUMNS CustomerOrderNumber varchar2(35) path '@CustomerOrderNumber', OrderedQuantity varchar2(35) path '@OrderedQuantity', ProductNumber varchar2(35) path '@ProductNumber', CustomerOrderLinePosition varchar2(35) path '@CustomerOrderLinePosition') INSERT INTO CUS_ORD_LINE_TEXT (CUSTOMERORDERNUMBER, Text, CustomerOrderLinePosition) SELECT CUSTOMERORDERNUMBER, Text, CustomerOrderLinePosition FROM XMLTable('/CustomerOrder/Data/descendant::CUS_ORD_LINE_TEXT' PASSING :1 COLUMNS CUSTOMERORDERNUMBER varchar2(35) path '@CUSTOMERORDERNUMBER', Text varchar2(35) path '@Text', CustomerOrderLinePosition varchar2(35) path '@CustomerOrderLinePosition') PL/SQL procedure successfully completed6 8 91 710 16 1711 1213 1514 -
original title: codec
When you import a song from itunes for windows moviemaker I get the message (file cannot be imported because the game to version Recentepour the file codec is not installed) how can I fix it?
Install the codec. Really.
Something like GSpot to understand that one.
-
Hi, I use lightroom 5 and have been for several years. Today I imported several batches of today images from different cameras without any problem, but the images of a particular card (with an incredibly large memory) does not matter. I see other people have had similar problems, but I am not able to follow these solutions and would very much help here. I have an IMac.
If you had probably two problems
Permissions, the other is the hardware problem causing slow import and the card cannot be read by your operating system.
-
Please help, I downloaded 3 files from Adobe for CS3, but one of the .exe files cannot be due to due to a (file archive part missing, all parties must be in the same folder message)
Hi Francis,.
Make sure you download both files from there. https://helpx.Adobe.com/Creative-Suite/KB/CS3-product-downloads.html
Compare the size of the file and you will have to perhaps disable all anitvirus during download and install it.
Thank you
Scott
-
How to sort the order of the pages in the pdf file
How to rearrange the order of the pages in the pdf file
Hi rainbowbowral,
To reorder pages, you need the full version of Acrobat. If you wish, you can download a free 30 day trial of www.adobe.com/products/acrobat.html.
Best,
Sara
-
A link to a specific Page in the PDF file attached
I work with a main PDF file as well as a joint. I would like to create multiple links in my main file, with each a link to another page in the attached file. How could I do this?
You can only do this if the attachment is a PDF file. Here is the Help instructions that explain how to create a link in the main PDF document that climbs to the PDF attachment.
-
create table from the XML file at several levels
Hello
I'm working on the provision of an app to display xml data, which are currently using data from the settings file where the data was stored in a table.
CONT =]
[{txt: 'Perfume'} //main menu][[{txt: 'Top Note', framework: 'topNote'}, {txt: 'Heart notes', frame: "heartNote"}, {txt: frame, 'Note of Base': 'gaps'}] / / submenu]
,[
{txt: 'Packaging', field: 'packaging'} / / main menu]
]
I created an xml file and am able to recover data and impossible to find the same.
Here's the xml file
< Products >
< produces txt = setting "Perfume" = "" > "".
< = frame 'Top Note' = "topNote" txt file name > < / name of the file >
< = txt file name ' heart notes"frame ="heartNote"> < / name of the file >
< file name txt = "Core score" frame = 'gaps' > < / name of the file >
< / product >
< produces txt = framework of 'Packaging' = 'packaging' > < / product >
< produces txt = framework "3D Animation" = "tvAd" video = "true" flvName = "video.flv" w = "547" h = "309" > < / product >
< product txt framework "advertising Lla' = 'the package' = >
< name of the txt-file = "Print Ad Creative Pack" frame = "printCp" > < / name of the file >
< / product >
< / product >AS A CODE
---------------------------------------
(GlobalVarContainer.myXML is the place where is stored the xml file)
var node:XMLNode = GlobalVarContainer.myXML.firstChild;
var navItm:int = int (node.childNodes.length);
for (i = 0; i < wheel; i ++) {}
var temp_array:Array = new Array();
var subnavCount:int = int (node.childNodes [i].childNodes.length); subnav
var obj:Object = new Object();
obj.txt = node.childNodes [i] .attributes ['txt ""]
obj. Frame = node.childNodes [i] .attributes ["frame" "]
trace (node.childNodes [i]. Attributes ['txt'])
for (var j: int = 0; j < subnavCount; j ++)
{
trace (node.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [j]. Attributes ['txt'])
obj.subtxt = node.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [j]. Attributes ['txt'];
obj. Subframe = node.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [j]. Attributes ['frame'];
temp_array.push (obj);
}
GlobalVarContainer.my_array.push (temp_array);}
If I add - trace (GlobalVarContainer.my_array); -to code the outout is
[object Object], [object Object], [object Object]
[object Object], [object Object], [object Object],.
[object Object], [object Object], [object Object],.
[object Object], [object Object], [object Object], [object Object]but trace (.txt [i] GlobalVarContainer.my_array + "array"); or trace (GlobalVarContainer.my_array [i] [0] .txt + "array"); no results.
need advice to move forward from here.
Thank you
AYUSH
What I meant is that if you load the XML e4x, you have to analyze in a table to use it. You can retrieve the syntax of e4x XMLList and use it directly in your code. You can treat the XMLList almost as you treat any array using a for each loop for example.
Take the code below as an example and adapt it to your needs:
var mainMenu:XMLList = this.testXML.menu;
for each {var menu: XML (in mainMenu)}
trace ("Menu:" + menu.@txt);
You can use your logic to create menu main point here
var mynavItem:Navitem = new Navitem (0, spatie * i, GlobalVarContainer.my_array [i] [0], [i, 0], false, true);
this.holder.addChild (mynavItem); ABLE TO VIEW THE MAIN MENU
var items: XMLList = menu.children ();
If (items.length () > 0) {}
for each {var point: XML (in the points)}
trace ("point:" + item.@txt);
Logic of creation of subitem here
var mySubnavItem:Navitem = new Navitem (dash, spatie * (i + 1 + j), GlobalVarContainer.my_array [i] [2], [i, j], true);
this.holder.addChild (mySubnavItem); DISPLAYS ONLY THE LAST ENTRY IN THE SUBMENU
}
}
}
-
APEX - passing values from one page to the other
Hello
I created a new page with a report. I put one of the columns as a link that opens another page. This page should contain other details of the particular line.
For example:
There is a page with a list of employee names and the number of employees in both columns. When I click on the name of employee, he must open another page with additional details of the employee in particular (such as date of birth, e-mail etc.).
What I'm trying at the moment is to create another page with a report inside. How do I pass the name of the employee as a parameter to this second page? And how do I do the query in the second page accept this setting?
Is there a better way to do this?
Kind regards
Santhosh JoseHello
on your detail page (2nd report) create a hidden page element called P2_EMPID
Now change the query on this page to use this page element in the where clause (such as a variable binding).
for example:Select * from EMP
where empid =: P2_EMPIDOn your first page, you need to set a link to the column for the chosen, employed at the point P2_EMP on the second page. This can easily be done via a column binding in the report on the first page (have it redirect to a page in the apex and set the page to the second page of the report, and also set the P2_EMPID value to the value of #EMPID #, correcting the names of these variables can be chosen in the selection lists when you set the link in the column).
concerning
Bottom -
Passing values from one page to the other
Hello
I have two code coldfusion pages, a page how to display the form and another is the action of the form code. I want to create another page, so that if the user hits the edit button, it is taken to a page where the user of the same form with entries filled beforehand for some areas and the remaining fields are uneditable, i.e. they give the value in the database for the current entry, as it is.
Should I access the values of the database, if so, HOW? And if not, HOW?
Thank you
vijayvijay77.
IF you aready accessible data on the previous page, you can store the data in a persistent scope (session, application, server) where it can be reused on other pages without a trip back to the database.
IF you have not yet accessed the data, then passing a key via a GET (URL alias) or variable POST (aka SHAPE) allows easy access to a query to retrieve the desired data from the database to fill in the form.
The use cases have good discussion with examples in the ColdFusion Developer Guide.
http://livedocs.Adobe.com/ColdFusion/8/htmldocs/Part_4_CF_DevGuide_1.html
-
Passing values from one page to another page.
Hello
I have created two pages in two different applications. There are some similar elements in the two pages. There is a button on page 2. When the button is pressed, it should take me to page 1 with all similar elements with the corresponding values of page 2. I therefore created a branch and gave the url of the branch as a page 1 similar to this "f?" p = 106:1: & SESSION. : & DEBUG.:P1_PRACTICE, P1_CUST_PRODUCTS, P1_CUST_SUBPRODUCTS, P1_MODULES_SOFTWARE, P1_GOLIVE_DATE, P1_RELATED_LINKS: & P2_PRACTICE., P2_CUST_PRODUCTS., P2_CUST_SUBPRODUCTS., & P2_MODULES_SOFTWARE, & P2_GOLIVE_DATE. & P2_RELATED_LINKS. »
This link works for most of the time, but unfortunately, there is a problem that I'm not able to understand. The P1_PRATICE element is a checkbox. So, when I select two or more values on page 2 and then click on the button that leads me to page 1, the link is like that "f?" p = 106:1:1771393474706829:NO:P1_PRACTICE, P1_CUST_PRODUCTS, P1_CUST_SUBPRODUCTS, P1_MODULES_SOFTWARE, P1_GOLIVE_DATE, P1_RELATED_LINKS:Applications:Technology "
In this case, I chose 'Application' and 'Technology' in the box, but I don't get the corresponding value loaded into page 1 in the checkbox of the corresponding element.
Can you help me in this regard. Is there a solution to this problem?
Thank you
VigneshIn this case, create a new item on page 2 (P2_TEMP). Create a calculation on the page submitted for P2_TEMP. Make a calculation of PL/SQL Expression with:
Replace(:P2_PRACTICE,':',';')
.. .to replace the colon with a semicolon. Now you can pass & P2_TEMP. in the branch in P1_PRACICE of the application target. On the home page, create a process of avant-en-tete of P1_PRACTICE with the value:
: P1_PRACTICE: = replace(:P1_PRACTICE,';',':')
.. to convert the semicolon in two points.
Scott
-
passing values from page to another page in multi-page train
Hello world
I had created a MultiPage train consists of 3Paginations,.
1st page - page of the Department, we need to give the details of the Department (deptid, name, location)
2nd page - page used, in this... (eid, ename, job, deptid)
the only thing is that I need to pass the value of Deptid first page (Department page) on the second page (emp) automatically whenever the user navigates to the second page.
Pls help code thisHello
You can transfer the value using
pagecontext.putTransientTransactionValue ("varDeptid", Deptid) to set the value in the page
and
use
pagecontext.putTransientTransactionValue ("varDeptid"); to get the value on another pagethanx
Pratap
-
How to pass data from a SWF in a page php using InDesign?
Hello
I'm currently trying to create a system of star ratings in InDesign CC. essentially, a user clicks a star that is associated with a number in a field text preset, the number will be passed to a php page, the php page is updating a database, and then the user will be directed to a separate page that will present to him the number of the star selected, with an average of all ratings.
I wanted to do it all in html and php, but I have to keep the shape of PAS to the swf format. Originally, I made each star go to a separate php page. Page php the contained value. It worked well, but it make much sense to have the swf go on multiple php pages.
I wish I could click on a star who will submit a predefined form (if I click on the first star, he would submit '1') to a php page. I created a button on each star that 'Go To URL' and 'Submit form', but my php page does not display numbers. I have numbers in separate text fields, each one labeled accordingly. For example, 1 is labeled as 'one' in the name of buttons and forms. Is the name of the text field variable sent to the php page with the number value?
My php is incorrect. I deleted all the fields of text, except one and tried using both GET and POST in the following way:
<? PHP
echo 'Hello ';
echo $_POST ['a'];
echo $_GET ['a'];
? >
Instead of showing "Hello 1" I show only "Hello".
It is even possible to send data to predefined form of a swf file to a php page? I use the names of right?
Essentially, a user clicks a star that is associated with a number in a predefined text field, the number will be passed to a php page, the php page is updating a database,
You won't be able to do this with an InDesign generated SWF. The only way to establish a connection to a database of Flash is via a combination of Actionscript connecting to PHP in Zend AMF, that writes to the database.
Introduction - Zend_Amf - Zend Framework
You will need to write ActionScript that connects to the AMF PHP in a FLA and compile the SWF of Flash file or code FlashBuilder.
Maybe you are looking for
-
Tecra A10 - left key of the mouse on the touchpad is "locked".
Dear forumLeft click Mouse touchpad is a little distorted. I had a peek inside the palmrest, and there is a white plastic stand thing that broke. It seems to happen this way with a large number of these particular models. Please do you know is there
-
How to change the maximum width of the bookmarks to see more characters?
I have a lot of favorites with more characters that can FF display.So I want to make the width of the wider Bookmark menus.
-
computer hp laptop dv6 with a speaker Bose Soundlink Mini bluetooth pairing
I want to connect my HP dv6 with a Bose Soundlink Mini bluetooth speaker. I can't... very frustrating. I matched the small Bose speaker on my phone very easily. BUT, to my laptop... can you help please. Thank you
-
RTM of Windows 8 Synaptics / drivers Ultranav
I tried to install the Synaptics drivers at http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS027686#os for Windows 8 (RTM) on my W520 but the installation fails. These drivers work only on consumer Preview or Preview Release versions? Ti
-
Lenovo Y500 Dual Graphics = Sli
Hey guys, I'm kinda new to all this stuff graphics double, so I was wondering if you could help me. I bought this laptop: (Lenovo Y500 Dual Graphics) http://shop.Lenovo.com/SEUILibrary/controller/e/Web/LenovoPortal/en_US/catalog.workflow:item.detail?