Refresh SOC after the value sent.

Hello

I use JDeveloper 11.1.1.3. In my page, I have a table and a button with showPopup behavior that opens a pop-up window. Inside the pop-up window, I use a system on a chip to display all values of the attribute with the tag 'autosubmit' value 'true '. When I choose a value and click ok in the pop-up dialog box, everything is fine and the table is updated according to the value selected (since the soc and the table are of the same VO). My question is, is there a way I can update the soc to display all the attributes of an once more, when I click on the button again? It only shows the last selected value (the value previously sent).

Thank you

Mohamed.

Hello

Since the soc and the table are of the same VO

The research must be independent of the data it serves to filter. In your case, this means that a different point of view object must be used to fill the list

Frank

Tags: Java

Similar Questions

  • Get the value sent - problem

    Hi experts jdev,.

    uses jdev11.1.1.5.0 - adfbc

    I want the GET currently selected choice selectone value
     this is my jsff code
    <af:selectOneChoice label="Export To" id="soc1"
                                            binding="#{pageFlowScope.glm30200.soc1}"
                                            autoSubmit="true" valuePassThru="true"
                                            valueChangeListener="#{pageFlowScope.glm30200.ValueChangeListener}">
                          <f:selectItems value="#{pageFlowScope.glm30200.selectItems}" id="si1"/>
                        </af:selectOneChoice>
    glm30200bean code
    
        private java.util.List<SelectItem> selectItems;
        private RichSelectOneChoice soc1;
    
        public void setSoc1(RichSelectOneChoice soc1) {
            this.soc1 = soc1;
        }
    
        public RichSelectOneChoice getSoc1() {
            return soc1;
        }
    
        public void setSelectItems(java.util.List<SelectItem> selectItems) {
            this.selectItems = selectItems;
        }
    
    
       public void ValueChangeListener(ValueChangeEvent valueChangeEvent) {
           // Add event code here...
           String Exportvalue = valueChangeEvent.getNewValue().toString(); // here i can able to get the currently submitted value of selectonechoice
           System.out.println("Export" + Exportvalue); 
       }
    
    
    
    
    
        public java.util.List<SelectItem> getSelectItems() {
            selectItems = new ArrayList<SelectItem>();
            selectItems.add(new SelectItem("PDF", "PDF"));
            selectItems.add(new SelectItem("EXCEL", "EXCEL"));
            selectItems.add(new SelectItem("HTML", "HTML"));
                
            return selectItems;
        }
    
    
       public void Report(FacesContext context, OutputStream out) throws IOException,Exception
           {
            
               FacesContext ctx = FacesContext.getCurrentInstance();
               HttpServletRequest request =
                   (HttpServletRequest)ctx.getExternalContext().getRequest();
               HttpServletResponse response =
                   (HttpServletResponse)ctx.getExternalContext().getResponse();
               
               request.setAttribute("preporttype"*,soc1.getSubmittedValue())*;   //here am always got null. i want the currently selected value
               request.getRequestDispatcher(response.encodeURL("/rservlet")).forward(request,response);
               response.flushBuffer();
               ctx.responseComplete();
           }
    How I can get it. ?

    In the value change listener, you will get the old value and after processing the update model, you will get the new value.

    You could do this in your value change listener

    valueChangeEvent.getComponent().processUpdates(FacesContext.getCurrentInstance());
    //now updates have been processed and you can get the new value
    yourcomponent.getValue(); 
    
  • Turning to black screen after the value time/RAM used FireFox

    Hello

    My question is for the graphics. It lasts for several months now and he came to a point where it starts eating away at me.

    I installed recently (within 6 months) 16 GB of RAM and a new extra GPU. I upgraded to an ATI Radeon HD 5750 to a Gigabyte Radeon R9 x 270. I never had this problem with my 5750 card, so that initially led me to believe it was a card problem, until I discovered that my problem seems to be ONLY with FireFox.

    Now to the question: arriving to 2.8 GB + of memory used (according to Task Manager), FireFox flashes for a brief moment and to scroll the screen or between tabs, becomes completely black, forcing me to re - load the browser. Now the first question of the use of FireFox, so initially, amount of RAM is crazy, and I tried to lower the settings by disabling extensions, all sorts of things and the fulfillment of the only thing that is extend the time before flash made his boring appearance.

    The screen flashes problem seems to be quite something else. I tried to upgrade to the latest version of FireFox, run a new installation of FireFox, update my graphic drivers their latest versions, just about everything I can think of, and nothing seems to fix. What seems to be the problem here? I would be very happy all feedback and better understand how I can solve this problem outside hard using a different web browser.

    Hardware specifications:
    Motherboard ASUS P6X58D
    Intel Core i7 930 @2. 8 GHz processor
    22 GB of total RAM (3 branches of 2 and 2 strips of 8)
    Gigabyte Radeon R9 270 x GPU
    Brand/model unknown 850W of power (honestly, I'm just too lazy to remove the top of my tower which is packed in a locked drawer to figure out the make and model at display time)

    Running FireFox in safe mode seems to have solved or at least slow the excessive RAM issue however FireFox has now terrible performance much earlier. Adding constantly freezes and scripts constantly crashing, it would seem that addons and extensions that I ran helped to solve these issues.

    What I do now is to reload firefox standard and turn my extensions one by one to see which seems to be the cause of most of the points in the use of the ram.

    AdBlock Plus seems to so far be keep stable FireFox without problem. Going to turn in my next toolbar. Will edit this post more information after having observed the behavior of FireFox.

    Edit: The reason to believe it's my toolbar like with AdBlock plus, FireFox was still around or less 1 GB to use physical RAM. After the reactivation of my toolbar, I jumped up to 2 GB. Contact the developer of the toolbar soon.

  • Skype crashes after the file sent

    Verson 7.1.0.105

    sent someone immediately freezes a file picture and Skype. has had to end the task through the Task Manager. Reconnect but freezes when I access this specific convo. everything works fine until I do. uninstalled and installed latest version and the same thing happens. as soon as I open this convo, everything hangs and I have to finish the task. can I remove old somehow convos while they open when I connect? using windows 8.1

    is went in before frozen program options and in the privacy section and clear the history of IM. settings saved and disconnected. everything seems to be ok now

  • Tecra M9: Does not start at the local network after the value of BIOS password.

    Hi all, I have configured a supervisor BIOS password on a number of Tecra M9s but later found that this does not allow books to be PXE started - and a number of them require now that rebuild.

    I tried pressing the cursor keys in the first screen flash "Toshiba" (with the device down icons), but this will not allow to select the boot device - it's as if the keys are not pressed.

    I also tried to get into the BIOS to change boot device priorities, but I can't just to get into the BIOS in a limited form - there is no prompt to enter BIOS password.

    In brief - how can I work around this? -J' I need to know how to get the BIOS to ask the supervisor password (pressing ESC then F1 at boot only gives me the 'limited' BIOS)... Or, how to get the laptop for a PXE boot with a BIOS supervisor password.

    Thanks in advance.

    Hello

    I would recommend pressing the F12 key, immediately after that the laptop has been powered.
    This would allow the start on-screen menu.

    Then choose the HARD drive as the boot source.
    Then you could boot into the operating system and could use the Toshiba HWSetup to clear the supervisor password.

    I guess the password is known to you

  • Index 2, the value sent to selectOne is off limits. It should be between 0 and 1.

    ERR.png

    Why this error occurs?

    I have a table with two lists of values: file type and the file category.

    The type of values list has IMG and DOC as an option. Depending on the selected value, it is a filtered list of values that appears in the category of file attribute.

    trans.png

    lov.png

    In the object view added two LOV the file category attribute. And then I added a transitional attribute with a regular expression.

    However, he asks me this error when I select a value in the file type.

    Because?

    My version is 11.2.4.0

    I remove empty work space and it is.

  • Value of the page element in the APA process not maintained after the send this page

    Hello - I have a sequence of events that goes like this:

    (1) region 0 REG_1 Page is rendered before footer
    -REG_1 region uses javascript / AJAX to call App process PROC_1
    -PROC_1 defines Page1 item PAGE1_MESSAGE for X
    -After that PROC_1 runs correctly, REG_1 don't doSubmit()

    (2) region 0 REG_2 Page is rendered before footer; in this case
    After the page sent by REG_1. (Requirements to ensure that)
    REG_1 has not yet reached)
    -REG_2 region shows an alert PAGE1_MESSAGE (= X).
    -REG_2 region uses javascript / AJAX to call App process PROC_2
    -PROC_2 sets page 1 point PAGE1_MESSAGE to Y
    -PROC_2 sets point Application DEBUG to PAGE1_MESSAGE (this is for debugging)
    -PROC_2 defines the point of Application APP_MESSAGE to Y (this is also for debugging)
    -After that PROC_2 runs correctly, REG_2 don't doSubmit()

    (3) after that REG_2 sent the page, here's what I have:
    -Point application APP_MESSAGE = y. good. That's what it has been for PROC_2.
    -Point Page 1 PAGE1_MESSAGE is bad. X. That's what he has been put to in PROC_1.
    -Point application DEBUG = y. good. This shows at least that PAGE1_MESSAGE was
    the value Y in PROC_2... but for some reason this value is not be kept
    After the application process is running.
    -There's that several other elements of the application located in PROC_2, and they are all correct.


    Any ideas as to why this is happening? It seems like it should be
    quite simple: set the value, send page, the value must be that
    I put it.

    Thank you
    Carol

    Hello

    Exhibition (doesnot save session state), I am not changing who is P1_MESSAGE_1.

    Why does that matter? Why does the hidden item behave differently?
    

    Yes, Hidden Items by usually default state saves. But this isn't the problem in this case because I had changed the item to display only (state saved) and that did not help. Finally back in doesnot save state.

    Try to replace alert (ajaxResponse); with the lines below

    $s('P1_MESSAGE_1',ajaxResponse);
    alert($v('P1_MESSAGE_1'));
    

    Maybe the session state is defined (server), but the value in the DOM HTML (browser) to P1_MESSAGE_1 is not defined. If adding the line above works then the hypothesis is correct.

    And I see that you made the source "static" assignment ...
    

    Yes, I made this change, because it was a reference in itself I think it was redundant. And I had to correct what I thought is not just before debugging. Which cannot be linked to the problem though.

    Kind regards

  • ADF table change the value of a column rest after executeQuery

    Referring to the instance, which is to correct the cause and especially implemented to solve this problem-

    Re: Table ADF with iterator without cache not updated; bug or feature?

    I'll have a search form and the basis of the table of results based on entity vo. The table of results is in mode editall. If I change the value in the inputtext for a line and I click on search again, I expect the value modified to reset. The text component is not autosubmit.

    If I put resetactionlistener in the search button, it works, but it resets then some other components which I don't want.  This makes me think under analysis is tris -.

    'But chooses to render using the value sent instead of the value of the database '.

    What is the correct implementation to handle this?

    Stamped UI components (such as af:table) have resetStampState() method.

    Then you can try something like:

    table.resetStampState ();

    AdfFacesContext.getCurrentInstance () .addPartialTarget (table);

    Dario

  • dialog box closed = &gt; refresh LOV = &gt; set the new value

    Hello

    I'm really struggling with the following problem. I want my users to pick up existing customers or create a new if it does not exist. So I have a form (P1), a form is LOV with existing customers and a "Create new customer" button next to the LOV that calls the form of the modal dialog box (P2), where the new customer can be added.

    In the P2 process customer's line is an option to return an item, so I return it to P2_CUSTOMER_ID (which is my primary key element). On P1, I created the dynamic action:

    Event: Dialog closed

    Selection type: button

    Button: AddCompany

    and there are 2 real actions.

    (1) item discount P1_CUSTOMERS_LOV

    (2) set

    Type: Dialog box return

    RMA: P2_CUSTOMER_ID

    Affected items = > product (s): P1_CUSTOMERS_LOV

    LOV customers is refreshed correctly but the value is not set. What is even more surprising, it's that if I "insert" another action between these two (run code alert javascript ("added customer");), the new value is set correctly as planned.

    I really have no idea of what Miss me, and any help would be highly appreciated.

    Kind regards

    Pavel

    Pavel,

    I could make it work with a Select list. See once more your example. There is a dynamic onload action using

    $("#P2_CUSTOMER_ID").bind ("apexafterrefresh", function() {}

    $ ('#P2_CUSTOMER_ID') .val ($ (' #P2_CUSTOMER_ID_H ') .val ());

    });

    then, who is only triggered if the refresh of the selection list is completed.

    Denes Kubicek

  • Run the function after the update of values

    I am writing a pretty basic plugin where I need to have a function to run after a point values have been updated.

    I do this to change the point values:

    params [POINT]-> u.td.x_value = FLOAT2FIX (pointX);

    params [POINT]-> u.td.y_value = FLOAT2FIX (pointY);

    params [POINT]-> uu.change_flags = PF_ChangeFlag_CHANGED_VALUE;

    This works very well for updating the values, but the code that goes after this block is executed until the values change really. Is there a way to force change to happen once I set new values or is there another place I can put the function so that it is executed after the values are actually changed?

    Hi Jesse Toula. Welcome to the forum!

    If you want to change is instantaneous, you can use AEGP_SetStreamValue() instead of the method that you use.

    There is no function that is guaranteed to be called when you change the values.

    UPDATE_PARAMS_UI could be called, and also a call of minutes is likely.

    You can set a flag in the sequence data to inform yourself of the pos - t change operations that must take place in such cases.

    personally, I'd go with the AEGP_SetStreamValue() solution.

  • How to reset the OAMessageChoiceBean after the payment default value

    Hi all

    I extended the default controller the poplist value based on the user login. However, after default value, its not allow me to choose a different value.
    My requirement is after the value of default, we must give flexibility to the user to choose a different value if they want to.
    Please help me how achevie this. Thanks in advance for your help.

    OAMessageChoiceBean oamessagechoicebean2 = (OAMessageChoiceBean) webBean.findChildRecursive ("ExpTemplate");
    oamessagechoicebean2. SetText (PageContext, TemplateID);
    oamessagechoicebean2. SetValue (PageContext, TemplateID);
    oamessagechoicebean2.setAllowBlankValue (false);
    oamessagechoicebean2.setPickListCacheEnabled (false);

    concerning
    Krishna

    How close the thread when the problem is resolved.

  • Http post: always answer with the value 1

    Hi all

    I have this code below. I always have the value "1″ in return; No files, or other values...

    This means that the value sent by 'POST' it always set to '1 '.

    Where is the error?

    Thank you very much!

    var myFile = new File("C:/APPS/Test/temp.jpg");
    var myLine = "";
    authorization of var = "";

    length of County

    boundaryContent = "-1234\n";
    boundaryContent += ' Content-Disposition: form-data; name = "upload"; filename = "'+ MyFile.Name +'" "+"\n";
    boundaryContent += "Content-Type:"+ "image/jpeg" + "\n"; '.
    boundaryContent += "\n";
    myFile.open ("r");
    myLine = myFile.read ();
    boundaryContent += myLine;
    myFile.close ();
    boundaryContent += "\n";
    boundaryContent += "- 1234 -" + "\n";

    Alert ("calculate file size:" + boundaryContent.length);

    County of end

    conn1 = new Socket;

    If (conn1.open ('127.0.0.1:8888', 'BINARY')) {}

    conn1. Timeout = 9000;

    conn1.writeln ("POST /Enterprise/config/plugins/NoWoodwing/servlet_temp.php HTTP/1.1");
    conn1.writeln ("Host: 127.0.0.1:8888");
    conn1.writeln ("Keep-Alive: 300");
    conn1.writeln ("Connection: keep-alive");
    conn1.writeln ("Content-Length:" + boundaryContent.length);

    conn1.writeln ("Expect: 100-continue");
    conn1.writeln ("Content-Type: multipart/form-data;") Boundary = 1234");
    conn1.writeln("");
    var boundaryContent1 = conn1.writeln("--1234");
    boundaryContent1 += conn1.writeln ('Content-Disposition: form-data: name = "upload"; filename = "'+ myFile.name +'" ');
    boundaryContent1 += conn1.writeln ("Content-Type:" + "image/jpeg");
    boundaryContent1 += conn1.writeln("");
    permission = conn1.readln ();
    Alert ("Autorizzazione:" + permission);
    If (permission == ' HTTP/1.1 100 continue') {}
    If (myFile.open ("r")) {}
    myLine = myFile.read ();
    Alert ("Nuova linea:" + myLine);
    boundaryContent1 += conn1.write (myLine);
    myFile.close ();
    }
    }
    boundaryContent1 += conn1.writeln("");
    boundaryContent1 += conn1.write("--1234--");

    Alert ("development of Post size file:" + boundaryContent1);

    /*
    var reply1 = ";
    {while(!conn1.) EOF)}
    reply1 += conn1.readln ();
    };
    Alert ("back:" + reply1);
    */

    conn1. Close();

    } else {alert ("error:" + conn1.error) ;}}

    It works if you run the upload of file with another tool, such as a browser?

    conn1 = new Socket;
    if (conn1.open ("127.0.0.1:8888", "BINARY")) {
        conn1.timeout=9000;
        conn1.writeln("POST /Enterprise/config/plugins/NoWoodwing/servlet_temp.php HTTP/1.1");
    

    Well, we certainly will be able to test that. Can you find an example of a server that is accessible to the public that accepts uploads and test against that?

  • Unable to save the values to the database

    Hello
    I created a table in the database and a form with submit and Cancel button.
    When the values are entered in the form and click on the button send, the values are not.
    When I analyze this, I changed the Page "in this application" to "No. Target" in the tab "Redirect URL" of the submit button.
    Now, after the values are entered, and click on the button send, I get an error message indicating "ERR-1777: Page 3 provided no page at junction." Report this error to the administrator of your application.
    "

    When I checked the database tables, the values have been stored.

    My doubt is how can I store values, without getting the error message?

    Help, please!

    When the values are entered in the form and click on the button send, the values are not.

    This suggests that your button did not page but a Redirect URL attribute.

    When I analyze this, I changed the Page "in this application" to "No. Target" in the tab "Redirect URL" of the submit button.

    The redirect URL attribute of the key expected to be on 'Target No.' but you now need to create a branch on the page to go to any page you want the user to see the next.

    Scott

  • Modal region of the tree as a popup... After clicking the value in the tree... How to avoid the parent page is refreshing

    Hi, I spent long hours to solve this problem and wait for the answer from the expert.

    I created a form with text boxes and one of them, I created just small image button to call the modal region of the tree.

    Everything is OK, tree appear and disappear after the passage of the code value for the text element in the parent form.

    But it refreshed and initialized all other areas of empty text as well... ^ ^;

    I think that, because of the link in SQL tree. Someone help me?

    Select case when connect_by_isleaf = 1 then 0

    When level = 1 then 1

    else                           -1

    end the status,

    level,

    "CAT_NM" as the title,

    NULL as an icon,

    "CAT_CD" as a value.

    NULL as ToolTip,

    ? p = & APP_ID.:112 :'|| : APP_SESSION |': P112_CAT_CD :'|| "' CAT_CD ' as link-> How to avoid refreshing the page parent and just switch the CAT_CD to the called page?

    'category '.

    Start with 'PARENT_CAT_CD' is null

    connect prior "CAT_CD" = "PARENT_CAT_CD."

    siblings arrested by "CAT_CD".

    Hey "zoomok,"

    Large - an example would have been my next request in any case I took a glance and changed your demo page to work as you want.

    Things of note:

    -SQL source tree: NO link value! A link value will generate apex code that will redirect you to the link. It will always be a redirect page, where a rerender page, and not what you want! Leaving NULL allows us to interact with the tree interactively via javascript

    -Code in variables and functions global page - javascript - next:

    function treeOnload(){
      var l$Tree = $("#tree_modal div.tree"); // get the tree instance
      // handle the onselect event of the tree
      $.tree.reference(l$Tree).settings.callback.onselect = function(NODE, TREE_OBJ){
        $s( "P112_CAT_CD", $(NODE).attr('id') ); // get the VALUE of the node and put it in item P112_CAT_CD
        closeModal(); // close the active modal region
      };
    };
    

    -In javascript - dependent section I added a call to this procedure:

    treeOnload(); // initialize the tree with our settings
    

    And that's all! I didn't know that you use "openModal". There are different ways to implement modal regions, so it is important to know how we do for ourselves what to do with it.

    FYI - you now need to change your credentials. And mark the answer that has helped you or is correct, please.

  • Port resets the value after calling DAQmxStopTask.

    Hello? My device is PCI-6025E and I used to reset by sending 0x00 on #0 with DAQ digital output port. It must be reset if the VC software button power ++ is pressed.

    But after a trial of DAQmx, even after that I sent 0x00, it will be set the value of 0x00 to 0xFF after calling DAQmxStopTask. I want to know how do I know it's 0x00, ahead of DAQmxStopTask.

    I tried to read the port #0 when writing of 0x00 in this regard, but it hangs or it returns error; He said that the port is reserved and can not read the port until the task (in writing) is completed.

    Here is the code that I tested.

    error int = 0;
    TaskHandle taskHandle = 0;
    TaskHandle DItaskHandle = 0;
    uInt8 data = 0 x 00;
    char errBuff [2048] = {'\0'};
    Int32 wrote;
    Int32 read;
    uInt8 dataToRead;
    bool32 bTaskStatus;

    DAQmxErrChk (DAQmxWriteDigitalU8(taskHandle,1,1,10.0,DAQmx_Val_GroupByChannel,&data,&written,)); creaded the 6.5.2009
    DAQmxErrChk (DAQmxIsTaskDone (taskHandle & bTaskStatus));
    DAQmxErrChk (DAQmxWaitUntilTaskDone (taskHandle, 1.5)); 6.5.2009

    {if (bTaskStatus)}
    Reading test - DI on written port0-/ / / 6.5.2009
    DAQmxErrChk (DAQmxCreateTask("",&DItaskHandle));  6.5.2009
    DAQmxErrChk (DAQmxCreateDIChan (DItaskHandle, "port0/Dev1", "", DAQmx_Val_ChanForAllLines)); 6.5.2009
    DAQmxErrChk (DAQmxStartTask (DItaskHandle)); 6.5.2009
    DAQmxErrChk (DAQmxReadDigitalU32(DItaskHandle,1,10.0,DAQmx_Val_GroupByChannel,&dataToRead,1,&read,)); 6.5.2009
    printf ("acquired data: 0x%X\n",dataToRead "); 6.5.2009

    }

    Try to use the node property DAQmx to reverse digital lines.

    According to the that you configure DI / use the following

    Int32 __CFUNC DAQmxSetDOInvertLines (TaskHandle taskHandle, const char [channel], data bool32);

    Int32 __CFUNC DAQmxSetDIInvertLines (TaskHandle taskHandle, const char [channel], data bool32);

    Kind regards

    Glenn

    Technical sales engineer

    National Instruments

Maybe you are looking for

  • Download Messege appears to be blocked because of Norton email scanner

    The problem started occurring a couple of weeks (I guess that the latest updates of Norton/Thunderbird). The program works fine however the aspect of substantive progress is stuck on "download message" and does not all messages to download.restart se

  • Warranty UK and Italy

    Hello guys I am desperate I have a toshiba that I bought in the United Kingdom but I'm in Italy and the toshiba doesn't work at all, I tried every thing without success, how can I open a repair process while I am here because of Italy I have no chanc

  • HP Slate 8 G2: HP slate factory reset 8 g2

    I try to do a factory reset on my HP Slate 8 G2.  It has been clear... for hours.  Any suggestions? Thank you Julie

  • Problem with webcam on Acer Aspire E1-532

    Hello guys,. Problem with webcam on Acer Aspire E1-532, I have installed new OS on my system and realized that my webcam no longer works, HD webcam, I tried the search for solutions on the net for the 2 last days but cudnt find something specific to

  • B210 HP photosmart printer while

    HP Photosmart B210 all-in-one w / operating system windows 8... w / greeting card factory deluxe RV 9... When you print birthday cards it does not print the image to the right spot on the paper. does not feed correctly. some of the image appears on t