How to transfer values to the popup while the bean in application scope?

Hi all

I use JDeveloper 11.1.1.4

My scenario is that I have a < af:popup > with a component of < af:outputText >.

I need pass values of output text dynamically according to the scenarios.

My grain of support is application scope . So I'm not able to pass values using get and methods.

My Design as,

< af:popup id = "p1" contentDelivery = "lazyUncached" >

< af:outputText value = "#{managedBean.getDynamicText}" id = "ot1" / > "

< / af:popup >

Now I run the application I'm not get all values in text during debugging output, I am able to set the value, but it didn't reflect on the page.

How to transfer values to the popup while the bean in application scope?

Thank you...

At the bean, why don't you set the value to a variable pageflowscope and point the outputtext popup to the pageflowscope variable?

() .getpageflowscope, set AdfFacesContext.getCurrentInstance ("nomvar", value);


Thank you

Alisson

Tags: Java

Similar Questions

  • I spilled coffee on my Macbook Air and does not illuminate.  How to transfer files from the external hard drive to backup my new Macbook Air?

    I spilled coffee on my Macbook Air and does not illuminate.  How to transfer files from the external hard drive to backup my new Macbook Air?

    If you had a Time Machine backup, you can use the Migration Wizard and connect your new Mac on the external drive which has the Time Machine backup: move your content to a new Mac - Apple Support

  • How to transfer pictures from the desktop Dell to MacBook Pro Photos

    How to transfer pictures from the desktop Dell to MacBook Pro Photos

    Writing an effective question of communities of Apple Support

    On the local network.

    External hard drive.

    The thumb drive.

    Cloud storage.

    Messaging.

    etc.

  • How to transfer data from the 7 Millennium

    How to transfer data from the 7 Millennium

    You will need to manually back up your files by copying and pasting on a device from external storage such as a USB key or external hard drive.

    Then copy them on Windows 7:

  • How to assign values to the application points to leave on a table

    Hello

    I have a FORM on a table with two or three elements. How to assign values to the elements of the application with the values in the elements of form, every time the value of the element is entry, change or page is sent?

    I created a dynamic action to the region level with Event - change to run the suite of PL/SQL, I tried with 3 different ways in PL/SQL, as shown below, but it didn't work.

    BEGIN

    : APP_FY: =: P1_FY;

    END;

    BEGIN

    APEX_UTIL. SET_SESSION_STATE ('APP_FY', v ('P1_FY'));

    : APP_FY: =: P1_FY;

    END;

    BEGIN

    APEX_UTIL. SET_SESSION_STATE ('APP_FY', v: P1_FY);

    END;

    Then I created an action dynamic at the ITEM level with change event to run the suite of PL/SQL and tried with PL/SQL, as shown below, but it didn't work.

    I need to assign values to the elements of the request form as these elements of the application will be used in many other pages in the application. How to I get there?

    Thank you.

    If a dynamic action of PL/SQL execution, you must send your list of page elements in the parameter "Elements of Page to submit.

    See the section 'run pl/sql' for this post.

    If the page is submitted, the elements of the page will be automatically set to session state, and you can have a page process make the code you have.

  • How to assign values to the nested table and passes as a parameter for the procedure?

    How to assign values to the nested table and passes as a parameter for the procedure?

    Here are the object and its type

    create or replace type test_object1 as an object
    (
    val1 varchar2 (50).
    val2 varchar2 (50).
    VARCHAR2 (50) val3
    );


    create or replace type test_type1 is table of the test_object1;


    create or replace type test_object2 as an object
    (
    val1 varchar2 (50).
    val2 varchar2 (50).
    VARCHAR2 (50) val3
    );


    create or replace type test_type2 is table of the test_object2;


    GRANT ALL ON test_object1 to PUBLIC;


    GRANT ALL ON test_type1 to PUBLIC;


    GRANT ALL ON test_object2 to PUBLIC;


    GRANT ALL ON test_type2 to PUBLIC;

    Here is the table object type:

    create the table test_object_tpe
    (
    sl_num NUMBER,
    Description VARCHAR2 (100),
    main_val1 test_type1,
    main_val2 test_type2
    )


    NESTED TABLE main_val1 STORE AS tot1
    NESTED TABLE main_val2 STORE AS earlier2;


    -----------------------------------------------------------------------------------------------------------

    Here is the procedure that inserts values into the nested table:

    PROCEDURE INSERT_TEST_DATA (sl_num in NUMBER,
    Description in VARCHAR2,
    p_main_val1 IN test_type1,
    p_main_val2 IN test_type2
    )
    IS
    BEGIN

    FOR rec in p_main_val1.first... p_main_val1. Last
    LOOP

    INSERT INTO xxdl.test_object_tpe
    (
    sl_num,
    Description,
    main_val1,
    main_val2
    )
    VALUES
    (
    sl_num
    description
    test_type1 (test_object1)
    p_main_val1 .val1 (CRE),
    p_main_val1 .val2 (CRE),
    p_main_val1 .val3 (rec)
    )
    )
    test_type2 (test_object2 (p_main_val2 .val1 (CRE),
    p_main_val2 .val2 (CRE),
    p_main_val2 .val3 (rec)
    )
    )

    );

    END LOOP;

    commit;

    END INSERT_TEST_DATA;

    -------------------------------------------------------------------------------------------

    Here are the block anonymoys what values attributed to the object type and pass values in the procedure:

    Set serveroutput on;

    declare

    p_sl_num NUMBER: = 1001;
    p_description VARCHAR2 (50): = 'Test Val1;

    inval1 test_type1: = test_type1();
    inval2 test_type2: = test_type2();

    Start


    inval1 (1) .val1: = "testx1";
    inval1 (1) .val2: = "testx2";
    inval1 (1) .val3: = "testx3";

    inval2 (1) .val1: = "testy1";
    inval2 (1) .val2: = "testy2";
    inval2 (1) .val3: = "testy3";

    CSI_PKG. INSERT_TEST_DATA (sl_num = > p_sl_num,)
    Description = > p_description,
    p_main_val1 = > inval1,
    p_main_val2 = > inval2
    );

    end;
    /
    Someone can correct me.

    Thank you
    Lavan

    Thanks for posting the DOF and the sample code but whenever you post provide your Oracle version 4-digit (result of SELECT * FROM V$ VERSION).
    >
    How to assign values to the nested table and passes as a parameter for the procedure?
    >
    Well you do almost everything bad that could be hurt.

    Here is the code that works to insert data into your table (the procedure is not even necessary).

    declare
    p_sl_num NUMBER := 1001;
    p_description VARCHAR2(50) := 'Testing Val1';
    inval1 test_type1 := test_type1();
    inval2 test_type2 := test_type2();
    begin
    inval1.extend();
    inval1(1) := test_object1('testx1', 'testx2', 'testx3');
    inval2.extend();
    inval2(1) := test_object2('testy1', 'testy2', 'testy3');
    
    INSERT INTO test_object_tpe
    (
    sl_num,
    description,
    main_val1,
    main_val2
    )
    VALUES
    (p_sl_num, p_description, inval1, inval2);
    commit;
    end;
    /
    

    See example 5-15 making reference to an element of nested Table Chapter 5 using PL/SQL collections and records in the PL/SQL doc
    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28370/Collections.htm#CJABEBEA

    1. you don't even have the procedure because it is a simple INSERTION in the table you can do directly (see my above code)

    inval1(1).val1 := 'testx1';
    

    Since you have not yet created all the elements, there is no element 1 "inval1". You need EXTEND the collection to add an element

    inval1.extend();
    

    And then, there is an empty element, but "inval1" is a container for objects of type 'test_object1' not for scalars as "val1", "val2", and "val3".
    If you can not do

    inval1(1).val1 := 'testx1';
    

    You must create an instance of 'test_object1 '.

    inval1(1) := test_object1('testx1', 'testx2', 'testx3');
    

    And so on for the other collection

    You don't need the procedure (as my code example shows), but once you fill in the variables correctly it will work.

  • How to access the value of the point of application in javascript

    How to access the value of the point of application in javascript?

    Hello

    A way

    var myVariable = '&MY_APP_ITEM.';
    

    BR, Jari

  • How to set the value of the point of application using pl/sql in the application process

    Hi guys,.

    I want a global variable (application point) whose value will be set to start when a user logs on to the application. The value will be retrieved from the database by using a sql query. I don't exactly know the syntax to set the value of the point of application in the application process. Also, I want to know what type of enforcement process should I use to set the value of the point of application, when a user starts a session. The value of the point of application varies from one user to the user.

    Help, please.

    I use apex 4.2

    Kind regards

    Waqas

    You can use the application element as a link with his name. That is to say. your point of application is named G_MY_APPLICATION_ITEM, then you can / set of access using: G_MY_APPLICATION_ITEM.

    For example

    BEGIN

    -assign as a variable

    : G_MY_APPLICATION_ITEM: = 'LARRY ';

    --

    -use in a SQL statement

    SELECT WHATEVER_COLUMN

    IN: G_MY_APPLICATION_ITEM

    FROM MY_TABLE

    WHERE USERNAME =: APP_USER

    ;

    END;

    Peter

  • How to pass values to the page to the Page target?

    Hi all

    I want to pass values from the 10 column to a report page (page 1 of source) to a target page 2 HTML region and 10 fields.
    These 10 fields held values that are passing in the report.

    Please suggest a solution here!

    Thank you and best regards,
    Robette.

    source page IE 1, since I can navigate to page 3, and also on page 2, I can navigate to the target 3 page, when I click on the back button Go it will navigate page 1 only.
    That is why I want the Go back button must redirect the target page, hence it is called.

    Create an application called PREV_PAGE, item in the link of the page 3 col page 2 * 3 * as a parameter of the element PREV_PAGE.
    So when you're on page 2 you will know the previous page is the value of the point of application PREV_PAGE 3
    So would be the url in your Go Back button

    f?p=&APP_ID.:&PREV_PAGE.:&APP_SESSION.::NO::
    

    There is something really need it please send your comments to this requirement. It will be really useful.

  • Dynamic action to set the value of the point of Application

    Hello
    I want to display a form button that sets a value of the point of Application. Can someone please help and guide how to proceed?

    The requirement is, the user will receive a report, they can change a record and a button will allow him to SET the record for the session. When it accesses a different page within the application, they will see that the data relevant to the record that is DEFINED.

    Thanks in advance
    Aali

    Hi, Estelle,.

    You can use the dynamic action 'Code from PL/SQL Execute' to fix your application. For example, your code might look like

    begin
        :G_DISPLAY_MODE := :P1_DISPLAY_MODE;
    end;
    

    Page items to submit: P1_DISPLAY_MODE

    P1_DISPLAY_MODE would be the element on your current page where you select the desired value.

    Hope that you give something to play with.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Cannot figure out how to "add-in" for the 2013 Outlook application... said the loading behavior is not loaded. How can I fix it?

    Cannot figure out how to "add-in" for the 2013 Outlook application... said the loading behavior is not loaded. How can I fix it?

    Hi amandab9126792,

    2013 Outlook does not work with Acrobat X because they are not compatible. Please check the compatibility to https://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html.

    Kind regards

    Nicos

  • OFA: how to insert values from the front end of the OPS to the database page

    Hi friends, I am new OAF, iam using jdeveloper version 9.0.3.5

    I created a QueryPG .in this page I HAV set a "create" button on this page when I click that "create" button must navigate to another page (ie) createPersonPG, I have hepatitis has created this createPersonPG in a RegionStyle of = > defaultsinglecolumn, with some of my attribute as "personId, phoneno, e-mail, address" in my createPersonPG I hav also set a button titled "save"...»»» " After you enter the data when I click on save button means a new line should be added to my database table that was my task... for which I wrote the code in my MainCO

    Successful work means:
    --------------------------------------
    I can able to query the data from the database
    From my QyeryPG, I can access createPersonPG

    MY PROBLEM
    -------------------
    When I enter values in the createPersonPG wen I click on "Save" button means that the data that I enter are not save to database, but in my QueryPG I get confirmation that saved successfully in my QueryPG. " I want data to be saved in the database... when I get select * from table_name average, should be a rank more

    can anyone help me with this task please I'll be greateful to you.. _ I was doing this job for more than 20 days Please helpme I complete this task

    Thank you
    Thilib

    my code for in MainCO

    in LICS I HAV written query command and navigate to the code "createPersonPG" like this:

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processFormRequest (pageContext, webBean);
    String actionInMainProgramScreen = pageContext.getParameter (EVENT_PARAM);
    String personId = pageContext.getParameter ("PersonId");
    If (pageContext.getParameter ("GO")! = null)
    {
    System.out.println ("Submit button");
    OAQueryUtils.checkSelectiveSearchCriteria (pageContext, webBean);
    String firstName = pageContext.getParameter ("FirstName");
    String phoneNO = pageContext.getParameter ("PhoneNO");
    [Serializable] parameters = {personId, firstName, phoneNO};
    System.out.println ("AM method is called");
    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    am.invokeMethod ("initQuery", parameters);
    }


    If (actionInMainProgramScreen.equals ("Create"))
    {
    System.out.println ("create key");
    () pageContext.setForwardURL
    'OA.jsp?page=/gwp/oracle/apps/xxi/aaaPersonDetails/webui/createPersonPG '.
    null
    OAWebBeanConstants.KEEP_MENU_CONTEXT
    null
    null
    true
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES
    OAWebBeanConstants.IGNORE_MESSAGES);
    }
    }------------------------------------------------------------------------------
    IN MY createPersonCO I HAV wrote this code

    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processRequest (pageContext, webBean);
    String paramPersonAction = pageContext.getParameter ("xxParamActionOnPerson");
    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    PersonParamList serializable [] = {paramPersonAction};

    If (paramPersonAction! = null & & paramPersonAction.equals ("Create"))
    {
    am.invokeMethod ("createPerson");
    }
    }

    /**
    * How to manage remittances form for form elements in
    * a region.
    @param pageContext OA page context
    @param webBean the grain of web for the region
    */

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processFormRequest (pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule (webBean);

    If (pageContext.getParameter ('Save')! = null)
    {
    System.out.println ("first line button Save");
    am.invokeMethod ("saveProgramToDatabase");
    System.out.println ("navigate to home page');
    String message = "saved successfully ';
    OAException exp = new OAException (message, OAException.CONFIRMATION);
    pageContext.putDialogMessage (exp);
    () pageContext.forwardImmediately
    'OA.jsp?page=/gwp/oracle/apps/xxi/aaaPersonDetails/webui/aaaPersonDetailsMainPG '.
    null
    OAWebBeanConstants.KEEP_MENU_CONTEXT
    null
    null
    true
    ADD_BREAD_CRUMB_YES);
    }
    }-------------------------------------------------------
    IN my AM I wrote this code

    ' public void initQuery (String personId, String firstName, String phoneNo)
    {
    System.out.println ("Am initQuery");
    aaaPersonDetailsVOImpl vo = (aaaPersonDetailsVOImpl) getaaaPersonDetailsVO1 ();
    System.out.println ("aaaPersonDetailsVO initQuery method called");
    vo.initQuery (personId, firstName, phoneNo);
    }

    Public Sub createPerson()
    {
    System.out.println ("first createPersonMethod line");
    aaaPersonDetailsVOImpl vo = (aaaPersonDetailsVOImpl) getaaaPersonDetailsVO1 ();
    System.out.println ("Line before if condition createPersonMethod");
    If (!) VO.isPreparedForExecution ())
    {
    System.out.println ("first line If condition createPersonMethod");
    vo.setMaxFetchSize (0);
    }
    System.out.println ("creating New Row");
    Line r = vo.createRow ();
    System.out.println ("new insertion line");
    vo.insertRow (r);
    System.out.println ("inserted row");
    r.setNewRowState (r.STATUS_INITIALIZED);
    System.out.println ("before"sequence initialized");
    Number personId = this.getOADBTransaction () .getSequenceValue "(XXI. PER_DETAIL");
    System.out.println ("after"sequence initialized");
    vo.getCurrentRow () .setAttribute ("Person_Id", personId);
    System.out.println ("sequence number =" + personId);
    System.out.println ("last line of the Create method");
    }

    Public Sub saveProgramToDatabase()
    {

    System.out.println ("before validation.");
    getOADBTransaction () .commit ();
    System.out.println ("new program created.");
    }

    Published by: user13307444 on July 26, 2010 10:20

    Hello

    This could be the problem if there is that data validation is there that does not back up the data on the page. Because for example I had this problem when my database column has been primary key while on the EO page it wasn't. & When I tried to record data EO was allowing me to record, but the database did not allow. Please check your OA

    AJ

  • How to transfer songs from the 'main' library to another computer?

    How can I transfer songs in the 'main' library on a MacBook Pro to a MAC?

    Move your content to your new MacBook - Apple Support

    or just copy this form your backup disk.

  • How to transfer photos of the Macbook to timecapsule workflows

    How to transfer flow of photos of the Macbook to time capsule?

    A Time Capsule is a mute like a hard disk of Board inside a router... It is designed for a single task only... for time machine backup target.

    However, there is no extension of media either.

    It cannot be used for photos or iphoto without causing problems... It is now and for always the silent hard disk.

    Apple created photos and photostream around iCloud. All extensions are there... They could have done the TC also work for the photos, but they prefer to sell space you on iCloud.

    An issue as shown here is how you access the TC on the network.

    https://www.reddit.com/r/applehelp/comments/393ig7/new_photos_app_library_time_c apsule_not_working.

    At the very least, you use a DMG file as a virtual drive so that you can support HFS +... and you shouldn't force the connection to the AFP... Although El Capo who even would not be possible. It removes also hope to share files on the network... other that each device can open the DMG one at time in turn.

  • How to transfer music from the PC to the ipod library. Everything has disappeared from the iPod and sync doesn't seem to work.

    iPod Touch ios 6.1.6.  Library and reading lists seem to be ok @ end of pc and I can listen to music. I don't know how to transfer or sync of the iPod to the PC.

    What exactly happens when you try to synchronize?

    ITunes sees the iPod?

    The previous iPod was synchronized to an another computer/iTunes library?

    Have synchronize you successfully from this computer/iTunes library before?

    If so you did anything like updating iTunes on the computer since it synchronized last successfully?

    Play the songs in iTunes?

    All the media he now syncs to iPod?

    You have the right boxes checked for synchronization?

    iTunes: synchronization of multimedia content for iPod and iOS devices

    Try the synchronization using the manual method

    Managing content manually on iPhone, iPad and iPod

    Finally, the restore feature

