How to create a dynamic resultset db tree?
I have a db and sql that includes item_id parent_id, level, description of any hierarchy.I want to show this result set on the page as a component of the adf from the tree. How to convert db resultset to adf tree?
This is my sql - & gt; Display_title, item_id, parent_id, SELECT LEVEL, branch of sac_Hierarchy.Branch(level,description) OF XXXTABLE CONNECT BY job_code = 'ABCD' AND PRIOR item_id = parent_id START WITH job_code is "ABCD" parent_id AND IS NULL;
What can I do on java support or what I can do on jsp page?
Help please.
Thank you
Published by: Mehmet Ozkan on August 30, 2008 12:19
Mehmet,
Have you seen [url http://technology.amis.nl/blog/?p=2116] this?
John
Tags: Oracle
Similar Questions
-
Hi all
Suppose I have table, whose structure changes frequently on a daily basis.
For example. / / desc my_table gives you after the name of the column the day 1
SQL > my_table DESC;
Output
Name
Age
Phone
Day 2, two other columns are added, viz, address and salary.
SQL > my_table DESC;
Output
Name
Age
Phone
Address
Salary
Now, I want to create a Dynnamic RTF report which made extracting data from all columns from my_table daily. For this, I have defined a simultaneous program with XML output type and include in annex a data/definition of data model that takes XML as input and gives the final result of the conc program in EXCEL layout. I am able to do that for a constant number of columns, but don't know how to do it when the number of columns to display dynamically changes.
For 1 day my XML file should be like this.
<?xml version="1.0" encoding="UTF-8"?> <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0"> <dataQuery> <sqlStatement name="Q2"> <![CDATA[ SELECT Name ,Age ,Phone FROM my_table ]]> </sqlStatement> </dataQuery> <dataStructure> <group name="G_my_table" source="Q2"> <element name="Name" value="Name" /> <element name="Age" value="Age" /> <element name="Phone" value="Phone" /> </group> </dataStructure> </dataTemplate>
And my day 1, EXCEL output RTF model should be like this.
Name age phoneSwapnill 23 12345
For 2 days my XML file should be like this. With 2 new columns selected in the SELECT clause.
<?xml version="1.0" encoding="UTF-8"?> <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0"> <dataQuery> <sqlStatement name="Q2"> <![CDATA[ SELECT Name ,Age ,Phone ,Address ,Salary FROM my_table ]]> </sqlStatement> </dataQuery> <dataStructure> <group name="G_my_table" source="Q2"> <element name="Name" value="Name" /> <element name="Age" value="Age" /> <element name="Phone" value="Phone" /> <element name="Address" value="Address" /> <element name="Salary" value="Salary" /> </group> </dataStructure> </dataTemplate>
And my day 2, exit EXCEL model RTF should be like this.
Name address telephone pay23 12345 Madrid 100000 Swapnill
Now, I don't know below things.
- Make the dynamic XML as we did in the day 1 there are 3 columns in the SELECT statement and the day 2, 5 columns. I want to create a dynamic XML which must not be changed if the new columns are added into my_table. I don't know how to create this query and also create their corresponding items below.
- Make the RTF model dyanamic as day 1 there are 3 exit EXCEL columns and the day 2, 5 columns. I want to create a dynamic RTF model that would display all the columns selected in XML dynamic. I don't know how the RTF will create new XML tags and how it will know where to place them in the report. Means, I can create model RTF day 1, by loading the XML data for 3 columns and place 3 tags XML in the model. But how he will create and place the tags for the new columns the day 2?
Hope so, you got my requirement, it's difficult. Please let me know how I can implement the necessary solution using the RTF dynamically without any manual intervention.
Kind regards
Patricia K.
Post edited by: SwapnilK
Hi guys,.
I was able to solve above the requirement.
I created a procedure that would create & update (attached to the data definition) XML file dynamically for each race. This dynamic XML contains the SQL statement for the data query that is built dynamically. I am updating this XML file using XDOLoader utility to the definition of data. Then run my program customized to generate the excel output.
Exit excel retrieves correct number of columns dynamically (3 on Day1 and Day2 5), with corresponding data records.
Kind regards
Patricia K.
-
How to create a dynamic newsflash using dreamweaver and PHP
Hello
I would like to create a dynamic newsflash using dreamweaver and PHP because newsflash will be snapped up information from a MySQL database. The Bulletin-Flash should also have a link to view more information about the piece of news a user wants to learn more. What tools do I need to use in dreamweaver and how is the procedure to go about it. All opinions are appreciated. Thanks in advance!
Sermon of Ras wrote:
I tried using the spry effects, but it does not work. Is there a best way to do this?
Google "jquery vertical newsticker" ;-)
-
How to create objects dynamically (with # dynamics of parameters)
I need to create a set of objects based on a definition of an XML file (obtained from the server) and add them to my scene.
I understand how to create the object using getDefinitionByName (and limitations on classes that need to be referenced to be loaded into the SWF file).
But some objects require parameters for the constructor, and others do not. The XML code can pass easily in required parameter information, but I can't figure out how to create a new object with a dynamic set of arguments (something similar to the use of the Function.Call method of (obj, argsArray).)
For example, I need something like this works:
var MC = new (getDefinitionByName (str) as class). call (thisNewThing, argsArray)
Currently, it is that I can get:
MC var = new (getDefinitionByName (str) as class)(static, list, arguments)
Thoughts?
I think what Dave is asking is a little different.
He is eager to know how to call the constructor of an object dynamically (when he knows that the number of constructor arguments when running).
This class I will do it, but seems to be a hack:
See the "call" method, which has first counts the number of arguments and then calls one of the "n" construction methods based on the number of constructor args.
I have yet to find a clean way of AS3 to do ala things 'call' however.
-Corey
-
How to create a dynamic form with bind variable: figure &;: table_name
My application has two LOV, one to select a schema and the other to select a table in this schema. Then I have a button that goes to a report that displays data in this table.schema.
Now, I want to create a link to a form where I can edit the record based on the identifier of this table.schema, but it does not appear that I can create a dynamic form where I pass the schema.table_name and the rowid. Is this possible? Can someone tell how can I do this? The form builder only wants a fixed schema/table name.
Thanks in advance.
Stuart.Hi Stuart,
If you create your section in the section #BOXBODY # it will already have to be encapsulated in a form.
He will submit to the correct location.
If you call your field of multi line field names, they will be stored in them.
form field f01 is mapped to wwv_flow.g_f01
Concerning
Michael
-
How to create a dynamic lov inside the table?
Hi all
I use JDeveloper11.1.1.1.4.
My scenario is that I have page with editable < af:table >. Table contains a < af:inputListOfValues > inside the column. I want to do this < af:inputListOfValues >
as a dynamic. Because according to users, we have to get the chronogram different objects in different point of view. I tried with below link it works very well for forms.
But editable tables, I'm not able to create the dynamic lov.
ADF practice: dynamic linking LOV
Thank you
David.
Hello David
have you tried ADFbc lov switcher?
See - Andrejus Baranovskis Blog: Groovy - multiple LOV by attribute in JDeveloper 11 g
http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/89-adfbc-lov-switcher-454168.PDF
Thank you
-
How to create a dynamic custom stamp?
Is there a way to create a dynamic custom stamp?
Hi Bruce,.
Please try this: https://acrobatusers.com/tutorials/custom_dynamic_stamp
Thank you
Abhishek
-
How I created the dynamic personalized stamps for the PDF stamp with?
Trying to create a dynamic custom stamp, so that I can stamp PDF with either "reviewed" or "refused" to a given date and time
Some tutorials
Be well...
-
How to create a dynamic action with a button?
Hello, I created a dynamic action with a button, which should show a region of the page When you click.
What I have to enter in the State et value of the condition?
Thank you
Hello
1. in doSubmit ("ACCEPT");
ACCEPT is nothing than the name of the button, but I hope that you have created the name of the button as "BELOVED".
$2 s ('P57_ACCETTA', 1);
$s('P57_ACCETTA',1)---> all by setting the value you give space. Make the changes and check.
And you enter this script in the HTML header.
If possible you can send your page with the credentials so that will look.
-SreeNithi.
-
How to create a dynamic clock in my page
Hi all:
I want to create a dynamic clock with the current time in my page,
but it is not dynamic, only when refresh the url, it gives at the present time
I have create a region with pl/sql (anonymous block)
Source: htp.p (TO_CHAR (SYSDATE, 'DD YYYY my hh24:mi:ss day'));
So who can help me change this dynamic region?
Thanks in advance.
SavenHello
If you try to change a part
TO
Does that help?
Kind regards
Jari -
How to create a dynamic PDF in ColdFusion
I use ColdFusion CS4 and I need to create a dynamic user PDF certificate when they finish a short test.
Their name is session var and should dynamically fill in the name of the certificate and the date field.
The user can print the PDF certificate, which must be protected to allow printing only.
I have a PDF file created in Adobe Designer, life cycle. This contains all the data and a field name text and data requiring dynamic input of ColdFusion.< cfpdfform action = "fill" source = "certificate.pdf" >
< cfpdfsubform name = "form1" >
< cfpdfsubform name = "page1" >
< name cfpdfformparam = "employeeName" value = 'John Hollings' / >
"(< name cfpdfformparam ="date"value ="#dateformat (now (),"mmmm dd, yyyy') #" / >
< name cfpdfformparam = "submitURL' value = '#CGI. ' SCRIPT_NAME # "/ >
< / cfpdfsubform >
< / cfpdfsubform >
< / cfpdfform >Small work but the PDF textFields are open to change, I need to lock the PDF file so only print can work...
No copy of the data
No record of the file (if possible)
Only print and closeGreetings act332,
I do this kind of things all the time to make fire training sessions.
Instead of using
, try to use the tag and the design of your certificate in ColdFusion content. This
to set the permissions so that the end user can do
with the doc (i.e. print only). You should not use CSS inline
for a style of fonts and path full information images you
would like to see included. Use
tags to include your dynamic information where you want it to appear.
I put mine in place to print on 8.5 x stock 11.0 certificate, which
can be purchased at any office supply store. Just change the
the orientation of the label of
to a landscape or certificates of portrait of style.
Leonard
-
How to create continuous dynamic fields in Acrobat Pro?
Hi all
I created a PDF file that is legal and I need to add dynamic fields inside.
I know how to do the fields but I want to make sure if there is more than one on the same line, they touch the other length in the case, the user enters the data long / short.
For example:
If I have 2 fields:
LAST NAME FIRST NAME
How do it that after the user enters their NAME FAMILY name field begins a little after the NAME field and there is no gap between them.
Looking forward to hear some solutions
Thank you.
[discussion moved to creation, edition & PDF export forum]
-
How to create a dynamic text in AS2 box
I am trying to create an area of dynamic text in AS2. Here's what I have so far:
Import mx.controls.TextArea;
var myTextArea:TextArea = new TextArea();
myTextArea.setSize (320, 240);
myTextArea.move (10, 10);
addChild (myTextArea);
I have the textarea component in my library, but nothing appears on the screen.
Help
It sounds lie AS3 code. Here is a link to an explanation of how to do to add components using AS2...
http://help.Adobe.com/en_US/AS2LCR/Flash_10.0/help.HTML?content=00001820.html
-
How to create a dynamic multilingual with liquid Web site and web apps
In the thread
that part of my problem is resolved.I created a list web app that contains several fields from the data source.
These data source fields have multiple values where the customer has to choose the value of (i) there is. That is to say place: sea front area rural, etc., etc.
These values must be translated from English into Dutch.
So, how do I build my Web page with a liquid markup custom c.q. of entry?
Thanks for any help.
Kind regards
Carla
Hi Carla,.
You have many options at your disposal with the liquid, so with the datasource_id of the original web application, you can call another Web application referencing this ID to get the information you need and collect the data in a collection or display in a custom template (.tpl) file.
Here is an example. Inside of your application model web detail.html
With the help of a collection:
{module_webapps id = "3rdPartyWebApp" filter = "item" itemId = '{{dataSourceID}}' collection 'webAppData' =' model = '}
{{webAppData.items [0] .description}}With the help of a model:
{module_webapps id = "3rdPartyWebApp" filter = "item" itemId = "{{dataSourceID}}" template = "display_webapp_description.tpl"}... display_webapp_description.tpl content:
{{description}}
You should be good to go.
-
How to create a dynamic custom attribute?
I would like to create a custom attribute of type 'Host' that would dynamically update listing the number of guests on each host. It would be same information on every host on the summary, General Section tab, Virtual Machines.
It would be extremely useful, I'd be able to say to an ice cream which was underused host without having to check each host.
This should be solved with a script.
If this is in the wrong community then please move.
I use VC 2.5 update 4 with ESX 3.5 update 3.
Thanks in advance for any help with this.
jfatheree
Attached is the script, part of the code was mutilated by the forum.
=========================================================================
William Lam
VMware vExpert 2009
Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
If you find this information useful, please give points to "correct" or "useful".
Maybe you are looking for
-
I installed the update of Mozilla 25 Premium using. -What is used for installation?
I was invited to be updated to 25 of Mozilla. When I did the installation, it was done using Premium installed. Mozilla was not mentioned anywhere. This correct installation or did I infect my machine with a fake software?
-
I just switch to Firefox this morning, but I used it in the past. I set Yahoo as my homepage, and it opens fine when I start Firefox but if I type something in the search bar, such as Wal-Mart or ebay it will display the search results, but when I cl
-
BlackBerry smartphones can not find the BBM icon...
I can't find my icon of bbm anywhere, even not in the bar to switch applications. I was updating it from app world blackberry, then the progress of update has failed. bbm icon was there until later that day, I deleted something and the phone was in n
-
I can't use an original program.
I bought a Adobe Creative cloud with services on the surf spot, but I can only download a trial version.How can I do this?
-
one of the icons at the top of my software is missing. I have those for: open the safe, files, print, share files, customize, reminder, BUT THE ONE for SOULIGNANT A WORD or EXPRESSION IS MISSING, then delete the page, etc. I have Acrobat Pro 10.