ADF: multiple master/details on one page

Hi forum,
A colleague of mine has a BC4J object that needs to display a tree-like structure on a JSP. The tree is only two tuples deep, but there can be multiple children for each main node, ie something like this:
xxx this is a 'master'
xyyy this is a detail
xyyy this is a detail
zzz this is a 'master'
zyyy this is a detail
zyyy this is a detail
Is there an easy way to do this by dragging/dropping the view object control unto the JSP canvas? The only thing they can seem to make work is one master with several details, not multiple masters each with several details.
JDev 9.0.5.16.27 (can't be helped)
tnx in advance

PPR to the rescue!
Try changing the singleSelection element to include your additional field in it's targets list. eg:
<singleSelection
  model="${bindings.OtherView1Iterator}"
  text="Select and ">
  <primaryClientAction>
    <firePartialAction
         targets="_uixState MyOtherFantasticField"
         source="OtherView112"
         event="select"/>
  </primaryClientAction>
</singleSelection>And you'll need to add an id to your field such as:
<messageTextInput
  model="${bindings.blah}"
  id="MyOtherFantasticField"/>Hope this helps.
CM.

Similar Messages

  • Master-Detail in One Page, on CREATE master, details show wrong rows

    Hi all,
    (ADF Faces + BC, 10.1.3 su5)
    I am creating a master-detail add/edit page in ONE page.
    Master : ADF Form, with Create, Submit, Commit, Rollback operation/button
    Detail : ADF Editable Table, with Create, Submit, Delete operation / button
    When first called, the page display the existing master-details in the collection.
    When I press Create on master, I expect the detail table to be refreshed to BLANK, but it keeps on displaying the existing rows.
    Detail table only becomes BLANK after I Submit the newly created master first.
    So the question is :
    How to make the detail table BLANK after I press Create on master ?
    Thank you ,
    xtanto

    See section 10.4.3 "When to Use CreateInsert Instead of Create" in the ADF Developer's Guide for Forms/4GL Developers.

  • How can I make multiple popup links on one page?

    I was wondering if anyone had a simple code that will allow me to have multiple popup links on one page? I have no idea what to do.  Any help would be greatly appreciated.

    Give each an individual id like:
    <SCRIPT language="JavaScript1.2">
    function openwindow1()
    window.open("score_popup/wbc_slalom_running_order.html",
    "mywindow","location=1,status=1,scrollbars=1,width=600,height=525");
    .......... etc.
    and then:
    <p><a href="javascript: openwindow1()">WBC Invitational Slalom Event Running Order</a></p>
    View actual working page here:
    http://www.worldbarefootcenter.com/
    scroll to bottom of page to see pop-up links. View source code for complete details:
    Best wishes,
    Adninjastrator

  • Multiple ALV reports on one page

    How to display multiple ALV reports on one page.

    this done by this code....
    *& Report  ZPR_02
    REPORT  ZPR_02.
    TYPE-POOLS: SLIS.
    Tables Declaration.
    TABLES: MARA.
    *Internal tables and data declaration.
    DATA: BEGIN OF IT_MARA OCCURS 0,
            MATNR LIKE MARA-MATNR,
            MTART LIKE MARA-MTART,
            MBRSH LIKE MARA-MBRSH,
          END OF IT_MARA,
          BEGIN OF IT_MARC OCCURS 0,
            MATNR LIKE MARC-MATNR,
            WERKS LIKE MARC-WERKS,
            EKGRP LIKE MARC-EKGRP,
          END OF IT_MARC,
          BEGIN OF IT_MARD OCCURS 0,
            MATNR LIKE MARD-MATNR,
            WERKS LIKE MARD-WERKS,
            LGORT LIKE MARD-LGORT,
            LABST LIKE MARD-LABST,
          END OF IT_MARD.
    DATA: WA_FIELD_CAT TYPE SLIS_FIELDCAT_ALV,
          IT_FIELD_CAT1 TYPE SLIS_T_FIELDCAT_ALV,
          IT_FIELD_CAT2 TYPE SLIS_T_FIELDCAT_ALV,
          IT_FIELD_CAT3 TYPE SLIS_T_FIELDCAT_ALV,
          WA_KEYINFO TYPE SLIS_KEYINFO_ALV,
          IT_LAYOUT TYPE SLIS_LAYOUT_ALV,
          IT_EVENTS1    TYPE SLIS_T_EVENT WITH HEADER LINE,
          IT_EVENTS2    TYPE SLIS_T_EVENT WITH HEADER LINE,
          IT_EVENTS3    TYPE SLIS_T_EVENT WITH HEADER LINE.
    *Selection Screen.
    SELECT-OPTIONS: S_MATNR FOR MARA-MATNR.
    *Start Of selection.
    START-OF-SELECTION.
    *Selecting the data.
      PERFORM SELECT_DATA.
    *Populating the field catelogue.
      PERFORM BUILD_FIELD_CAT.
    *Displaying the final output.
      PERFORM DISPLY_OUTPUT.
    *&      Form  Select_data
          Selecting the data.
    FORM SELECT_DATA .
      SELECT MATNR
             MTART
             MBRSH FROM MARA
           INTO TABLE IT_MARA
           WHERE MATNR IN S_MATNR.
      IF NOT IT_MARA[] IS INITIAL.
        SELECT MATNR
               WERKS
               EKGRP FROM MARC
             INTO TABLE IT_MARC
             FOR ALL ENTRIES IN IT_MARA
             WHERE MATNR EQ IT_MARA-MATNR.
      ENDIF.
      IF NOT IT_MARC[] IS INITIAL.
        SELECT MATNR
               WERKS
               LGORT
               LABST FROM MARD
             INTO TABLE IT_MARD
             FOR ALL ENTRIES IN IT_MARC
             WHERE MATNR = IT_MARC-MATNR
             AND   WERKS = IT_MARC-WERKS.
      ENDIF.
    ENDFORM.                    " Select_data
    *&      Form  Build_field_cat
         Populating the field catelogue.
    FORM BUILD_FIELD_CAT .
      DEFINE M_FIELDCAT1.
        WA_FIELD_CAT-TABNAME = &1.
        WA_FIELD_CAT-FIELDNAME = &2.
        WA_FIELD_CAT-SELTEXT_L = &3.
        APPEND WA_FIELD_CAT TO IT_FIELD_CAT1.
      END-OF-DEFINITION.
      DEFINE M_FIELDCAT2.
        WA_FIELD_CAT-TABNAME = &1.
        WA_FIELD_CAT-FIELDNAME = &2.
        WA_FIELD_CAT-SELTEXT_L = &3.
        APPEND WA_FIELD_CAT TO IT_FIELD_CAT2.
      END-OF-DEFINITION.
      DEFINE M_FIELDCAT3.
        WA_FIELD_CAT-TABNAME = &1.
        WA_FIELD_CAT-FIELDNAME = &2.
        WA_FIELD_CAT-SELTEXT_L = &3.
        APPEND WA_FIELD_CAT TO IT_FIELD_CAT3.
      END-OF-DEFINITION.
      M_FIELDCAT1 'MARA' 'MATNR' 'Material No'.
      M_FIELDCAT1 'MARA' 'MTART' 'Material type'.
      M_FIELDCAT1 'MARA' 'MBRSH' 'Industry Sector'.
      M_FIELDCAT2 'MARC' 'MATNR' 'Material No'.
      M_FIELDCAT2 'MARC' 'WERKS' 'Plant'.
      M_FIELDCAT2 'MARC' 'EKGRP' 'Purchasing Group'.
      M_FIELDCAT3 'MARD' 'MATNR' 'Material No'.
      M_FIELDCAT3 'MARD' 'WERKS' 'Plant'.
      M_FIELDCAT3 'MARD' 'LGORT' 'Storage Loc'.
      M_FIELDCAT3 'MARD' 'LABST' 'Valued Stock'.
      IT_EVENTS1-NAME  =  'TOP_OF_PAGE'.
      IT_EVENTS1-FORM  =  'F_TOP_OF_PAGE_ONE'.
      APPEND IT_EVENTS1.
      CLEAR IT_EVENTS1.
      IT_EVENTS2-NAME  =  'TOP_OF_PAGE'.
      IT_EVENTS2-FORM  =  'F_TOP_OF_PAGE_TWO'.
      APPEND IT_EVENTS2.
      CLEAR IT_EVENTS2.
      IT_EVENTS3-NAME  =  'TOP_OF_PAGE'.
      IT_EVENTS3-FORM  =  'F_TOP_OF_PAGE_THREE'.
      APPEND IT_EVENTS3.
      CLEAR IT_EVENTS3.
    ENDFORM.                    " Build_field_cat
    *&      Form  disply_output
         Displaying the final output.
    FORM DISPLY_OUTPUT .
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
        EXPORTING
          I_CALLBACK_PROGRAM = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
        EXPORTING
          IS_LAYOUT                        = IT_LAYOUT
          IT_FIELDCAT                      = IT_FIELD_CAT1[]
          I_TABNAME                        = 'IT_MARA'
          IT_EVENTS                        = IT_EVENTS1[]
      IT_SORT                          = IT_SORT
      I_TEXT                           = ' '
        TABLES
          T_OUTTAB                         = IT_MARA     .
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
        EXPORTING
          IS_LAYOUT                        = IT_LAYOUT
          IT_FIELDCAT                      = IT_FIELD_CAT2[]
          I_TABNAME                        = 'IT_MARC'
          IT_EVENTS                        = IT_EVENTS2[]
      IT_SORT                          = IT_SORT
      I_TEXT                           = ' '
        TABLES
          T_OUTTAB                         = IT_MARC    .
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
        EXPORTING
          IS_LAYOUT                        = IT_LAYOUT
          IT_FIELDCAT                      = IT_FIELD_CAT3[]
          I_TABNAME                        = 'IT_MARD'
          IT_EVENTS                        = IT_EVENTS3[]
      IT_SORT                          = IT_SORT
      I_TEXT                           = ' '
        TABLES
          T_OUTTAB                         = IT_MARD    .
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK             = ' '
      IS_PRINT                      = IS_PRINT
      I_SCREEN_START_COLUMN         = 0
      I_SCREEN_START_LINE           = 0
      I_SCREEN_END_COLUMN           = 0
      I_SCREEN_END_LINE             = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER       = E_EXIT_CAUSED_BY_CALLER
      ES_EXIT_CAUSED_BY_USER        = ES_EXIT_CAUSED_BY_USER
    EXCEPTIONS
      PROGRAM_ERROR                 = 1
      OTHERS                        = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " disply_output
    *&      Form  top_of_page_one
          text
    FORM F_TOP_OF_PAGE_ONE.
      WRITE: / 'Header details (MARA)'.
    ENDFORM.                    "top_of_page_one
    *&      Form  top_of_page_one
          text
    FORM F_TOP_OF_PAGE_TWO.
      WRITE: / 'Item details (MARC)'.
    ENDFORM.                    "top_of_page_one
    *&      Form  top_of_page_one
          text
    FORM F_TOP_OF_PAGE_THREE.
      WRITE: / 'Item details (MARD)'.
    ENDFORM.                    "top_of_page_one
    regards,
    venkat.

  • Can i have multiple applications open on one page

    can i have multiple applications open on one page?

    JShimazaki wrote:
    Mac OS X Mountain Lion supports multitasking like cbs20 mentioned. Just like MS Windows just press alt+tab to switch to whatever applications you have open.
    Actually it isn't Alt-Tab on OS X, it's Command-Tab to use the Application Switcher.
    Also, Control+ left/right arrow key will switch spaces if that's what's desired.

  • Master Detail on same page

    Hi,
    I have a custom master detail requirement. The page is currently only for CREATE, no query requirement. There are 2 custom tables involved and a common column (process_id).
    When I only have the MASTER detail on the page (VO-EO) and save it is fine, saves to table1.
    Now I want to add the ability to save 1..* records in the detail table.
    So I navigate to page, enter the master data as above, tab down to the detail section and enter a number of fields (say 3 new rows of detail).
    What are the basic steps to go about this. I appreciate there is some information in the Dev guide but it is a bit complex for what I require I think.
    I am thinking (and currently tying).
    Create new EO for detail table
    Create new VO for detail
    Create an EO association (is this needed???)
    Create a View Link between master and detail.
    Associate the VO with the same AM as the master.
    Add a new table region to the form...
    Now this all works in that I can display above. What is required to allow me to save successfully after entering the data.
    This is an urgent request, so any help much appreciated.
    Robert

    PPR to the rescue!
    Try changing the singleSelection element to include your additional field in it's targets list. eg:
    <singleSelection
      model="${bindings.OtherView1Iterator}"
      text="Select and ">
      <primaryClientAction>
        <firePartialAction
             targets="_uixState MyOtherFantasticField"
             source="OtherView112"
             event="select"/>
      </primaryClientAction>
    </singleSelection>And you'll need to add an id to your field such as:
    <messageTextInput
      model="${bindings.blah}"
      id="MyOtherFantasticField"/>Hope this helps.
    CM.

  • Data Merge specific cells, multiple (unlimited) entries on one page

    HELP!
    I've used the mail merge in the past with publisher to create labels and the like....in it on a single page I would code
    <<address>> and in another part of the page <<next entry, address>> <<next entry, address>>
    and so on and it would fill every area with the next entry in the excel file ad nauseum till complete. It was a simple way to extract specific continuous bits of information and apply it to a document on a single page.
    I haven't been able to find anything similiar with Data Merge but there must be a way since InDesign has been more powerful than publisher in every way so far. Here is a sample of what I am creating
    https://www.dropbox.com/s/7ewkwgmerz89ggf/Sample.pdf
    Basically I have a book where every year my boss has been hand retyping the ENTIRE calendar not just into what you see in the sample above but through out an entire day planner also. I'd like to streamline the process but everytime I try and place a data point it says (for example) <<Day of Month>> and page 1 will ONLY take data point 1. I'm aware of the multiple selections per page function but it wants to lay it out in a grid that doesn't match my document and I have 365 data points to plug in to 2014 and another 365 for page 2 (2015)
    Is there anyway to tell indesign I want <<Day of month, row 2, column 2>> in one box and <<Day of Month, row 3, column 2>> ....<<Day of Month, row 366, column 2>> All on one page so that I can place them precisely through out the document? This would allow me to make a simple adjustment to the CSV each year and then fill in the remainder with nothing more than a click.
    Any help would be appreciated because I'd LOVE to save 20 hours of work every year and huge numbers of mistakes. This has to be something SUPER simple but no tutorial I've found covers it, they all mention the multiple entries per sheet option and that does NOTHING like what I want. I'd have to create 12 documents, data merge them, and then place them into the primary document and that is terrible workflow.  Through out the final document not everything is in a comfortable grid like this so it would be even less useful.
    We use CS3 in case that is relevant for the topic.
    Thanks,
    Tinker

    I'm looking now but not finding anything promising. The calendar scripts all were for formatting very specific calander shapes and I need to be able (on one page) to have 7 entries in a non symmetrical layout (5 works days, then the weekends one over the other). Do you have any recommendations for scripts you like?
    Maybe I'll create a document the holds the information a few date entires per page then place that into the master cropped and moved around as needed. I'm still looking through the exchange for something that makes the tool a little more powerful for me. I'll post it here if I find something that does what I need as that doesn't sound like a very efficient workflow.

  • How do I print multiple (4) photos on one page with a border around each?

    How do I print multiple photos on one page with a border around each? I've gone the contact sheet route and adjusted the number of columns but there's only outer margins and very little white space between the photos down the middle of the page.

    Ok, now I feel stupid! I always thought I was printing 6 x 4 but now I realise I can't have done!!
    The photos that I used to print are approx. 5.2" x 4" (i.e. 4 fitted nicely on a page & I had to cut the boarder off).
    I guess I just need to play with different sizes under the 'custom' option in order to get the biggest possible picture!
    Thanks for the help

  • Can there be multiple Master Detail Views, if yes then how? Please suggest

    Dear All,
    In first master-detail view, I have a button, which when clicked will trigger the second detail view.
    I tried invoking second master detail view but was not able to see the second master view. Could you please guide as to how to go about this.
    Thanks.

    Do a Google search. Here's one link.
    http://mobiforge.com/developing/story/developing-split-view-based-apps-ipad
     Cheers, Tom

  • Multiple Master Detail Relation In Forms 6i

    I have tables as below
    1.Bill_Head
    Bill_No
    Bill_Date
    Fin_Year_Cd
    Remarks
    2.Bill_Tail
    Bill_No
    Product_Cd
    Amount
    Ded_Amount
    Net_Amount
    3.Bill_Tail_Det
    Bill_No
    Product_Cd
    Quantity
    Rate
    Interest_Percent
    Service_Charge
    Vat_Tax_Percent
    The Relation is like
    Between BILL_HEAD and BILL_TAIL is Master Details Relation
    Between BILL_TAIL and BILL_TAIL_DET is one to one relation
    In single form i am not able to insert record.
    If i build Master details between BILL_HEAD and BILL_TAIL, BILL_TAIL and BILL_TAIL_DET, when i run the for to insert data.
    I will put the data for BILL_HEAD data
    For this parent record there will be child record in BILL_TAIL block.
    For this BILL_TAIL parent record there may be a child record in BILL_TAIL_DET or may not. Suppose i put a child in BILL_TAIL_DET.
    Then i wanted put one more child record in BILL_TAIL block, if i say next record, it is asking me to "save the record first".
    Please help me in this regards
    my mail id : [email protected]
    Regards
    Mahaveer
    Message was edited by:
    user603318

    Thanks Kris, for your reply.
    Is there any way out to enter all the data at once and then commit, b'cse for every record asking to commit is tedius.
    Regards
    Mahaveer

  • View multiple pdf files in one page

    Hi experts!
    I have to build a mobile website that will show multiple pdf files (not just the links) on one page for comparison. I've found out that using iFrames or embedded object is not an option since scrolling is not available in either of them. What do you suggest I use for this purpose?
    Any help is appreciated.
    Thanks in advance.

    The application Preview.
    Preview Help.
    Save combined PDFs
    Open the PDFs you want to combine.
    In each open PDF, choose View > Thumbnails to display the pages of the PDF in the sidebar.
    Drag the thumbnails you want to add (Command-click to select noncontiguous pages) to the thumbnail sidebar in the other PDF.You can add pages to the end of the document or between pages in a document. Drag thumbnails to reorder them. You can also add a PDF file before or after another PDF document.
    Choose File > Export to save a new PDF containing all of the combined pages, or choose File > Save to replace the original version of the destination PDF with the version containing the combined pages.

  • Address book field, multiple address merge on one page.

    OK, after spending half a day tying to resolve this issue, I have given up. I do need to do this one way or another. Appreciate any help at hand.
    I need to create a list of company info from address book into pages. problem is if I 'insert address book field' say 'company name' twice and do a merge, Pages drag the same name in twice and not the next address merge. but does put it on the next page, no good need at least 5 different address on one page.
    Guy

    You are responsible of the spent time.
    Pages never claims that it is designed to fill pages with different labels.
    It claims that it is able to merge address in documents which is definitely not the same thing.
    The Apple's tool dedicated to label printing is AddressBook.
    The one dedicated to merge from AddressBook is Pages.
    Details available in PDF User Guide page 217
    and in the Help's page entitled: "Using Address Book Fields" (I got it searching for "merge").
    Yvan KOENIG (from FRANCE jeudi 14 août 2008 15:09:28)

  • Merge print multiple image files on one page

    Hello,
       A Windows 7 end user seeks for a technical support from me. She tries to merge print multiple image files (JPEG) by using the following steps :-
    1) highlight more than 1 files
    2) [Right-click] then Choose [Print]
    3) she could print the multiple images on ONE page successfully when she initially bought/used this Win7 computer , but recently (these 2 months) she got the error : pop up a few dialogue windows saying "Insufficient memory"
    4) I helped her to close all other applications software and found no high CPU/memory processes and also asked for help from hardware manufacturer and got NO virtual memory and physical memory full error by running a utility tool provided.
    The hardware config :-
    - Windows 7 Prof Service Pack 1 64 bit
    - 4GB memory
    - i5 Intel CPU
    Anyone can help me to fix the issues for my end user ?
    Thanks in advance
    Regards,
    Bruce

    Hi Bruce,
    In addition to above suggestions, this issue can also be caused by corrupted user registry key.
    Please test the issue in new user accout.
    If the issue doesn't happen under new user profile, I suggest you repair corrupted user profile:
    Fix corrupted user profile
    http://windows.microsoft.com/en-us/windows/fix-corrupted-user-profile
    Kate Li
    TechNet Community Support

  • Multiple Flex Apps on One Page

    Now that I've been laid off from Adobe (along with 700 others), I would like to seek Flex consulting opportunities, and one possibility is with web designers/developers wishing to offer their clients value added components.
    My question is that I heard you don't want for example three separate Flex apps on one web page, as it results in three instances of the Flash Player generated, or something like that.
    So is it necessary to group multiple Flex components into one Flex app to each web page? This can limit placement of Flex components on a web page, because the web page will not be completely done in Flex, as the page must be searchable.
    Any insight on this, particularly from Alex and others on the Flex product team at Adobe.
    Anyone new to Flex needs help on Flex components/applications, I'm available: [email protected]
    Thanks!
    Greg

    IMHO, it is all about memory.  Lots of pages have multiple flash players running banner ads.  That's because those ads are small.  If you're going to stick a couple of really small flex apps on a page, I would expect most folks have enough computer resources to handle that.  Once you get more complex, your apps also likely take up more screen real-state and soon you're looking at a portal and probably should have one main shell that loads sub-apps.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Multiple HTML5 Videos on one page

    How can I get more than one HTML5 video on one page?  When I tried to place 4 3-sec videos with autoplay and looping, only the first one plays.
      <video height="300" weight="300" controls preload="none" autoplay loop>
    <source src="video1.m4v" type= "video/mp4"/>
      <video height="300" weight="300" controls preload="none" autoplay loop>
    <source src="video2.m4v" type= "video/mp4"/>
      <video height="300" weight="300" controls preload="none" autoplay loop>
    <source src="video3.m4v" type= "video/mp4"/>
      <video height="300" weight="300" controls preload="none" autoplay loop>
    <source src="video4.m4v" type= "video/mp4"/>
    Thank you

    Hi
    Unfortunately you cannot, as most browsers use an "exclusive OR" code for playing videos, which means that only one will play at a time. The reason for this is that if they did not do so you could have multiple soundtracks playing at the same time.
    There are 3rd party players that will do this though, (sorry cannot recommend any specific player, but try a search).
    PZ

Maybe you are looking for

  • My Macbook Pro (retina) doesn't want to read an IDE with adapter?

    I purchase a Sabrent USB 2.0 to Sata/IDE hard drive Adapter, as I would like to look at all the data on three old hard drives I've extracted from old PC's (which had Windows 95 - 98 I believe) as it's mainly just photo's and perhaps a few documents n

  • Cant open itunes on my pc

    I cant seem to open itunes on my windows based PC. When I link on the desktop icon it simply circle whirls and then does nothing. this means I cant back up info on my PC which i prefer to do rather than using the cloud. What do i need to do?

  • Bank transfer/ Bill payment

    Hi, If you pay your bill with the above options do you incur a change? I want to know of a way to not get charged but not pay by DD Thanks

  • Vendor Master Data - Field SMTP_ADDR (email address)

    Hello Gurus, I need you help!! We have recorded a legacy for transaction FK02, because we needed to enter a large amount of e-mails in vendor master records. However, this field was not available in the transaction when carrying out the recording, so

  • Connect iphone to mac pro

    My iphone 5  can not be connected with my Mac Pro with bluetooth. Any idea what i can do to solve this issue?