How do I - MASTER -DETAIL JSP

Hi -
How do I create a simple Master-Detail page in JSP like Oracle Forms type.
I want to show/enter one master record and multiple child records and let the users enter data. I DO NOT WANT TO CREATE SEPERATE MASTER AND SEPERATE DETAIL JSP PAGE. I want the basic Master-Detail Form like Oracle Forms.
I am using JDeveloper 3.2
Thanks for your help !
Fahim

In our current release, we dont generate a single-page master-detail editing page. You would are missing an editable data-grid tag for this to be possible. You can create this control yourself using the provided datatags.

Similar Messages

  • Master-detail jsp for bc4j using JBO tags

    I have created a master-detail jsp for bc4j using JBO tags. However, I can not get the correct result. There are some examples on OTN, but they are about jsp programs. How to define the relationship of the master view-object and the detail view-object?
    Thanks for your help.

    I know you're having a problem upgrading, but...
    Could you upgrade to 9.0.3 and tell us what problems you're encountering?
    Thanks.
    Sung

  • Help needed to create a master-detail JSP page using OAF.

    I like to create a master-detail JSP page using OAF. If any help or guide will be appreciate.
    - Kausik

    A Master Detail Page is a basically a game between two VOs(Master and Detail mostly connected through a View Link). You can also have a look at the View Link section in the Dev guide. Page Layouts is one thing which you can take a call yourself.
    Regards
    Sumit

  • How to implement Master-Detail Search in TopLink without using DataControl

    Hi,
    I am using TopLink and EJB in our requirement. But we are not creating any data controls. Without data controls how to implement master detail search using TopLink and EJB. I did search for a single table. It is working fine. The way i implented is as follows.
    1) Taking search parameter from UI and passing it to A delegator class's method.
    2) Delegator class's method calls the EJB's NamedQuery which i already created using expression builder.
    3) EJB executes the NamedQuery with the parameter we are passing. And it returns the results back to UI.
    But as i am new to TopLink, can anyone tell me the procedure to implement Master - Detail search. Here we need to search based on Master table's column.
    Waiting for the replies regarding this.
    Thanks & Regards,
    Suresh Kethireddy

    Hi,
    I did it successfully. Following is the code.
    Session session = getSessionFactory().acquireSession();
    UnitOfWork uow = session.acquireUnitOfWork();
    ReadAllQuery raq = new ReadAllQuery();
    Dept d = new Dept();
    d.setLoc(loc);
    raq.setExampleObject(d);
    List<Dept> res=(List<Dept>)uow.executeQuery(raq);
    for(int i=0; i<res.size();i++){
    System.out.println("Dept DeptNo ---"+res.get(i).getDeptno());
    System.out.println("Dept DeptName ---"+res.get(i).getDname());
    System.out.println("Dept Location ---"+res.get(i).getLoc());
    List<Emp> eRes=res.get(i).getEmpCollection();
    for(int j=0; j<eRes.size();j++){
    System.out.println(" Emp No ---"+eRes.get(j).getEmpno());
    System.out.println(" Emp Name ---"+eRes.get(j).getEname());
    System.out.println("Emp HireDate ---"+eRes.get(j).getHiredate());
    System.out.println(" Emp Job ---"+eRes.get(j).getJob());
    System.out.println(" Emp Mgr ---"+eRes.get(j).getMgr());
    System.out.println(" Emp Sal ---"+eRes.get(j).getSal());
    But now my question is, i want to search by providing Dept param as well Emp(Which is child table) param also. Is it possible?
    I tried in 2 ways like this.
    1) Emp emp = new Emp();
    emp.setEname(eName);
    dept.addEmp(emp);
    raq.setExampleObject(dept);
    2) Emp e = new Emp();
    e.setEname("ADAMS");
    List<Emp> list = new ArrayList();
    list.add(e);
    d.setEmpCollection(list);
    raq.setExampleObject(d);
    But in both cases i failed to search based on the values i am passing to Emp.
    Is there any other way to achieve my requirement?
    Any help on this is great.
    Thanks & Regards,
    Suresh K

  • Some dummies need help in master detail jsp page

    We don't know how to use data control to generate a jsp master detail page in case of many-to-many relationships. We didn't find any info about this and our testcase never display the data of the last iterator.
    We have
    a collection that contains department object.
    a collection that contains the relationship between department and employee (the many-to-many relationship)
    an object that represent the employee
    The structure is correct in the data control.
    We are able the create our page for both first and second collection but it is not possible to display the detail of the corresponding employee in the detail table. When the table is generated from this level no data is displayed.
    Is it somewhere described how to solve such problem ?
    Does somebody know how to do ?

    Hm, your requirements sound like homework assignment from classroom. If so, is itn't better that you find the answer youself? There are plenty of very relevant references for how to use jsp to handle html forms or talk to a rdbms through a jdbc connection. For example, for jsp and html forms, you can google "jsp html forms"; for jsp and sql query, search for "jsp jdbc".
    Tell me if this is not helpful.

  • How to expose master-detail ViewObject of AppModule to service interface.

    Hi all,
    There is two VOs(master-detail), One is deptmentVO and the other is emloyeeInDeptVo. and a view link between departmentVO and employeeInDeptVO, the relationship is master detail.
    Now, I want to expose the custom method to web service, i.e createEmployee(EmployeeInDeptViewRowImpl employee).
    I perform the steps in Fusion ADF guide(+11.2.6 How to Support Nested Processing in Service-Enabled Master-Detail View Objects+).
    such as generate the SDO, and set the SERVICE_PROCESS_CHILDREN=true of the viewlink property.
    But when I publish the method in service interface, I cant get operation of the nested VO(employeeInDeptVO), only the master ViewObject is available.
    Any one have suggestions on this.
    Thank in advance.

    I have a similar scenario, and I'm seeing the same thing. The detail view isn't available for selection in the edit "Service View Instances" dialog of the "Service Interface" tab of the related application module. In my case, I have a view link based on an association that is rooted in a foreign key relationship between the underlying DB tables. The view link includes accessors in both the master and detail views. Based on the developer guide, I should be able to service enable the detail view, but this doesn't seem possible. My master view is service enabled, but my detail view isn't.
    Has anyone ever successfully service enabled a detail view in a master-detail relationship?
    Thanks

  • How to Create Master Detail Page with Query Region

    Hi,
    1. I have a requirement that i need to create a Master(Supplier) Detail(Supplier Site) Page with Query Region.
    Eg. Supplier A in Australia has Supplier Sites X in Melbourne and Y in Sydney.
          Supplier B in US has Supplier Sites C in New York and D in California.
    I need to have Search, based on two fields Supplier Name and Country
    Let us assume i am searching with Supplier Name A then the page should be in the below layout
    Query Region
    Supplier Name : A
    Country:
    Master
    Supplier Name  Country
        A                     Australia
    Detail
    Supplier Site  City
    X                   Melbourne
    Y                   Sydney
    In detail VO it should allow me to add new sites which means i need to connect this VO to database to insert new records
    I have gone few threads and understood that this can be achieved by creating SupplierVO, SupplierSiteVO and a ViewLink.
    But when tried i don't know how can i relate my query region with the Suppleir Table(Header Reagin and Table Using Wizard) and Supplier Site Table(Header Region and Table Using Wizard) i am not sure if i am correct or not, please advise
    2. Also i need to have a Open button in this page and if click the button it should navigate to some other page.
    Please help me how can i achieve this.
    - How to design my page with query region and master detail tables
    - what is the AM and CO code need to be handled
    - What is the code should i write in Open button to open new OAF page.
    Thanks,
    CSK

    Hi,
    This link will be useful for your requirement.
    Master Detail Page using Hide Show and Advanced Table inside Advanced Table - OracleArea51.com
    Let me know if you need more help in this.
    Thanks and Regards,
    Myvizhi

  • Urgent! Simple master detail jsp without ADF.

    We need to develop a master detail page. personal and detail process record for that personal.
    This will work on the web so We are using jsp technology.
    (We are using tomcad so We can't use ADF because of deployment problem. maybe the fallowing phase ADF will be used.)
    We can't find these kind of sample java and web. Especially data grid type interface on the web.
    This is very important program and we need urgently finish.
    Thanks for your help.

    You can use ADF with Tomcat, you just need to install the ADF runtime libraries on your tomcat.
    There is a toole->install ADF Runtime option for this.

  • How to Create Master-Detail OA Page

    Hi,
    I'm trying to create Master - Detail Page in OAF, but i can't find right way to do that.
    Can anyone please explain me in steps how to create or give me any document/web link for reference.
    Thanks,
    SAN

    Hi
    chk below links
    http://oracle.anilpassi.com/master-detail-screen-in-oa-framework-part-i-2.html
    http://oraclearea51.com/blog/master-detail-page-in-oa-framework.html
    Thanks
    Pratap

  • How to implement Master - Detail relation between two table views in OBI11g

    Hi Gurus,
    I was able to create master- detail between table and graph.
    But between two tables not.
    I put the listening column on the table prompt and specified channel for the Listen to Master-Detail Events in the table properties.
    But did not work.
    Where is the mistake?
    I"d appreciate any ideas, help!
    Thanks
    Laszlo

    Thanks for the link!
    My question is :
    Are the same thinga the page edge and table prompt for the tables?
    If not how to add a column to the page edge (not to the table prompt)?
    Thanks
    Laszlo

  • How to create Master Detail Form in htmldb 2.0

    This option use to be available in 1.6 but I can't see it anywhere in 2.0.

    Anonymous - Create Page>Form>Master Detail Form.
    Scott

  • How to hide a column in master-detail jsp

    My jsp contail a master view and a detail view ,and have a link between two,i want hide the column in the detail view as it was shown in master view,How can i do?

    Assuming you are using BC4J - double click on the view object to edit it. Go to the attributes section and shuttle the attribute you want to hide back to the left.

  • Master-detail problem in ADF JSP

    Is there any way I can add a detail record in a master-detail JSP page without having to open a new page?ž
    Milos

    Hi Frank,
    Thanks for your reply. In the application I used weblogic JDBC driver for Sybase when it was developed in 11.1.1.1.0 version.
    The following are the extries in bc4j.xcfg file:
    jbo.sql92.JdbcDriverClass="weblogic.jdbc.sybase.SybaseDriver"
    jbo.TypeMapEntries="Java"
    jbo.SQLBuilder="SQL92"
    Now I have changed the JDBC to Sybase jConnect (jconn4.jar) and driver class is com.sybase.jdbc4.jdbc.SybXADataSource and other entries remains the same as it was before.
    Thanks
    Jalil

  • Problem on Master Detail CRUD

    Dear All,
    I am trying to figure out how ADFBC handles Master Detail relationship as this
    is the first time where I need to handle table relationship.
    From practice, I only used one table but this time I need to manage the relationship also.
    I have two tables below. They have a one to many relationship.
    PART_ID in the PARTS_CODE table is populated by a DB sequence.
    PARTS_CODE                                   PART_DESC
         - PART_ID (PK)                              - PART_ID (PK)
         - RANGE                                   - REGION  (PK)
         - CATEGORY                              - DESCUse Case is like this:
    PARTS_CODE table holds the data on the parts while PARTS_DESC holds the information on the Region specific description of the parts.
    Now I created a View object that joins the two tables. Then I drag this View Object from
    my Data Control as an update-able table.
    I just have some questions on the implementations:
    1. When I drag the CreateInsert button and click it, I notice that it adds a new row to the
         table but I notice that it creates Input Text component only on the columns associated with
         the PARTS_CODE Table, the other columns for the PART_DESC does not have any UI components.
         How to solve this?
    2. How can I manage the relationship such that when it inserts the data on the PARTS_CODE, I need
         to get the DB sequence generated number and insert it into the PART_DESC table
    3. Any demo/links that shows CRUD operations that involves master detail tables?
    I have searched the forum for Master-Detail Crud but I only see how to display the relationship and not
    the CRUD operations.
    Found this blog also http://andrejusb.blogspot.com/2009/03/create-operation-for-master-detail.html but
    I am having trouble fully understanding it yet.
    JDEV 11G PS3
    Thanks

    Hi,
    Which of the following is your case scenario?
    1) By pressing CreateInsert, You want to have one new row with data from both tables?
    For this, You should make the reference entity to be updatable. You will find the property in the Entities level of your View Object. By creating at the same time, you have to handle the PK properly. Especially if there is a change to the PK of the master entity.
    2) Do You want to have two createInsert Buttons and press them in order?
    You have to follow the view Link
    Regards,
    Dimitris.

  • DVT: Master-Detail Bar Graph

    Hi,
    JDev Version: 11.1.1.5.0
    I am using ADF DVT Bar Graphs to show the details of Master-Detail Tables. I found one useful sample at: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/057-dvt-master-detail-172847.pdf by Frank. This example contains Master as a Bar Graph and on clicking a particular Bar refreshes the detail table with corresponding detail content.
    I would like to have a similar behavior but the detail table should be another Bar Graph instead of a table. Can some one let me know or share some example to show how to have master-detail relationship with two bar graphs?
    Thanks in advance
    Rathnam

    Hi,
    creating an m-d begavior is quite simple:
    1) drag the parent collection (e.g. Departments) as a bar graph to a page
    2) Select the checkbox to set the selected pie as the current row
    3) drag and drop the dependent collection (e.g. Employees) as another graph
    4) either set changeEventPolicy=ppr in the PageDef file for the Employee Iterator or
    set the PartialTriggers property of the detail graph component to point to the parent
    Frank