Maybe you are looking for

  • I restored my files Carbonite - or thought I did - but they can't are not there - I thought I found the right file - please help! The steps did not work!

    I thought I found the right file to restore my files of Thunderbird for... or so I thought... This is the file with 8 random characters...Anyway, the tech of Carbonite had restored the files in a folder on my desktop. I copied the file and paste this

  • Burn (.mp4) iMovie to disc w/iDVD?

    Created a movie w/iMovie - is 28 + min long - "exported 'Théâtre'" & created a file on hard drive... exported as a .mp4 file in "events movies/iMovie / * .mp4", however when I open iDVD (7.1.2) and try to create a new project, or Magic DVD... whateve

  • Satellite L300-20 d - my laptop won't sleep mode

    My laptop won't go in stand mode, the power of battery or sector. I have set all the necessary settings in power options in Control Panel, installed the latest display driver and BIOS update, but no change, can anyone help? This changed after my soft

  • to install hp photosmart 3210 on laptop with vista

    I have a HP Photosmart 3210 printer installed on my home network.  He was running from my old PC.  Now want to link my laptop that runs Vista and can not install the printer.  Any ideas how I can get around this? Thanks in advance.

  • Issue fixed

    I have a simple test program that is a digital FIR filter. I'm simulate for Rio indeed, as I have similar problems there. as it is, the program in the picture below actually works well. Should null to a sample rate of 1/4 what it does. However, if I