Same VO in multiple palce in same page

Hi All,
I have a page which has some input components binded to a VO say EmployeeVO. On the same page i have another section which is also binded to the same VO (and the same fields). I have a save button in both the region.
My requirement is when i click the save button in region 1 the values of components binded in region 1 should save.
When i click on save of region 2, values from region 1 as well as region 2 should be save..
but since both the region are bounded to the same VO, how do i get the independent value.
This is how i am accessing the Values in my Impl class in ApplciationModule :
        ViewObjectImpl employeeVo = this.getEmployee();
        EmployeeVORowImpl employeeVoRow = (EmployeeVORowImpl)employeeVo.getCurrentRow();hope m clear ..
Ne ideas on this ?
thnks

Hi,
you an try different instances of the VO and access the values from the ADF iterator binding. The code you have only works if the View Object instances are different, which is either when the VO runs in a different transaction (which you can enforce by using ADF regions with non-shared DC scope) or by using different View Objects.
Frank

Similar Messages

  • How can I have use the same div ID multiple times on the same page?

    Okay so a problem I encounter a lot is that often times I want to use the same div ID several times on the same page. An example of this is when I'm creating table like designs.
    Let's say for instance I create a div ID called 'product-container'. I want to use 'product-container' multiple times on the same page but if I do this it is improper XHTML and will throw errors in any XHTML validator (you are only allowed to use a div ID once on any XHTML page in order for it to be standards compliant).
    Now the first option is that I could define 'product-container' in my CSS style sheet multiple times by doing something like this...
    #product-container {
         width: 300px;
    #product-container-2 {
         width: 300px;
    #product-container-3 {
         width: 300px;
    #product-container-4 {
         width: 300px;
    What you will see there however is that it seems pointless to define the same ID numerous times over (just adding a number on the end) when each ID is the exact same thing and has the exact same attributes.
    Now what I have noticed is that there are some sites out there who manage to have the same ID appear several times in the code but add a number to it just like above. The difference is that they only have one definition for 'product-cointainer' in their CSS document but in their actual XHTML code they have IDs for 'product-container' but with numbers on the end like 2,3,4,5, etc. It's almost as if JavaScript or some other code is automatically appending a number on the end of the ID so the validator won't consider the markup to be invalid, but yet it knows that it's using the same 'product-container' style that is contained in the CSS style sheet.
    I hope I explained this correctly. I'm just hoping to find a way that I can put the same div ID on a page multiple times without having to define it over and over again in my CSS.
    Any help is much appreciated!

    Because it seems like by using a class you can't make this position as 
    well as you can by using an ID. Am I wrong?
    An ID name can be used only one time per page.  A class name can be used multiple times per page.
    .product {
    width: 300px;
    text-align:left;
    color: #FF0000
    border: 2px solid #666;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • How to pass a parameter from a report to multiple forms in the same page

    Hi:
    i have a report and a lot of forms in the same page. The fact is that i want to stablish a link over a filed in the report which would make some information appear in those forms so that information could be updated. For example: i have a report with company names. Over those names i want to put a link. When the link would be pressed the forms would reflect the information about that comany. Is this possible to be done? how can i do this or something similar?
    Thanks.
    Regards. Urko.

    Please see post Re: session state security
    It has been done for a single form in a page and can be extended to multiple forms as well.

  • How to load multiple HTML5 canvas on the same page (the proper method)

    Hi,
    I've been struggling to load multiple canvas animations on the same page. At the beggining I thought that exporting the movies with different namespaces and reloading the libraries in a sequential flow might work, but it doesn't. It always loads just the last animation loaded. More info here: Coding challenge: what am I doing wrong?
    Here is a sample of what I'm doing:
    1st: Publish two flash movies with custom namespaces for "lib" set in the "publish settings": "libFirst" and "libSecond".
    2nd: Edit the canvas tags in the HTML page. One called "firstCanvas" and the other one called "secondCanvas"
    3rd: Edit the javascript like this:
            <script>
                // change the default namespace for the CreateJS libraries:
                var createjsFirst = createjsFirst||{};
                var createjs = createjsFirst;
            </script>
            <script src="//code.createjs.com/easeljs-0.7.1.min.js"></script>
            <script src="//code.createjs.com/tweenjs-0.5.1.min.js"></script>
            <script src="//code.createjs.com/movieclip-0.7.1.min.js"></script>
            <script src="{{assets}}/js/first.js"></script>
            <script>
                function initFirstAnimation() {
                    var canvas, stage, exportRoot;
                    canvas = document.getElementById("firstCanvas");
                    exportRoot = new libFirst.first();
                    stage = new createjsFirst.Stage(canvas);
                    stage.addChild(exportRoot);
                    stage.update();
                    createjsFirst.Ticker.setFPS(libFirst.properties.fps);
                    createjsFirst.Ticker.addEventListener("tick", stage);
            </script>
            <script>
                // change the default namespace for the CreateJS libraries:
                var createjsSecond = createjsSecond||{};
                var createjs = createjsSecond;
            </script>
            <script src="//code.createjs.com/easeljs-0.7.1.min.js"></script>
            <script src="//code.createjs.com/tweenjs-0.5.1.min.js"></script>
            <script src="//code.createjs.com/movieclip-0.7.1.min.js"></script>
            <script src="{{assets}}/js/second.js"></script>
            <script>
                function initSecondAnimation() {
                    var canvas, stage, exportRoot;
                    canvas = document.getElementById("secondCanvas");
                    exportRoot = new libSecond.second();
                    stage = new createjsSecond.Stage(canvas);
                    stage.addChild(exportRoot);
                    stage.update();
                    createjsSecond.Ticker.setFPS(libSecond.properties.fps);
                    createjsSecond.Ticker.addEventListener("tick", stage);
            </script>
    <body onload="initFirstAnimation(); initSecondAnimation();">
    Could someone please reply with the best practice on how to do this? If possible, without the need to reload all the libraries...
    If I only need to show one flash movie at a time, would it be more efficient to cut & paste the canvas tag using jQuery in the DOM and reloading a different lib on it?
    Many thanks!
    #flash #reborn

    I was able to fix it. At the end, it was easier than I thought. Just have to publish using a different "lib" namespace for each movie, load all the scripts at the end of the <body> and then add the following to the onload or ready events:
    $(document).ready(function () {
            var canvas, stage, exportRoot;
            // First movie
            canvas = document.getElementById("firstCanvas");
            exportRoot = new libFirst.first();
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
            createjs.Ticker.setFPS(libFirst.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);
            // Second movie
            canvas = document.getElementById("secondCanvas");
            exportRoot = new libSecond.second();
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
            createjs.Ticker.setFPS(libSecond.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);
            // Third movie
            canvas = dument.getElementById("thirdCanvas");
            exportRoot = new libThird.third();
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
            createjs.Ticker.setFPS(libThird.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);

  • How control multiple users to access same page?

    Hi,
    I am working on a public page where the data pull from
    database base on different UUID. Where this page doesn't required
    login account. It differential by UUID where it send via email.
    What I affaird in the email that contain UUID that might
    forward to multiple users for filling in a long forms with same
    UUID.
    (This form it could be share same department but different
    sections).
    How can I lock this page or only allow accessing by a user
    until been submitted?

    Qoop wrote:
    I tested but it cannot be lock - i open the dept_id:HR in my pc
    and I open same dept_id:HR in other pc which able to view same
    page.
    BKBK wrote:
    That is a paradox. If entry to the page cannot be locked then
    the form should not appear on at least one of the PCs. Could we see
    your code.
    Qoop later wrote:
    anyway, here is the code (simplify version)...:
    <cfquery of DEPT info base on the #URL.UUID#>
    <cfif DEPT recordcount EQ 0>
    Missing dept info <cflocation to xxx.cfm>
    <cfelse>
    <cfif SUBMIT EQ 1>
    TQ for submitting...
    <cfelse>
    code start here...
    <form action= next_page_action.cfm>
    </cfif>
    </cfif>
    I have tested my suggestion. It works.
    I can see where your code is leading to. However, it does not
    follow the line I suggested on 08/08/2007. Its logic is essentially
    different from mine. In my code, the condition for displaying the
    form is in a lock. In your code, the form is displayed
    unconditionally.

  • New Update (2014.1) - How to have multiple compositions on same page?

    With the latest update, it seems as though Edge now always assumes that the composition has an element ID of "Stage". Previously, I was able to have multiple compositions on the same HTML page by simply altering the default id of "Stage" for each composition to something unique. Any workarounds for having multiple compositions on the same page utilizing the 2014.1 update?

    You can use the following approach
    Dropbox - Multiple.zip
    <!DOCTYPE html>
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
      <title>Untitled</title>
    <!--Adobe Edge Runtime-->
        <meta http-equiv="X-UA-Compatible" content="IE=Edge">
        <script type="text/javascript" charset="utf-8" src="edge_includes/edge.5.0.0.min.js"></script>
        <style>
           .edgeLoad-EDGE-77458053 { visibility:hidden; }
            .edgeLoad-EDGE-77430105 { visibility:hidden; }
        </style>
    <script>
       AdobeEdge.loadComposition('2', 'EDGE-77458053', {
        scaleToFit: "none",
        centerStage: "none",
        minW: "0",
        maxW: "undefined",
        width: "550px",
        height: "400px"
    }, {dom: [ ]}, {dom: [ ]});
    AdobeEdge.loadComposition('1', 'EDGE-77430105', {
        scaleToFit: "none",
        centerStage: "none",
        minW: "0",
        maxW: "undefined",
        width: "550px",
        height: "400px"
    }, {dom: [ ]}, {dom: [ ]});
    </script>
    <!--Adobe Edge Runtime End-->
    </head>
    <body style="margin:0;padding:0;">
      <div id="Stage1" class="EDGE-77458053">
      </div>
        <div id="Stage2" class="EDGE-77430105">
        </div>
    </body>
    </html>
    -Siva

  • Using multiple refinement web parts on the same page but have them hidden until needed

    I have a search results page that has several different Core Results web parts on it (each is connected to a different result source). all hidden by tabs using the HillbillyTabs interface
    http://www.sharepointhillbilly.com/Lists/Posts/Post.aspx?ID=42
    unfortunately you cant share a refinement web part across multiple results web parts. So I am left trying to figure out how to hide several refinement web parts and only show the active refinement webpart when the result source tab is selected.
    The template im using is an OOTB standard search results template with the refinement panel on the left navigation zone and the core results web parts configured in the main content zone.
    Scenario:
    Search text box passes query to multiple results web parts on a page. Only one results web part is displayed at a time (active tab). The refiner for the active tab shows and displays its refiners in the navigation panel.
    There are multiple refinement web parts in the navigation panel associated with each core results web part in the main content zone. These refiner web parts are configured with custom refiners.
    the results page displays just one results web part at a time via tabbed interface.
    I am trying to figure out how to make the refiner web parts show and hide depending on which tab is selected.
    Any help pointing to someone thats already attempted this would be appreciated! 
    Eric

    Hi,
    For your issue, you can consider using SharePoint Search Navigation which can achieve a similar feature but not on the same page.
    Search Navigation allows users to move quickly between search experiences listed in the Navigation. Navigation is displayed in the Quick Launch control on search pages, and can also be shown as a drop-down menu from the search box.
    For more information, you can refer to the blog:
    http://blogs.technet.com/b/tothesharepoint/archive/2013/11/13/how-to-add-a-customized-search-vertical-to-your-search-results-page-in-sharepoint-2013.aspx
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Printing the same page multiple times on one sheet

    So last year I wanted to print out minature versions of my card design and I was able to do that by printing out multiple copies of the same thing on one sheet of paper. Of course that was a while ago and now today I can't do the same thing. I remember printing the same page(copy) multiple times either in acrobat or indesign. I see that I have a front and back version for last years card and I'm assuming I must have done it in acrobat. Last year when I looked at the preview there was multiple copies of my page. This year I only see 1 even as I choose the other things. At first I thought it might have been the version I was using on my windows as opposed to the version on my mac. But now I'm on my mac and I still don't see how I did it last year. Please help! I keep reading that this can't be done but I remember doing the same thing last year. It was the 16 copies of the same thing option. I tried it again this time but it doesn't work. I tried printing the 4 copies only 1 copy was printed.(the preview didn't even show all copies like last year) The verson of acrobat is X. version 10.1.4

    What exact version of iPhoto 9 are you using? Version 9.5's solution will be different from the solution for earlier versions of iPhoto 9.
    OT

  • Multiple quicktimes on same page, same place

    Hopes this makes sense but what I would like is a blank white page with multiple "text menus (hyperlinks)" on the left side of the page that when selected will activate appropriate quicktimes that will then open on the same page, but on the right side.
    However, I don't want to see the quicktimes or a quicktime window until it is selected. Then, after the quicktime has played it should disappear and then if another option is chosen from the menu on the left, another quicktime will pop up in exactly the same place. I need this to happen at least 5 times per page.
    I'm trying to figure out how to do this without creating a whole new identical page that would be activated and then have to load. All I want to load for each link is the QT's that would appear on that same page, in exactly the same place on the right.
    Sorry this is a bit of a mouthful...
    imac G5   Mac OS X (10.4.7)  
    imac G5   Mac OS X (10.4.7)  

    If there's to be any QuickTime on the page, the QuickTime plugin is going to load, so there's going to be that Q at some point or another. If that's ok, then look at the examples and follow the link to the tutorial on this page.
    http://web.mac.com/btkirman/iWeb/Stuff/Welcome.html

  • I can no longer (since upgrading to the latest firefox) open up multiple tabs of the same page (something I need to be able to do when emailing and referencing multiple emails while writing one email). The only option it gives me is to 'switch to tab'.

    Question
    I can no longer (since upgrading to the latest firefox) open up multiple tabs of the same page (something I need to be able to do when emailing and referencing multiple emails while writing one email). The only option it gives me is to 'switch to tab'.

    I'll try to make this clear. I USED to be able to left click on a hyper link and the hyper link would open in a NEW tab. Now for some unknown reason the hyper link by default opens in the same tab (window). I have to right click the hyper link in order for it to open in a NEW tab. (Yes, my 'tools'> 'options'> 'tabs' are set to "open new windows in a new tab." (Please no answers telling me to get rid of the Ask toolbar because I don't have one.) Thank you.

  • Render multiple panel groups programatically on same page

    i have a page with multiple command buttons. each button is to be 'associated' with a panel form displaying data on the same page. when i click button 1 i want its associated panel form to render, when click button 2 i want panel form associated with button 2 to render, and form for button 1 to disappear, etc. so when i click the button i want its associated panel from to render and all othere to disappear.
    as I am new to jdeveloper it would be very helpful to have **some examples of code** and the individual steps to perform which implements such a system
    thank you so much

    If bean is not created as told by Puthanampatti, add an instance variable of component type(For panelformlayout add an instance variable of RichPanelFormLayout) and getter and setter methods for it in bean and add this to the binding property of the component, so that the component can be accessed by the instance variable.
    Sample Code:
        <!--In jspx page -->
       <af:panelFormLayout id="test1" binding="#{Bean.test1} ..>
       </af:panelFormLayout>
       //Inside Bean
       RichPanelFormLayout test1;
       //Add getter and methods for test1  
    {code}
    Sireesha                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Multiple Galleria Photo Galleries on same page

    I'm trying to use multiple BC Photo Galleries and Galleria to display a project gallery of images on the same page.  Also, I'm a beginer at using Javascript and JQuery, so this might be a fairly simple deal, but my lack of experience is probably getting in the way.
    There are multiple sections to this project gallery;  landscaping, hardscapes, night lighting, pools, etc.  I'd like the user to be able to click on one of the gallery sections and the Photo Gallery switches out to the new selected gallery, so that only one gallery is showing at time, but they stay on the same html page.
    I need help with the following:
    1. When you first visit the page, I only want the first gallery to show up.  Then switch out with the others when you click on the other sections. Is this possible with Galleria, because of the way it computes the measurements of the stage within 5 sec?
    2. Not sure how to fix this error: "Init failed: Gallery instance already initialized".  I know this is happening because I'm running the init function for each project gallery.  Is there a better way to do this?
    This is the page where you can see it:
    http://greenmeadows.carmediadesign.com/project-gallery.htm
    Thanks for any assistance you can give!

    Hi
    Try using something like this http://jqueryui.com/tabs/ to place each separate gallery in its own div
    As for the error, where exactly are you getting that?
    Kind Regards,
    Alex

  • Passing multiple parameters between two report portlets on the same page

    Hi,
    I want to pass multiple parameters between two report portlets on the same page.
    I have been succussful passing a single parameter between two portlets. The
    following are the steps :
    (1) Created first report based on the query
    SELECT htf.anchor('http://192.168.0.84:7778/servlet/page?&_pageid=97&_dad=portal30&_schema=portal30&_mode=3&dept_code='||DEPTNO,DEPTNO) Department, ename FROM EMP;
    (2) Created 2nd report
    select * from EMP where DEPTNO = :dept_code
    (3) Added pl/sql code before display page on the 2nd report
    portal30.wwv_name_value.replace_value(
    l_arg_names, l_arg_values,
    p_reference_path||'.dept_code',portal30.wwv_standard_util.string_to_table2(nvl(g
    et_value('dept_code'),10)));
    (4) Created a page and added these reports as portlets.
    Sofar it works fine for one parameter (deptno) . Now I want to add one more
    parameter say empno to my first report query and would like to pass both the
    parameters deptno and empno to the 2nd report. Please tell me how to pass multiple parameters ?
    Thanks
    Asim

    Hi,
    You will have to do the same thing
    The select will be like this
    SELECT htf.anchor('http://toolsweb.us.oracle.com:2000/servlet/page?_pageid=97&_dad=mb&_schema=mybugs&_mode=3&dept_code='||DEPTNO||'&empno='||empno,DEPTNO) Department,ename
    FROM EMP
    In the additional plsql code do the same for empno like this
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.dept_code',mybugs.wwv_standard_util.string_to_table2(nvl(get_value('dept_code'),10)));
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.empno',mybugs.wwv_standard_util.string_to_table2(get_value('empno')));
    Thanks,
    Sharmila

  • I use "element 12" and want  like in the old PS version due Automating and Contact  II upload multiple filesand print them with any columns and rows on the same page . How does it work?

    I use "element 12" and want  like in the old PS version due Automating and Contact  II upload multiple filesand print them with any columns and rows on the same page . How does it work?

    Can you supply a link?

  • Is there a way to code with multiple people at once on the same page?

    In my class today we were tasked with building a web page and it would work so much better if we were able to work on the same pages all together at once.

    There is no way to do this with DW, or any other coding environment that I've ever seen.
    What does exist is a check-in/out system that allows multiple people to work on a single file, at different times. One person would check it out to make a change, save and check it in so the next could check it out and make their edits. That way an errant save from one person wouldn't accidentally overwrite the work of another who has it open on their machine.

Maybe you are looking for

  • Stock initialize error

    Dear Export, Greetings from Soman. While initialize stock through t-code MB1C and movement type 561. It shows error message this material can't be posted. Could you please help how to solve this error? Thanks,

  • Applicatio​n Title bar

    Hey! I have created  a stand alone application........... But the application panel window's title bar has " name.vi " and LabVIEW icon on it  .How can i change it so that it gives more a look of stdalne app.?? Could it be done  Regards  DeWalker

  • Controlling area & operating concern must have same fiscal year variant

    Dear Experts, Whether i can assign two controlling area with different fiscal year variant to one operating concern. Getting error 'Controlling area & operating concern must have same fiscal year variant' Fiscal year variant must be same or Number of

  • [All Platforms][Playlists] Adding multiple songs to 1 or more playlists...

    Being able to select multiple songs at a time and then able to add them to a desired playlist/s after that would save an enormous amount of time..especially after saving over 100 songs before sorting them out.

  • IIS proxying to Weblogic

    Guys is there any detailed step by step on how to make iis proxying to weblogic server? Thanks in advance