Maybe you are looking for

  • I have a question about General Data Selection in Report Painter

    Please help me out. Thi is the question....here it goes. In a Report in ReportPainter, I have in the General Data Selection the following selected characteristics. They are: Ledger = 0 Record Type = 0 Version = 1 Fiscal Year = Z-ANOACT Period = (1CPE

  • Widget: Flash Slideshow (Image Viewer) - Modifications Help!

    I created a Flash photo slideshow using Dreamweaver CS3's Insert > Media > Image Viewer. It can be seen here: http://cba.ua.edu/~ckent/ImageViewer/imageviewer.html. All and only relevant files can be found in the following directory: http://cba.ua.ed

  • How to stop auto comnnecting to share as AppleID (permissions)

    OK chaps and chapesses, I've had a search but the question I want to ask usually gets asked in reverse (how to connect as Apple ID). This is the scenario. 1) I have 2 macs - a 2009 Mac Pro desktop and a 2011 MacBook Pro. 2) They are (at the moment) e

  • To anyone who wants to know

    I figured it out how to show a hidden dynamic table using JAVASCRIPT: just show the screen using location.href("XXXXXview.uix?event=<event name>), when the event name declared sets the data:rendered property of the dynamic table to "true". Thanks any

  • What is the Best way to connect CRM Case Management with EP-KM?

    Hi Gurus, We will implement a Case Management in CRM 7.0 EHP2  and  EP 7.31 with  KM. The Client needs Clasifications and Search of the documents in Case Management, the number of documents could be 1,000, 000 aprox... I thing are 2 options : 1) The