Reset the AF:Popup / variable PageFlowScope - best approach?

Hi all

Some advice on the best approach to take here...

I have a link on a table, once activated, I use property set operations to move an af:popup a number of PageFLowScope settings that are limited to the entrance of the text elements. Then I have a method that will take the values of these elements and execute a stored procedure of the database... Everything works great!

I have also an AF:Message which will return a message based on the output variable inside... IE if return1 = SUCCESS or return1 = ERROR THEN displays a special message.

When I close this popup and select this option to change another line, the message always appears as the return parameter is always filled.

So I think I need to reset this parameter with a NULL value.

I don't know how to do this...

Also, I suspect that if I use taskflow and JSFF page, it will open a new transaction, where no problem, however I could not find a way to open a jssff in a new window / popup. Right now my jsff replace my whole page.

Again, help or advice much appreciated.

Simo

Try to use the popupFetchListener to clear/init of your popup, make sure that contentDelivery is defined as lazyUncached for the popup. If your data page and popup parent are very tightly coupled, and you don't need to reuse the popup around elsewhere in the application, you may not go to taskflow.
http://jdevadf.Oracle.com/ADF-richclient-demo/docs/tagdoc/af_popup.html

Tags: Java

Similar Questions

  • What is the best approach to the conversion of the LV7.1 tags to the variables shared by several screws LV2012?

    What is the best approach for the upgrade of the DSC-LV2012/LV7.1/DSC static variable tags in several screws running on several platforms? Our system is made up of about 5 PC running Windows 2000/LV7.1 DURATION, the more a PLC and a PDC running XP/SP3/LV2012. About 3 PC publish information from the sensor through tags on the local network to the PDC. Only the main command is currently being upgraded. Basic questions:

    1. the other computers running RTÉ 7.1 (with labels) will be able to communicate with the PDC running 2012 (shared variables)?

    2. is it necessary for conversion of tags shared variables, or the deprecated legacy tag screws of LV7.1 work in LV2012?

    3 all of the main controllers will be screw must be integrated in a project in order to use shared variables?

    4 is the only way to do it is to find all the tags and replace them with elements of shared variable?

    Thank you in advance with all the information and advice!

    lb

    Hello lb.

    Datasockets are the common middle only my knowledge between versions, so apart from the upgrade to the same version, they will probably be your best bet.

  • How to reset the State of package variables in all sessions connected (without requiring a disconnection and a connect) if they are reset in one of connected sessions.


    Hi people,
    Need help, the example requires that the value of packet data 'g_var' must be updated in the session/s connected everywhere without the session/s to be disconnected and reconnected.
    Here's the scenario:

    I created a table my_table having the pair name / value.
    A variable with global package "g_var' in his body and a get accessor method to access g_var variable from the outside world.
    This variable g_var is initialized within the block of the entry into force of the package and retrieves the current value of the variable from my_table.
    When I update the value in the table a trigger on my_table would reset the State of the package and therefore g_var to the most recent value in the same session
    All is well so far since the change in value is reflected in the current session, but if I've already connected session/s
    and I'm trying to retrieve the value of "g_var", it is not updated in already connected sessions and remains the same before the update.
    Can U help please how can I update this value in a session/s connected without having to disconnect and reconnect.
    because if I disconnect and reconect the existing sessions, it seems to show the updated value.

    Thanks in advance.

    Kind regards
    Gaurav Rajput

    Here are the Scripts:


    drop table my_table;
    create table my_table
    (
    my_variable_name varchar2 (100),
    number of my_variable_value
    );

    create or replace package my_package as
    Function get_g_var return number;
    end my_package;
    /

    create or replace package body my_package as
    number of g_var;

    Function get_g_var return number is
    Start
    Return g_var;
    exception
    while others then
    lift;
    end get_g_var;

    procedure init (my_passed_name varchar2) is
    Start
    Select my_variable_value in the g_var from my_table where my_variable_name = my_passed_name;
    exception
    while others then
    raise_application_error (-20004, "I got an error during Init");
    end init;

    Start
    init ('$'); -This is a call to time when the package is loaded into the memory of session
    exception
    while others then
    raise_application_error (-20003, 'Error in my_package');
    end my_pACkage;

    /
    create or replace TRIGGER my_trigger
    BEFORE DELETE OR UPDATE
    ON my_table
    FOR EACH LINE
    declare
    number of my_ret;
    Start
    DBMS_SESSION.modify_package_state (DBMS_SESSION. RESET);
    exception
    while others then
    lift;
    end my_trigger;

    /

    -It is initially set to null
    insert into my_table values ('DOLLAR', 62);
    commit;

    -test value for first time to package loading (62 views)
    Select * from my_table;

    Set serveroutput on

    declare
    my_variable varchar2 (100);
    BEGIN
    my_variable: = my_package.get_g_var;
    dbms_output.put_line ($my_var);
    END;

    -run the same block of end to start in another session it shows 62. All is well so far
    -check if the value after the update in the same session (shows 38), also check in another before the connected session as well (shows 62 and not 38)
    Update my_table set my_variable_value = 38 where my_variable_name = "DOLLAR";
    commit;

    Select * from my_table;

    Set serveroutput on

    -It displays 38 in this session, but there in an already connected session 62 and only after you log out shows 38
    declare
    my_variable varchar2 (100);
    BEGIN
    -my_variable: = my_package.g_var;
    my_variable: = my_package.get_g_var;
    dbms_output.put_line ($my_var);
    END;

    Package variables are stored in the private memory (PGA). The value is not visible in the session. A package variable is therefore not approach appropriate to your problem. You can look at in the context of the Application, as Solomon has said.

    http://docs.Oracle.com/CD/B28359_01/network.111/B28531/app_context.htm#CIHFJHCG

  • Reset the popup when closed

    I'm new to adf and am facing a problem in pop - up implementation. I have a few fields in popup to insert into a database. When the insert is complete and the pop up is closed, it keeps all values when the popup is open again. How can I clear or reset the values of the fields when I close the pop-up window. I put in delivery of content to "lazy QUERIES.

    well... is that you have taken the approach that I said?

    ~ Abhijit

  • Best approach - whether to return Collections or the Ref Cursor?

    I have the table that the column is a nested table (column address) type. Now, I want to fill the same
    in a jsp page.

    As his collection type I am thinking to send variable Collection to front-end. And most of java professionals
    argue that the collections are the best approach.

    But here, in a lot of posts, I read that collections at the front end is the worst approach and it degrades performance
    and increases the load.

    But java assert that even if connection fails they can always display the data as the data set is with them
    How to get a set of results COLLECTION.

    As ref cursor is just a pointer to the real cursor lies in the comics... they're going to make one record of the other instead and once the connection is lost... they can no longer display the data. This assertion seems
    to be reasonable!

    How you condemn it? and prove ref Cursor is good way?


    Here's the example scenario that I have with me.
    create type t_adress is object(t_h_no varchar2(500),t_pin_code number);
     /
     
     create type t_address_tbl is table of t_adress;
     /
     
     create table r_dummy (emp_name varchar2(200),emp_id number,emp_address t_address_tbl)
     nested table emp_address store as emp_address_tbl;
     
     insert into r_dummy values('raghu',1,t_address_tbl(t_adress('598',500035),t_adress('600',500036)))
     
     insert into r_dummy values('raghu nadh',2,t_address_tbl(t_adress('598',500035),t_adress('600',500036)))
    Using the Collection
    Create or replace procedure p_using_col
     (
     p_emp_id          in     r_dummy.emp_name%type,
     p_emp_dtls          out     t_address_tbl
     )
     is
     begin
              Select     t_adress(cl.t_h_no,cl.t_pin_code)
              bulk collect into p_emp_dtls
              from     r_dummy,table(emp_address) cl
              where     emp_id = p_emp_id;
     
     end;
     /
     
     set serveroutput on;
     declare
              l_emp_id          r_dummy.emp_name%type := 1;
              l_emp_dtls          t_address_tbl;
     begin
              p_using_col(l_emp_id,l_emp_dtls);
              
              for i in 1..l_emp_dtls.count
              loop
              
                   dbms_output.put_line(l_emp_dtls(i).t_h_no);
              
              
              
              
              end loop;
     
     
     end;
    Using Ref Cursor
    Create or replace procedure p_using_ref
     (
     p_emp_id          in     r_dummy.emp_name%type,
     p_emp_dtls          out     sys_refcursor
     )
     is
     begin
              Open p_emp_dtls for
                   Select     cl.t_h_no,cl.t_pin_code
                   from     r_dummy,table(emp_address) cl
                   where     emp_id = p_emp_id;
     
     end;
     /
     
     set serveroutput on;
     declare
              l_emp_id          r_dummy.emp_name%type := 1;
              l_emp_dtls          sys_refcursor;
              
              l_h_no               varchar2(500);
              l_pin_code          number;
              
              
     begin
              p_using_ref(l_emp_id,l_emp_dtls);
              
                   loop
                        fetch l_emp_dtls into l_h_no,l_pin_code;
                        
                        exit when l_emp_dtls%notfound;
                        dbms_output.put_line(l_h_no||'    '||l_pin_code);
                   
                   
                   end loop;
              
                   close l_emp_dtls;
     end;
    Concerning
    RUSSO

    RUSSO says:
    I would like to know what really happens behind the screen IE in PGA... when we return collections...

    A collection is a PL/SQL variable. Like all PL/SQL variables, it resides in the global area of the server process that executes PL/SQL code. This memory is part of the process the process's private memory.

    If need more memory, more memory server be malloc' ed by the process.

    As he is dedicated and private memory, no other process can reap the benefits of this memory in use. It is not 'ideal' - shared memory however benefits all the processes that are involved in sharing that allocated the memory. As is the case with the SGA

    How long my set of data will reside in the PGA? He immediately fade after returning to the calling procedure? and how it degrades performance. Help me with a good link.

    Assume that you create a collection of 10 MB. The process server malloc' ed 10 MB of server memory. The PGA has thus extended.

    When your code executes the variable usage (it is out of reach of runtime), the PL/SQL engine can theoretically free up 10 MB of memory. However, it may have allocated 4 KB memory after this assignment of 10 MB. Only 4 KB is still in use. This moment results in that the process cannot shrink its allocated memory - as this free piece of 10 MB is slapbang in the middle of the used memory space.

    PGA memory is 'expensive' because it's not shared memory is private, with only the current process. PGA in memory is not so easy to decline. Memory management is a complex issue and you who ceases to use a large part of the PGA memory almost never means that this memory suddenly become free and available for other processes to use.

    Also, you have to ask yourself why you want to copy data from disk blocks into the SGA buffer (for SQL procedures) cache, then copy these data blocks of APG in the PGA (using a collection and extraction in bulk) and then copy this PGA memory on the network to the client process (TOAD or .net or Java or whatever).

    It's a lot of moving parts - which increases the complexity, lowers the performance and scalability and ups the risk of something going wrong due to the increased complexity.

    It is much simpler and much stronger, to maintain the number of moving parts to a minimum. For example to copy data directly from cache buffers of the SGA to the customer via a ref cursor

  • Best approach for the design of the Radial Image - sector scanning Sonar

    This is not a problem, but you are asked to think about the best approach.

    I need a sector sonar image data.  This device runs on 360 (degree sub-segments) and generates a set of data from the origin - radially outwards at an angle of no - to an endpoint.  Therefore, for each 'ping' sonar I need data points in the center of a circle graph, a radial angle on the outside.

    I don't know if I should use LabView vi for the drawing tools, or go to ActiveX or?

    Anyone has a suggestion on the best approach to this?

    Thank you
    Peter

    Peter,

    You can use a chart of the LabVIEW intensities for this kind of display.

    Maybe not the best way, but it is possible.

    As an attachment, I did an example with your specifications.

    datapoints 1024 by degree

    See example image:

    Basic principle:

    -Create the matrix of 2048 x 2048 points database

    -For each 'line of angle' calculate which pixel to replace each data point in the line

    -Because "datapoints" becoming bigger, far from the Center, repeat the action for several "sup angles. for example, to 85 deg also Calc. 84.6, 84.8, 85, 85.2 85.4

    It gives you an idea of the possibilities, but performance may be necessary.

    -Only external Calc x pixels more degrees

    -Do some kind of anti-aliasing to avoid the pixelated lines.

    See attached example. (LV 8.6)

  • How to reset the System Variables in VBAI

    Is there a way to reset the system - mainly inspected #Parts, #Pass, #Fail Variables?

    I have a Script to control which measures defined in a reel of material bandsaw.  It runs, the UI dislplays #Pass & #Fail and locations together on a graph of sweeping measures.  Once the coil is made, I need to reset the #Pass & #Fail and get the scan graph to return to zero.  I can create my own control for the success/failure Variables, but that seems reduntant and also it does not reset the scan graph.

    You will need to keep track of your passage # / #Fail and not use system variables integrated (since built-in variables do not behave as you want). You can also put a property node in your custom user interface code and run the VI of the step of updating UI Inspection to reset the ranking history when a Boolean value is true, and you set this hidden boolean true when you want to the chart of the band to reset.

    Hope this helps,

    Brad

  • Best approach to replace the storage of an ASM diskgroup nondisruptive?

    Hi Experts,

    Please advise what the best approach is to replace the storage of ASM diskgroup without downtime, or minimal service interruption?

    Thanks in advance.

    RAJ_KUMAR wrote:

    Hi Experts,

    Please advise what the best approach is to replace the storage of ASM diskgroup without downtime, or minimal service interruption?

    Thanks in advance.

    New drive for fixation to the BONE

    Add the new disk to the selected disk group

    Wait for rebalancing complete

    remove old disk of selected disk group.

    Wait for rebalancing complete

    I just finished the migration to an all new SAN with zero downtime.

  • What would be the best approach to store the contents of an application

    Hi all,

    Whereas there are certain restrictions on the University Complutense of MADRID since the limit of files in a folder (max. 1000), that would be the best approach to store the contents of a request, for example? Is it possible to store the content with a logic of separation?

    Kind regards

    Maybe that I miss the question, but I think you are looking for a good definition of the metadata model or same good architecture of content server instances themselves.

    You wrote that you have lots of files from one application (1200 check-ins per day) and you are limited by the recommendation to have maximum 1000 files in a folder. It is a bit of a mix of apples and oranges. Records are a logical representation of file storage, who must somehow match what users a) are used for b) is useful to organizational processes. If it makes no sense in the context of your organization - just don't use them. At the University Complutense of MADRID, he must be. Unlike, the University Complutense of MADRID must always have a metadata model, and if the content search is one of your typical use cases, it is a starting point.

    You mentioned you want to separate an application an application documents X documents Y - that sounds like you have a metadata field called, for example, 'Application', which will contain the appropriate value. Unfortunately, you write more detail, so I'll make my scripts:

    -Imagine you have users who work areas or countries interested only in 'their' data - sounds like a need for one or more fields to represent this type of separation (country - State - City - whatever)
    -now, you might have another group of users who are more focused on the product; They also want to see 'their' data, but this time, the main search criteria are different (product line - product - Version - Batch, etc..)

    At the University Complutense of MADRID, you can serve both groups - you can create research and recording of profiles that meet the needs of these two types of users. It's actually more convenient than using the folders because you can have multiple views on the same repository.

    It is a "but" to this approach and that's if you want to use Desktop Integration after the check in documents from Office applications (Word, Excel). In this case, you will need records.

    However, even, there is a solution that might help: note that, so far, I expect to have a single repository (a single instance of the University Complutense of MADRID) serving all your applications. In theory, you could have a few instances UCM running in the same environment (the same number of licenses CPU, if you want). Therefore, the main criterion will be the name of the server instance of content rather than a metadata field. Another thing to consider if you want your "desktop users" for access to "all files" in the repository. Note that even if you use folders you can have files that are not assigned to any folder.

  • Repeated unsuccessful attempts to reset the desktop computer (Windows Vista) to factory settings

    I found that I have a virus on my pc. I tried to use recovery tools in the OS partition to reset the computer to factory settings. It keeps giving me an error: access to \Tools\dp.sc was denied, I tried to run as administrator, but still will not work. I tried once again in safe mode, it always gives me an error, but without the sentence or an error number. It just says ERROR. Is there another way to try a factory reset? I have the DVD of reinstalling OS to Vista 32 BIT SP1, but my computer has been upgraded with SP2. Any suggestions?

    This service is provided by the computer manufacturer. It may be different for each of them. Your best approach is to use the support of the computer manufacturer Web site.

  • Miss me the «download Popup', 'Home' and the «Address of Web site window» buttons

    The functions of button for these three elements (download Popup, down arrow, home icon located on the right side of the screen and the site address window where you can type the address of the home page or to the URL / IP address) just disappeared. How can I get back them?
    I am running version 9.0.1 and updating recent, I installed google involved opt-out political information collection.
    I solved the problem by following the suggestion of Chris_ilias. I restarted Firefox Safe mode and reset the bars of tools and commands. bold text

    Do not know how these elements have disappeared, but see controls, buttons and Toolbars Customize Firefox and what happened to the status bar? solutions.

  • Reset the printer: what you need to know

    There are a growing number of messages in this forum and elsewhere in the internet with the steps to do a reset on different printers.  Reset to will sometimes fix problems, so resetting is not the issue.

    A few resets require you to enter key combinations to open special menus on your printer that you were supposed to never access.  These special menus are used by developers and staff support for debugging of problems, but they are not intended for inexperienced users and can have unexpected results.  A wrong button push and you might no longer have a printer, but rather an expensive paper weight.  On top of that, if you happen to the 'brick' the printer in this way, it is considered as customer induced damage and voids the warranty automatically. These resets are only intended to be distributed and used as a last resort and under the direct instruction of a representative of the HP technical support. They should not be made lightly!

    If the printer has already damaged due to her fiddling in the care of the menu, you may need to Contact HP for (paid) service.  Best not to do the damage in the first place...

    An example of the damage that may be caused would be the printers that use special cartridges installation.  Reset the printer to factory conditions can cause sound to demand once again the cartrdiges Installer.  If the original cartridges of configuration have been exhausted or discarded the user must contact HP for cartridges to install since there is no distribution channels.

  • I need to reset the password. Can't do Internet Igbo connecton

    I need to reset the password. Can't reset without the Internet. Cannot connect Internet cause without password to start macbook

    Reset password

    OS X 10.7 Lion, Mountain Lion, Yosemite 10.9 10.8, Yosemite 10.10 and 10.11 El Capitan

    Shut down the computer.

    Start the computer, and then press on and hold the command key and the R key to boot from the recovery partition.

    When you see the Apple logo, release the keys.

    Wait until the OS X Utilities window appears.

    Move the mouse pointer to the bar menu at the top of the screen, click on "Utilities" and select "Terminal".

    in the menu dropdown.

    Terminal window is displayed.

    TypeRegeditdans resetpassword and press enter on the keyboard.

    Reset Password Utility window will open.

    Leaving the Terminal.

    Select Macintosh HD, if not already.

    Select the user account in the menu popup box under "Select user account.

    Enter a new password.

    Re-enter the new password for the user.

    Enter a hint.

    Click on the Save"" button.

    Click  in the menu bar, and then select restart.

    Open a session.

    When Keychain dialog box appears, select "create new keychain".

  • How to reset the password on the Satellite U200-181?

    Greetings!

    Sorry for my English.
    I have laptop Toshiba Satellite U200-181 and all documents of (check, guaranteed).
    When the computer starts, it asks to enter the password of the BIOS... I called in the service center in Russia, but they told me that they have no response Codes

    I have PC Serial No.. and challenge the Code... What I need to do now? I don t want to pay $ 70 for reset password... Please help :)

    Best regards, Sergey

    Hello Sergey

    Please don't be crazy about me, but you don't understand how it works. To reset the BIOS Center Toshiba password control needs code given by your laptop model. Shortly after, they send a new return code and after you enter this code, that the BIOS password is removed.

    Allowed only in your country service provider can contact Toshiba control center and service just to get back the information. With short words: private person like you have no chance to remove the BIOS password. I hope you understand why it. If this is not the case, let me know that I'll explain.

    Sorry, but you need to call the service.

  • Reset the program in MainStage 3.2.3 numbers

    Hello!

    I use the latest version of MainStage on the latest version of Mac OS X El captain as well.

    I'm having a problem when I want to reset the progressive values program change numbers.

    The real function in the works of MainStage, but once the program changes have been reassigned, MainStage is unresponsive to changes in my controller patch.

    If I manually change the program numbers, MainStage then responds.

    In the midi window, I can see that the patch change information are sent to the MainStage but without some form of response from the program.

    Anyone else having this problem?

    How can I report it to apple?

    Best regards

    I can't help you with the problem you are having, but you can provide your feedback directly to Apple via the menu drop down Mainstage. They can or not to respond, but all feedback is apparently verified; I was contacted twice over the last 6 years after the filing of comments on bugs.

