Master advance table with two detail advanced tables
Hi All,
I have this in mind..please let me know if that is possible.
I want to have two detail advanced tables within a master advance table.
The two detail advance tables will be wrapped in a subtab layout.
My questions are:
Can a master table have two details tables?
Can a advance table have two inner advance tables?
Your help or ideas would be valuable to me.
Thank you,
Arun
Hi OAF Gurus
I just want to know whether this is possible or not.
I have created two view links and three view objects
Table in Table in Table
Table1--> Table2 --> Table3
One problem i am facing when i click on Show link of Table1,it displays details of Table2 and when i click Show link of Table2,it displays details of Table3.
but when i click on Hide of Table1, it says
oracle.jbo.NoDefException: JBO-25002: Definition <Table3 View Object> of type Attribute not found
Could you please anybody throw some pointers on this?
Thanks
Hitesh
Similar Messages
-
How to create one master table and two detail for it
I have one table , imagine it like mastertable( empid,deptid );
and two different tables like employeetable(empid ) , departmenttable ( deptid )....
I dont have any relation on database side. I need to create view link and ı need to use only one master table for two detail tables.
How can ı manage this scenerio ?
thanks...yes Shay ı really want to use two detail table in one UI as you suggest in your blog. But in that scenerio probably tables have link in database side with foreign key. My detail tables dont have any connection in database side with my master table. How can ı link them under one mastertableVO ?
I am really sorry about my bad explanation. I am a newbie and probably ı dont know the correct words to tell my problem.
Thanks for your time... -
Master table with two child tables in ADF Framework
Hi,
I'm trying to implement single master with two detail tables using oracle adf framework of Jdev 11.1.1.4.0. I'm able to do single master-detail by using view link but unable to achieve nested details block i.e., master with nested child blocks.
I created Query based view object of Master and two query based view objects as details. Then I created two view link for master with first child and another view link for master with second child. Even then in my data controls I see as two different components which is incorrect.
Please let me know how to create a data control for an example shown below:
Fruits [MASTER]
--- Details of Fruits as adf table
-- Apples [FIRST CHILD]
---- Details of Apples as adf table
-- Oranges [SECOND CHILD]
---- Details of Oranges as adf table
Regards,
Amar.You need two viewLinks
Fruits->Apples
Fruits->Oranges
Then in the data model you pick the Fruits entry that has:
Fruits
|--->Apples
You stand on Fruits and you shuttle the Oranges to be under it from the left.
If you'll use the default HR schema you'll see this type of relation for Employees:
https://blogs.oracle.com/shay/entry/master_with_two_details_on_the -
Issue - Master with two Details
Hi,
I have three VO's, the first one VO1 is the master with two details VO2 & VO3.
Can I use ad advanced table with Master- Details & Details for the above VO's?
I want create a page with Advanced Master Table VO1 and when the user click Show/Hide it should display two Advanced Tables for VO2 & VO3.
Is this possible to achieve?
If not Please advise how I can use another way to display the data with Master - Details 1 & Details 2
Regards...AshrafYou could use "New"/"BC" and create a ViewLink with the same name as the FK Assoc. If you edit the PackageModule, you should be able to see your FK link in there.
-
Master with two details(child) relation?
Hi guys,
I 'd like to have a Form with one master table and two detail tables.
The business component wizard doesn't allow
me to create this relation.
Although these two details table are logically children of the master but have not defined specifically Foreign key for them on table/database level.
I created Associations via JDev3.1 to join
these master with details, but still business
component wizard didn't allow me to have
one master and two details.
Do i have to create foreign keys to join children to master on database level or
I can create an association with JDev? How?
Thx
Ali
nullYou could use "New"/"BC" and create a ViewLink with the same name as the FK Assoc. If you edit the PackageModule, you should be able to see your FK link in there.
-
Displaying a Master with two detail view objects
Hi,
I have a situation where I need to relate a Master view object to two Detail view objects. Currently I am doing the lookup manually (using viewcriteria!) but I would much rather have the framework handle this. Does anyone know of a way to A: Link two details to one master and B: Display them on the same page.
I am using Jdeveloper 9.0.3.3 (1205) and currently have a straight BC4J/JSP application with no struts or UIX.
Thank you in advance for any help you can provideIf I understand you correctly. You should just have to create two separate viewLinks. Add the datasource tags for the master and the two views via the viewlinks. Then use a rowKey to get the correct master.
Hope that helps! -
Dynamic Table with two columns
Hi!
i have to create a Dynamic Table with two columns having 5-5 links each with some text...... three links r based on certain conditions....they r visible only if condition is true...
if the links r not visible in this case another links take it's place & fill the cell.
links/text is coming from database.
i am using Struts with JSP IDE netbeans
Please help me
BuntyIndiai wanna do something like this
<div class="box_d box_margin_right">
<ul class="anchor-bullet">
<c:forEach items="${data.faqList}" var="item" varStatus="status"
begin="0" end="${data.faqListSize/2-1}">
<li>${item}</li>
</c:forEach>
</ul>
</div>
<div class="box_d">
<ul class="anchor-bullet">
<c:forEach items="${data.faqList}" var="item" varStatus="status"
begin="${data.faqListSize/2}" end="${data.faqListSize}">
<li>${item}</li>
</c:forEach>
</ul>
</div>
wanna divide table in two columns....if one link got off due to condition other one take it's position...
I have created a textorderedlist
Bunty -
Creating a Master with Two Detail report style
In a Group-Above report data model, how does one add a 2nd detail group appearing at the same hierarchial level as the 1st group?
The report already exists with MASTER and detailA. I need to add detailB and tie it to MASTER just like detailA.
|MASTER|
|detailA||detailB|
\-------/\-------/Amjad,
Thanks for the reply. My question relates to your suggestion #1: How does one create detailB in the data model?
The only thing I have been able to do is to create a 2nd query linked to the 1st query. This makes the data model look like it has two masters each with one detail. What I want is a single MASTER with two details.
Are you suggesting that the only way to accomplish this is by having two queries, one linked to the other, as in the crude rendering shown below?
|MASTER1||MASTER2|
|DETAIL1||DETAIL2|
The above would be displayed in the data model as follows:
|__Q_1___||__Q_2___|
|G_DETAIL1||G_DETAIL2|
\----------------/\----------------/ -
Hello, i have a table in that table i have a header row which has another table with two header rows
When form spans more then one page on page2 the color and border are showing up outside of table see example below.
Anyone have any ideas how I can fix this?
I am using Livecycle designer ES2 9.***
THanksHi,
If the table spans to Next page then if you want to move whole table to other page then uncheck the allow page breaks with content option which is under Object Tab.
Thanks
Vjay. -
Populating a table with two columns using a custom bean
hello,
Can someone provide me or give me a link to an example of populating a table (with two columns) with a custom bean?
thank you
fwu1)create a java class
2)have a list as a class variable
3) populate the list in the constructor..
4) map the values in the af:table
//Employee pojo
public class Employee {
public Employee() {
super();
private String empName;
private String empManager;
private String job;
public void setEmpName(String empName) {
this.empName = empName;
public String getEmpName() {
return empName;
public void setEmpManager(String empManager) {
this.empManager = empManager;
public String getEmpManager() {
return empManager;
public void setJob(String job) {
this.job = job;
public String getJob() {
return job;
//maanged bean
public class Bean {
private List<Employee> employee;
public Bean() {
super();
employee = new ArrayList<Employee>();
Employee e1 = new Employee();
e1.setEmpName("xxxxx");
e1.setEmpManager("xxxxxxxx");
e1.setJob("xxxxxxx");
Employee e2 = new Employee();
e2.setEmpName("yyyyyyy");
e2.setEmpManager("yyyyyyy");
e2.setJob("yyyyyyt");
Employee e3 = new Employee();
e3.setEmpName("zzzzzz");
e3.setEmpManager("zzzzzzz");
e3.setJob("zzzzzzzz");
employee.add(e1);
employee.add(e2);
employee.add(e3);
employee.add(e4);
public void setEmployee(List<Employee> employee) {
this.employee = employee;
public List<Employee> getEmployee() {
return employee;
}in the table map like
<af:table value="#{Bean.employee}" var="row" rowBandingInterval="0"
id="t1">
<af:column headerText="Employee Name" id="c1">
<af:inputText value="#{row.empName}" id="it5"/>
</af:column>
<af:column headerText="Employee Manager" id="c2">
<af:inputText value="#{row.empManager}" id="it2"/>
</af:column>
</af:table> -
Working with two or more tables in Numbers
Working with two or more tables in Numbers
It is possible to write numbers or names in Table 1 B-2, B-3, B-4, B-5, B-6 etc. and automatically copy in Table 2 only B-2, B-4, B-9, B23 etc.
What do I need to do???
Thanks for the helpThe table on the left is named "Source" and on the right "Destination":
In the table "Destination" on the right:
B2=Source :: B2
select B2 and fill down -
Master/Details tables with CASCADE delete giving "table mutating" error
Hi,
I have two tables in a master/details configuration (table 1 is "master", table 2 is "details").
The details has a FK contraint relation to the master with a CASCADE delete (so when the master is deleted, all associated details are deleted).
The master table has a column "last_updated_datetime" which is updated by a master table update trigger whenever most (excluding the last_updated_datetime column) columns are updated.
The details table has an update trigger which also updates the master table's last_updated_datetime column (whenever a detail row is changed).
The details table also has a delete trigger which also updated the master table's last_updated_datetime column (whenever a detail row is deleted).
The problem I have is: When the master record is deleted, which cascade deletes the details record(s), the delete trigger on the details table throws a "table is mutating" error.
I understand that the "mutating" error is "correct" because the master record is being deleted.
But is there some way I can get around this problem (for example, having the details table delete trigger not update the master table last_updated_datetime) when it's this cascade delete?
Thanks for your help!create table master (
id number primary key,
changed date not null
create table detail (
id number primary key,
master_id references master (id) on delete cascade
create or replace package pkg is
master_deleted boolean := false;
end;
create or replace trigger bds_master
before delete on master
begin
pkg.master_deleted := true;
end;
create or replace trigger ads_master
after delete on master
begin
pkg.master_deleted := false;
end;
create or replace trigger adr_detail
after delete on detail
for each row
begin
if not pkg.master_deleted then
update master
set changed = sysdate
where id = :old.master_id;
end if;
end;
insert into master values (1, sysdate - 10);
insert into detail values (11, 1);
insert into detail values (12, 1);
insert into master values (2, sysdate - 10);
insert into detail values (21, 2);
insert into detail values (22, 2);
insert into master values (3, sysdate - 10);
insert into detail values (31, 3);
insert into detail values (32, 3);
commit;
select * from master order by id;
ID CHANGED
1 01.09.08
2 01.09.08
3 01.09.08
select * from detail order by id;
ID MASTER_ID
11 1
12 1
21 2
22 2
31 3
32 3
delete detail where id = 21;
select * from master order by id;
ID CHANGED
1 01.09.08
2 11.09.08
3 01.09.08
select * from detail order by id;
ID MASTER_ID
11 1
12 1
22 2
31 3
32 3
delete master where id in (1, 2);
select * from master order by id;
ID CHANGED
3 01.09.08
select * from detail order by id;
ID MASTER_ID
31 3
32 3 Regards,
Zlatko
Edited by: Zlatko Sirotic on Sep 11, 2008 11:15 PM
This is disaster - ten attempts to format code! -
Friends,
I can do a master-detais with one level, but can I do master detail with two or more levels?
Sample: Departments -> Employees -> Bankacount
just a simple sample ;-)
Thanks!Creating a Master-Detail-Detail realtionship with BC4J
Creating the Application Model
1. Create New BC4J entity objects and default views for the three related tables. I'm using the OE schema for this with the Customers, Orders, and Order Items.
2. Create a New View link (I'll call it ViewLink) using Orders as the source view and Order Items as the destination entity.
3. Edit the Application Module by double clicking on it.
4. Remove the exisitng object in your datamodel by shutteling them to the left.
5. Add the CustomerView top level item to the new data model by shutteling it to the right.
6. Add the OrdersView from the second level to the data model
7. Add the "Order Items via Viewlink" node to the data model.
You should now have a three level data model that you can test using the Application Model tester.
Creating a simple JSP for the data model
1. Create a new JSP.
2. Drag the Customer object from the Data Control Palette to the page as a read only form.
3. Drag the Customer object from the Data Control Palette to the page as Navigation buttons.
4. Drag the Orders object from the Data Control Palette to the page as a read only form.
5. Drag the Orders object from the Data Control Palette to the page as Navigation buttons.
6. Drag the Orders Items from the Data Control Palette to the page as a read only table.
7. Run your JSP
You should be able to navigate through the customers using the navigation buttons. This navigation will change the orders that are displayed. Navigating through the orders will change the items that are displayed. -
Master with two detail components
Hello Gurus, hoping one of you may be able to help.
This question relates to ADF in JDeveloper 10.1.3.4 and the Model will be implemented in EJBs (sorry, client restriction in place so no BC4J is allowed)
Is it possible to have a Master record display on an ADF page whilst displaying two different sets of detail rows using different components.
For instance, I have a master table A that has two detail tables, B and C.
I want to display a single record of the master A, along with rows from B in an ADF Table and rows from C in a selectManyShuttle.
The detail components can be displayed at the same time, but ideally I would love the ability to hide one or the other by selecting a tab.
Thanks.If I understand you correctly. You should just have to create two separate viewLinks. Add the datasource tags for the master and the two views via the viewlinks. Then use a rowKey to get the correct master.
Hope that helps! -
How to build a table with two For Loop
Hi,
I have two Loop For and I want to build a table with N columm (N = a loop + b loop)
You can see my example.
Thank's a lot
Attachments:
help_table.zip 10 KBI think this is the solution that you are going for.
-Jim
Attachments:
help_table.vi 26 KB
Maybe you are looking for
-
Pop up players won't play on my mac book pro anymore
I used to be able to listen to music/shows on npr and sites like hayhouseradio.com, but now when a pop up player comes up and I push play nothing happens. I had the program little snitch on my computer and tried taking it off, but I have a feeling I
-
Is there a maximum program size for the AWM GUI?
Is there a maximum program size for the AWM GUI? I have a program that I migrated from Oracle Exress to Oracle 9i. The program runs fine, but I get buffer errors whenever I edit it with the Analytic Workspace Manager GUI. Only my longest program has
-
Lumia 620/920 with Nissan Navara integrated Hands ...
Hi all My wife's Lumia 620 is causing a real problem with the (integrated) hands free in her Navara and I suspect my 920 will be the same (haven't checked yet) as they both support HFP 1.5. Specifically dreadfull transmission sound quality, the sound
-
Screen get black during phonecall
Hi I bought my Xperia z3 in october, it has worked fine untill now....When i get a call or make a call my phone goes into blackscreen and i cant open it with pressin the button on the side. I have to wait for the call to cancel then i cant press the
-
BAM Data Control - Group query with Active Data Service
Trying to get a group query from a BAM data control to work with Active Data Service in an ADF application (JDeveloper 11.1.1.4.0). With a flat query, as the data changes, I can see DataChangeEvents fired, resulting in a data push to the client - <BA