Refresh Table Data after dialog window is closed.

My JDeveloper version is 11.1.1.6.0
I have a master-detail scenario where in Master records(Table Component) are displayed in top half of the splitter panel.
Detail records are displayed in second half of the splitter control using table components placed on tab panel.
After clicking on the LinkButton in Master record a bounded-task-flow is invoked in a separate inline dialog window (applicaitonModal).
In the dialog window changes to the child records is done using SelecteManyShuttle Component.
After invoking the commit action to close the modal window the child records do not refresh or the child records do not display changes immediately. Only after the page is refreshed the changes are visible.
Kindly suggest a solution.
Thanks
Deven

are you using af;dialog then you cn use dialog listener see this
http://www.techartifact.com/blogs/2013/03/handling-ok-and-cancel-button-in-afdialog-using-popup-in-oracle-adf-by-dialogl…

Similar Messages

  • Creation of PDF Document  using ADF Table data in new window

    Hi Guys,
    I have a requirement of creating a pdf document from adf table and it must open in a new window.I know creation of pdf document using itext pdf jar.But in my case how to write the table data to pdf and how to open it in new window.
    Thanks,
    Srinivas.

    In the TF do like this..
    view activity A-------dialog:invokePdf------->view activity B (invokePdf)
    Fragment A command button would be
    <af:commandButton action="#{pageFlowScope.PdfBean.openPDF}"
    text="Generate" id="cbpdf"
    useWindow="true"
    windowWidth="700" windowHeight="700"/>
    in the action add a return like return "dialog:invokePdf";
    Control flow outcome is "dialog:invokePdf". B would be just a empty fragment.

  • Sending TABLE data in child window to parent window

    My question is as follows:
    I have a JSP with a parent window, which opens a pop-up window.
    In the pop-window there is a <TABLE> tag defined with a number
    of <TD> definitions referencing columns of data from a database table.
    There is also a 'select' button next to each row displayed.
    On pressing the 'select' button I want the data to go back to the fields
    in the parent window.
    I am successfully displaying the data in the pop-up window
    I have used the DOM model in the past and for other elements within this JSP - i.e. drop down lists, sending data back to the parent window works fine, but I'm not sure of the syntax for referencing the TABLE items within the DOM model to send back to the parent window.
    Any help on this would be very much appreciated.
    Many Thanks
    Chris

    Well I've looked and I can't find anything wrong with it, but then I wrote it. I've included it as follows:
    <%@page contentType="text/html"%>
    <html>
    <head>
    <SCRIPT language=JavaScript>
    function send_back(eventHandle)
    if (opener == null) {
    alert("\n Calling Window is no longer present. Will now close this window\n");
    window.close();
    else
    if (eventHandle == "returnRow") {
    <%-- Significant code below with the first statement referencing--%>
    form name and item name and its value --%>
    opener.document.produceTrans.studentID.value =
    document.personLOV.personID.value;
    <%-- statement below works so no that variable is correct-value --%>
    <%-- part is wrong --%>
    <%-- opener.document.produceTrans.studentID.value = "290000"; --%>
    </SCRIPT>
    <title>Person List
    </title>
    </head>
    <%-- If the focus switches to the calling window this called window is closed
    <BODY onBlur="window.close()"> --%>
    <BODY>
    <jsp:useBean id="personV" scope= "request" class="mypackage.PersonBean"/>
    <jsp:setProperty name="personV" property="personName" />
    <%-- Significant code below 1 with form name = personLOV --%>
    <form name=personLOV METHOD="POST" action="transcript-control-servlet?Action=personList">
    <TABLE >
    <tr>
    <td><input type='text' size=32 name="personName"> </td>
    <td>
    <input type="submit" name=personSearch value="Find Person">
    </td>
    </tr>
    </TABLE>
    <br>
    <div style="width:480px; height:170px; overflow: auto;">
    <TABLE border="1" cellspacing="1">
    <tr>
    <%
    Vector personVector = new Vector();
    try {
    personVector = (Vector)request.getAttribute("listPerson");
    for (Enumeration e = personVector.elements();
    e.hasMoreElements();) {
    personV = (mypackage.PersonBean)e.nextElement();
    //Significant code below 2 with persID setup
    String persID = personV.getPersonID();
    %>
    <tr>
    <%-- Significant code below 3 with hidden field set to persID --%>
    <%-- and name=personID --%>
    <td><input type="hidden" name=personID value='<%=persID%>'></td>
    </tr>
    <tr>
    <td><input type="button" name=SelectPerson value="Select"
    onClick=send_back("returnRow")> </td>
    <td><%= personV.getPersonID() %></td>
    <td><%= personV.getPersonLastName() %></td>
    <td><%= personV.getPersonFirstName() %></td>
    <td><%= personV.getPersonBirthDate() %></td>
    </tr>
    <% } }
    catch (NullPointerException ce) {
    System.out.println("No records in list ");
    %>
    It is very straightforward and I believe I am referencing the correct form name/item name in the correct manner.
    If I'm not then please tell me why not and how to fix it.
    Thanks
    Chris

  • Let addon run even after browser window is closed.

    I want to use this addon - "Pushbullet" even after the browser window is closed. Such an option was available in Chrome when I used it last. I migrated to Firefox recently, and would like to know how to implement the same here.
    Thanks,
    Raj

    FredMcD, You have been here long enough to know there is a "Edit This Post" link on right of your posts as three posts in a row in short order is too much.
    Some Extensions if you can find the chrome url can be used in shortcut to start a Firefox process but only with the Extension running.
    The ChatZilla irc client extension for instance can or at least used to.

  • Is there a process/program  to update tables/data after System Refresh?

    We are planning a refresh of SAP R/3 47 and SRM EBP 4.0. Copies of all data from our production system will be refreshed onto our test environment. 
    Is there a program that can be run to reset the "Destination" targets as there is with "source" using BDLS?
    We can copy out certain tables and reimport, but we fear that we may be missing something. If anyone has informatoin on the process for performing a refresh, we would appreciate hearing about it.
    Thanks,
    BIll
    Message was edited by: William Olliver
    Using BDLS and clearing out some of the custom tables (allowing normal programs to rebuild data points) did the trick. 

    Hi Bill,
    BDLS takes care of the table entries that correspond to the Logical System.  This takes care of almost 80-90% of the entries. 
    Keep in mind however, you will need to change all the entries that correspond to an backend RFC destination or other webservers once a copy is made; as those are not updated by BDLS. 
    Some of these are (as it is entirely dependent on the scenarios being implemented):
    DEFINE BACKEND SYSTEMS:
    --IMG>SRM>...
    ORGANIZATION STRUCTURE
    --Use standard program RHOMATTRIBUTES_REPLACE
    --Plus, Change other attributes: POrg,PGrp,Plants...
    EDI/IDOC/ALE entries for partner profiles
    --WE21 etc.
    TWPURLSVR, TWPURLPATH, etc
    --Table entries
    WORKFLOW Verification Steps
    --IMG>Workflow...
    MIDDLEWARE PARAMETERS in R/3 and SRM.
    --Table Entries
    CATALOG ENTRIES
    --IMG>Master Data...
    Hope this helps.
    -Sachin Sethi

  • Refresh table automatically after adding record in dynpro

    I have a table element in my layout which is bind to a dictionary table and displaying the records correctly.I have input fields in the same view along with the add buttoon which inserts the entered record into the dictionary table successfully.
    Till now its fine but what I want is after adding the record, the displayed record in the table should be refreshed automatically.I guess one method would be that in action of button click  i  fetch the records using select query into an internal table and bind it again to the table.
    Is there any other method to do this. Also will supply function be helpful in this case???
    THanks

    @sarbjeet:
    Here is the code of supply method
    method SUPPLY_FILLNODE.
    DATA:
                  NODE_TABLE_EMP                      TYPE REF TO IF_WD_CONTEXT_NODE,
                  ELEM_TABLE_EMP                      TYPE REF TO IF_WD_CONTEXT_ELEMENT,
                  STRU_TABLE_EMP                      TYPE wd_this->ELEMENT_TABLE_EMP,
                  ITAB                                TYPE TABLE OF wd_this->ELEMENT_TABLE_EMP.
              navigate from <CONTEXT> to <TABLE_EMP> via lead selection
                NODE_TABLE_EMP = WD_CONTEXT->GET_CHILD_NODE( NAME = `TABLE_EMP` ).
               SELECT EEMP_NO ENAME ECITY DDEPT_NAME INTO CORRESPONDING FIELDS OF TABLE ITAB FROM ZEMPLOYEE_MASTER AS E  INNER JOIN ZEMPLOYEE_DEPT AS D ON EDEPT_NO = DDEPT_NO order by E~EMP_NO  .
             CALL METHOD NODE_TABLE_EMP->BIND_TABLE
               EXPORTING
                 NEW_ITEMS            = ITAB
                SET_INITIAL_ELEMENTS = ABAP_TRUE
                INDEX                =
    endmethod.

  • Is it possible to keep Firefox open after all windows have closed (and to additionally open a new window when starting another Firefox process)?

    Yes, yes, I know, it's not good to keep applications open when they aren't designed to be. I'm sure Firefox has some memory leaks and this is doing more harm than good, but...
    My computer isn't the greatest out there, and to increase the usability of my Firefox browser it would be nice to keep the firefox.exe process open, even after closing all windows. I know Firefox doesn't totally close if there is at least one Firefox-related window open, but having to open X popup window seems a bit extreme to get this effect.
    Additionally, to allow another window to be opened, it would be cool for the "OH NO FIREFOX IS STILL OPEN" prompts to be replaced with just attempting to open a new window, if this feature is enabled.
    So, if it exists already, is there a config variable for it, and if it doesn't exist, is it possible to perform somehow? I'm not afraid to get my hands dirty if it comes to it; I'd really like to get this happening.
    I'm running Windows 7 Home, if it matters. (I'd rather be running another OS, but this is neither the time nor place...)

    LINK: https://addons.mozilla.org/en-US/firefox/addon/minimizetotray-revived/

  • Scheduler jobs to refresh table data from SQL server

    Hi !
    I am planning to have a scheudler job to refresh data from a SQL server database into Oracle. All I do is run several of the below statements. Each of these tables have less than 100 rows. So, it completes in under 20 seconds.
    I am wondering if it is a good idea to run it as PL/SQL block as below. Please can someone comment ?
    delete from B;                                                 
    insert into A select * from AA@choumsq020;                                     
    commit;
    delete from B;                                            
    insert into B select * from BB@choumsq020;                           
    commit;
    I am planning to run it as below
    BEGIN
      DBMS_SCHEDULER.create_schedule (
        job_name        => 'TEST'
        job_type          => 'PLSQL_BLOCK'
        job_action      => 'begin 
                   delete from B;                                                 
                   insert into A select * from AA@choumsq020;                                     
                   commit;
                   delete from B;                                            
                   insert into B select * from BB@choumsq020;                           
                   commit;
                   end; '   
        start_date      => SYSTIMESTAMP,
        repeat_interval => 'FREQ=MINUTELY, byminute=15',
        end_date        =>  NULL,
        comments        => 'Repeats every 15 mins, for ever.');
    END;
    /Am I doing anything wrong here ? I am yet to run it on the database
    Thanks.

    And use dbms_scheduler.create_job not dbms_scheduler.create_schedule.
    Also leave start_date empty (that gets you systimestamp but at the timezone that
    usually has a region instead of an absolute offset, like select dbms_scheduler.stime from dual
    would report.
    -Eric

  • Accessing DLL buffer data after receiving Windows Message

    Hi,
    I am programming MS4404 bar code scanner using LabVIEW. This is a miniscan and does not have trigger button. So we need to trigger it using Software. 
    Could communicates with scanner to enable. disable, beep, etc....issue is with the decoded data.
    DLL put data in the allocated buffer, and send a windows message WM_XXXX to application. Problem is to check these windows messages and copy the buffer data into application..............struck up here..........There was an example for this scanner but that is in VC and it is using ON_MESSAGE function to catch windows message and memcpy() to copy buffer data into local.........................Not sure how to go ahead in LabVIEW
    Appreciate any help from fellow members...........
    Thanks in advance
    Anil Punnam
    CLD
    LV 2012, TestStand 4.2..........

    Little advancement in the issue......
    I am able to capture windows messages using Windows messages queue library (found on ni.com), Now the issue is with creating buffer for DLL and pulling data from that DLL on successfull Decode of data from scanner.
    I think I am going wrong in giving cirrect data type while creating buffer here.
    Below is the description of the function from manual
    SSIDLL_API int __stdcall SetDecodeBuffer(int nComPort, unsigned char *pData, long max_length);
    where:
    . nComPort is the COM port number used in the call to SSIConnect. pData is a pointer to the destination buffer for decode data returned from the scanner
    . max_length is the size in bytes of the destination buffer 
    I am sure I am going wrong about the pData parameter.
    I need to create this buffer before decoding, so the scanner fills this buffer with decoded data.
    Thanks in advance for your help.
    Anil Punnam
    CLD
    LV 2012, TestStand 4.2..........

  • XML load error - when moving table data after upgrade

    Greetings:
    Background:
    Previously in our 2.2 instance, we would use the Data Load/Unload feature of APEX to move data in the form of XML from instance 1 to instance 2. This woks well because it moves images also (BLOB)
    What Changed:
    Recently we did the upgrade to APEX 3.0. The tool is working well, but we are having issues uploading XML data in the same manner we used to. The process wizard works up until time for execution.. the following error message is seen.
    XML load error.
    Return to application.
    Assumption:
    I do not believe this is an XML file issues because the file I am testing the process with is from the EMP table, and is from the UNLOAD option on the same DB and SCHEMA.. (testing is unloading the data, than re-loading the same data to the same place)
    Internally some permissions or something internal must be missing.
    Assistance or suggestions on where to look is greatly appreciated.
    Regards,
    Tim

    Tim,
    Sorry for the delay - that silly day job keeps getting in the way.
    Here is a small procedure you could use to take the XML data file format exported from Application Express and import into your table. This uses the Java-dependent DBMS_XMLSAVE package, which avoids the issue mentioned above.
    create or replace procedure load_xml(
        p_clob   in clob,
        p_schema in varchar2,
        p_table  in varchar2 )
    is
        l_insCtx dbms_xmlsave.ctxType;
        l_rows   number;
    begin
        l_insCtx := dbms_xmlsave.newContext(p_schema || '.' || p_table);
        dbms_xmlsave.setDateFormat(l_insCtx,'yyyy-MM-dd''T''HH:mm:ss.SSS');
        l_rows := dbms_xmlsave.insertXML( l_insCtx, p_clob);
        dbms_xmlsave.closeContext(l_insCtx);
    end load_xml;I then ran the following quick test on apex.oracle.com just for verification.
    declare
        l_xml varchar2(32000);
    begin
        l_xml := '<?xml version="1.0"?>
    <ROWSET>
    <ROW>
      <ID>11645117496276327</ID>
      <FLOW_ID>30072</FLOW_ID>
      <NAME>F11645117496276327/no_image_found.gif</NAME>
      <FILENAME>no_image_found.gif</FILENAME>
      <MIME_TYPE>image/gif</MIME_TYPE>
      <CREATED_BY>JOEL</CREATED_BY>
      <CREATED_ON>2007-03-14T05:06:38.000</CREATED_ON> 
      <BLOB_CONTENT>474946383961C800...(data removed for this example)...41000003B</BLOB_CONTENT>
    </ROW>
    </ROWSET>';
        load_xml( l_xml, 'MY_DB_USER', 'MY_APEX_FILES' );
    end;It's now simply a matter of how you get your XML file(s) into a CLOB to call this procedure. The options include:
    1) Just pass in a VARCHAR2 as I did in the example above, which would limit you to roughly 32K.
    2) You could use DBMS_LOB.LOADCLOBFROMFILE to read it from the database server filesystem.
    3) You could upload the file via an APEX application (or some other means within APEX), you could convert the BLOB to a CLOB, and then call this procedure. If you need help with this method, let me know.
    Don't forget - as yet another alternative, you could always contact Oracle Support to see what could be done about that underlying database bug.
    I hope this helps.
    Joel

  • How to read the pop-dialog window data in adf

    HI All,
    Using the jdev 11.1.1.6.
    I have two questions here :
    1) How to read the selected table row data from the Pop -dialog window .
    2)hOw can i forward to another URL view/view after selecting the data on dialog window and then click 'ok".
    NOte : One of the blog says ' we cant apply the action and actionListener on button ,if we apply showPopupbehavious ,SO how can i forard to another page/URL view ? ,
    scenario:
    Upon click of some button , infomration ll be displayed on pop-dialog window and then user will select the any one of the row and click "OK"
    . based on some data check i should forward it to the view/urlView .
    any hits highly appriciated
    thanks

    1) How to read the selected table row data from the Pop -dialog window .simple . get the employeevo and jobvo with relationship(fk or association/viewlink) drop the employee vo as af:table. show a detail icons at the end of column. make popup with show popup behaviour with lazyuncached drop the af:dialog it wiil show the details in job of concern employee
    2)hOw can i forward to another URL view/view after selecting the data on dialog window and then click 'ok".
    NOte : One of the blog says ' we cant apply the action and actionListener on button ,if we apply showPopupbehavious ,SO how can i forard to another page/URL view ? ,can you show the blo url to me.
    grasp things.
    http://hazem-adf-tips.blogspot.in/
    https://blogs.oracle.com/jdeveloperpm/entry/how-to_efficiently_redirect_to_an_adf_faces_view_using_adf_controller
    http://adf-lk.blogspot.in/2011/06/oracle-adf-how-to-redirect-url-in-bean.html
    http://adfdeveloper.blogspot.in/2011/07/adf-auto-redirect-while-still-passing.html
    http://www.slideshare.net/baigsorcl/oracle-adf-task-flows-for-beginners
    http://www.techartifact.com/blogs/2012/03/adf-jsf-some-handy-code-for-backing-beans.html

  • Problem in printing internal table data in Sapscript!

    Hi All,
    Am trying to print internal table data into main window of sapscript.
    This is what I have written.
    loop at it_final INTO wa_final.
                  CALL FUNCTION 'WRITE_FORM'
                   EXPORTING
                     window   = 'MAIN'
                     ELEMENT  = '670'
                     TYPE     = 'BODY'
                     FUNCTION = 'APPEND'
                   EXCEPTIONS
                     window  = 1
                     element = 2.
                 IF sy-subrc <> 0.
                 ENDIF.
    ENDLOOP.
    IN Sapscript :
    /E   670
    IT     &wa_final-vbeln&,,&wa_final-vbelv&,,&wa_final-payment&
    =      &wa_final-rundate&,,&wa_final-waers&,,&wa_final-creditcard&
    =      &wa_final-augru&,,&wa_final-dmbtr&
    Pls let me know if am missing anything.
    Thanks & Regards
    Himayat

    Check if your Programm is called at the Sapscript level.
    Are you calling the programm from the Sapscript using the PERFORM command? or are these Programm and Sapscript set in customizing?
    Using SE16 check the Message Type and see if Sapscript and the programm are connected at all.

  • Clear the table data in PDF form

    Hi all,
    I am workin gon WD ABAP, where i  have a Interactive UI elelemt, and i am calling a PDF in to it.
    The PDF has a table, of which i am able to display , read  and save the data to Database.
    But after clicking on the save button , i want the table data to be cleared, which is not happening.
    I tried with binding with an empty internal table, but that gives an error "SOM Expression....."..!!
    Can any one let me know how to clear the PDF table data after clicking on some button.?
    All replies will be appreciated...

    Hi Runal,
    I am not sure about PDF as never worked on it but we can clear the table on view by simply invalidating the node by which you have binded your table. try to invalidate if it helps...
    this is the code to invalidate....
    lo_nd_nodename->invalidate( ).
    regards
    Pranav

  • Viewing the Result Table Data?

    Hello,
    Please let me know the steps how to see the result table data after running the Remuneration Statement or before running the Remuneration Statement.

    Hi,
    Payroll result will be available after running the payroll in live mode.
    then go to pc_payresult, or PC00_m40_clstr, eneter the personnel number for whom you want to see the result and then select the period.
    Regards
    Devi

  • Possible to print Int.Tab data in a window other than MAIN window in Script

    Hi,
      Can we print a internal table data in a window which is a VARIABLE Window in SAP Script? my requirement is not to print in MAIN Window.
    Thanks in Advance,
    Jakeer.

    Hi,
    You can do that.But main window is must.
    Create a text element and please check it maynot overflow if so data will be truncated.
    For not printing main window :
    Do one thing set the main window margint to the botom of the form.
    Then create a text element in main element
    NEW             
    NEW-PAGE        
    NEXT            
    NEW-PAGE = 'NEXT'

Maybe you are looking for

  • Ink issues

    Printer said I needed to replace ink even though it showed ink levels good. Replaced blank in with brand new HP cartridge. Color inks showed ok. Will print print quality diagnotsic report with black box empty. If I scan or print from computer nothing

  • How do I sync music from ipod touch to computer.

    I have 5.5GB of music on my ipod touch that I copied from my own cd's to an old computer that are now on my ipod touch.  I want to sync the music from my ipod touch to my computer.  itunes lists all the music but a message comes up when I try to list

  • Can't print using Epson Stylus Photo R300

    I am new to Mac ownership and have been having issues since updating to OS10.4.9. I have an Epson Stylus Photo R300 and have been using CUPS and Gimprint to print w/o a problem (OK, I had to call tech support and spent 10 hours getting it figured out

  • Question Related to a Comno Box field.

    Hi All, We have an access policy that will assign an AD group to the user. The rule that is determining this is like if new user = 1 and userid not null then true. After this rule satisfy the access policy triggers and the AD groups are provisioned.

  • Unable to find redemption code for creative cloud

    I was running trial for illustrator and photoshop then decided to join adobe cloud membership. However, my softwares will asked for serial number even after i signed in I realised my problem was that I didn't activate my membership through redemption