Maybe you are looking for

  • Cannot send email from Apple mail to my address iCloud

    I try to send an email every time she gets stuck in my Outbox and asks me to try with another server. He then said: "cannot send message using the server iCloud (iCloud). 'Connections with the server p02 - smtp.mail.me.com on ports by default timed o

  • HP ENVY M6 CONVERTIBLE: Portable standby extended and not enabled

    My laptop, a processor of INTEL CORE i7-6500U @ 2.5GHz 02:59 GHz RAM 8.00 GB. Two months ago is shown a fault when it hibernates and I want to use. The screen is also full of small square dots and the mouse (attached picture) icon. To return to work

  • REMOVABLE BATTERY

    Can someone tell me how to remove the battery of an Acer Aspire E1-522-3442? I can't understand how to unlock. Any help would be appreciated.

  • Problem_Bold of Smartphones blackBerry 9900 after update the software 7.1 Bundle 2108

    To whom it may be useful, I updated my Bold 9900 to new version 7.1 bundle 2108 Everything is Ok, all data is synchronized, motive, but loses his loudness when I get calls!   (Note: if I restart the device, call alert (Bell) are OK for almost 4 hours

  • Paper jam false error HP LaserJet Pro P1102w printer

    Hi my HP LaserJet Pro P1102w printer will not print envelopes and labels. I can print documents in the usual way. I can print on the plateau of encelope, but I can't use Word 2003 to print an address.  When I check "what is the impression he's a doc