af: popuo closing by program does not update the caller

Hi all

I use jdeveloper 11g and adf business components.
I have a simple page that displays a database table (a display object). On this table, I need to insert, update, delete operations.
I sent the following link and was able to create the whole process.
http://jamessmith73.WordPress.com/SOA-11g-page/ADF-11g-CRUD-operations-on-a-master-detail-table/

For the update feature, I implemented an af popup element that opens the current record as a pop-up and it works fine.
I should add validation by updating, so the button submit popup, I added my validation code and show the message, I added partialsubmit = true on the submit button.
Now it shows postings, but even once it is validated, it remains on the pop up, does not close the window.
To close the window, I added code to popup in my grain of closing.
      StringBuilder script = new StringBuilder();
      FacesContext context =  FacesContext.getCurrentInstance();
           script.append("var popup = AdfPage.PAGE.findComponent('").append("p1").append("'); ")            
               .append("if (popup.isPopupVisible()) { ").append("popup.hide();}");
           ExtendedRenderKitService erks =
                       Service.getService(context.getRenderKit(), ExtendedRenderKitService.class);
           erks.addScript(context, script.toString());
After this the pop up is closed but does not show the updated line (even if it's upadted in the comic book), it is the table of the appellant is not refreshed.
The work around is that I add one more button soemthing like "save" which does not any action involves and just close the pop up and refreshes the page.
But I don't want the user to have 2 buttons for a single operation, so would like to know if there is any other way to do this.
In addition, lets say I make a few changes on the form of popup, but click Cancel, the table reflects the changes (no change is made in the comic book)
 <af:commandButton text="Cancel" id="cb8"/>
To resolve this issue, I added an actionlisterner on the Cancel button that closes the pop-up window, so that the table is not updated with the modified values programmatically.
But if I click the same link again that fills the popup, inputtext components displays the value that was changed before you click Cancel.
I don't know how I should resolve this thing, I don't know I'm missing something.
any help is appreciated.
Thank you
Ash

Update the table in the code to java with addPartialTarget()?
And if he does not rerun the query of the ViewObject, then refresh.

Tags: Java

Similar Questions

  • When you try to import a .mp4 file in windows movie maker, the program does not list the file when I search for it in his file.

    When you try to import a .mp4 file in windows movie maker, the program does not list the file when I search for it in his file.  Help, please.

    As I suggested previously, conversion to a format like
    . WMV before you import it into Movie maker may be the solution.

    The free Converter from Microsoft can be a place to start:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Download Microsoft Expression Encoder 4 with Service Pack 1 (SP1) (freeware)
    http://www.Microsoft.com/download/en/details.aspx?displaylang=en&ID=24601
    (runs under WinXP SP3 / Vista / 7)

    When you install the program...
    Start Microsoft Expression Encoder 4
    (Start / programs / Microsoft Expression /)
    Microsoft Expression Encoder 4)

    On the "Load a new project" screen...
    Left click... "Transcoding project '...

    When the program opens, click on... File / import...

    (If at any time you get lost while browsing
    the program of... to... Window / active Reset
    Type or workspace... CTRL + SHIFT + R)

    Look for the file/s that you want to convert.
    (If files do not appear... open the fall
    window and choose... All files)

    Click (highlight) left the files and the left on the Open button.

    You can see the files in the "Multimedia content" pane

    In the right column... left click on the tab "Output"...

    Open the drop directory window and choose an output folder.
    (This is where you will find your converted file)

    On the left, click on the button "encode".

    Wait... video encoding CPU intensive and can
    be a slow process. It is always best if you do not have
    multi-task while files are encoded.

    Now... try import you again. File WMV in Movie Maker.

    More converters:

    There are to many converters available on the net...
    the following links are some examples. You can
    need to experiment to find the best result.

    Proceed at your own risk *.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    (1) format Factory (freeware)
    http://www.videohelp.com/tools/Format_Factory
    (the 'direct link' is faster)
    (the file you want to download is: > FFSetup270.zip<>
    (FWIW... installation..., you can uncheck
    'all' boxes on the last screen... even in this case, it may
    install the Ask toolbar on your system)
    (Windows XP / Vista / 7)

    First, you will need to decompress the file or just open the
    Drag FFSetup270.exe out of the folder
    and drop it on your desktop. To install left click.

    (2) Freemake Free Video Converter (freeware)
    http://www.Freemake.com/free_video_converter/
    (Windows XP / Vista / 7)

    (3) Koyotesoft Free Video Converter
    http://www.koyotesoft.com/indexEn.html
    (2000/XP/2003/Vista/Seven)

    (4) Sothink Free Video Converter
    http://www.Sothinkmedia.com/video-converter/
    (Windows XP / Vista / 7)

    (5) hamster Free Video Converter
    http://www.PCWorld.com/downloads/file/FID, order 155794, 4 pages, 1/download.html
    (Windows XP, Vista, 7)
    (If you choose Custom Installation
    You can uncheck additional modules you
    do not want to install)

    (6) quick Media Converter
    http://www.Cocoonsoftware.com/
    (Win XP, Vista, Win 7 Home Premium)

    (7) SUPER © Simplified Universal Player Encoder & Renderer
    http://www.videohelp.com/tools/Super
    (the download mirror site is faster) (Windows XP / Vista / 7)

    (8) Xilisoft Video Converter
    http://www.Xilisoft.com/video-converter.html
    (not freeware but receives good reviews)
    (Windows XP (SP2 or later) / Vista / 7)

    Good luck...

  • the computer does not update the version of Itunes 12.3

    the computer does not update the version of Itunes 12.3

    If your version of Mac OS X 10.6.8 (as shown in your profile information), the latest version of iTunes (12.3.2) requires OS X 10.8.5 or later version.  If an OS X update is required if you run iTunes 12.3.  Your specific model of MacBook Pro determines the supported versions of OS X.

    If you select about this Mac from the Apple menu, click more information, the "model identifier" would help to identify your MacBook Pro model.

  • Windows Live Hotmail Inbox does not update the autom automatically, until I have click Refresh. My OS is VISTA and IE9

    Windows Live Hotmail Inbox does not update the autom automatically, until I have click Refresh. My OS is VISTA and IE9.

    How can I solve the problem?

    Hi PaulaCohen,

    The question you posted would be better suited to the Windows Live community. Please visit the link below to find a community that will provide the support you want.
    http://windowslivehelp.com/product.aspx?ProductID=1

  • Windows 7 Windows Media Player 12 does not update the library when I add an item to the library - please help!

    Windows 7 Windows Media Player 12 does not update the library when I add an item to the library, also, when I delete a file from the folder that contains the media player does not remove it from the library. Can you help me please?

    Hello

    For the question, you can also view the following link for more information:

    You cannot view, add, or delete items in the library of Windows Media Player 11

    The steps are also applicable for Windows Media Player 12.

    Thank you

    Mary
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • OnImmediateValueChanged cursor does not update the label text by dragging.

    Consider the following:

    Container {
            layout: DockLayout {}
            Label {
                id: label
                textStyle.base: SystemDefaults.TextStyles.BigText
                verticalAlignment: VerticalAlignment.Center
                horizontalAlignment: HorizontalAlignment.Center
            }
    
            Slider {
                fromValue: 0
                toValue: 59
                value: 0
                 onImmediateValueChanged: {
                     label.text = value;
                 }
            }
        }
    

    When you drag the cursor, it does not update the text of the label smoothly. How can I achieve this?

    Found the solution!

    By mistake I used the value parameter and not immediateValue in the onImmediateValueChanged function!

  • How can I convert .ai files in jpeg format?  It seems that I am only able to get the .ai files and my Adobe Photo Elements program does not recognize the file.

    How can I convert .ai files in jpeg format?  It seems that I am only able to get the .ai files and my Adobe Photo Elements program does not recognize the file.

    I want to continue my membership with Adobe, however, not if it requires some additional software purchase.

    For .ai files, you will need to use or know someone who uses Illustrator or another program compatible .ai to convert. If you access a page of image details before license you can see the file type.

  • After installed LR6, I firstly the Programm. Its audit of my ID. But then the program does not accept the button: Seriennummer prufen with a new window: no internet connection. But the connection is OK.

    After installed LR6, I firstly the Programm. Its audit of my ID. But then the program does not accept the button: Seriennummer prufen with a new window: no internet connection. But the connection is OK. So I can't start the program.

    Hello Siegmud,

    Wende Dich wie oben und some showers a cat den, denn

    Problembehebung für die Aktivierung und Deaktivierung > Stellen Sie sicher, dass eine zum includes Internet connection > werden (auch) displaying Fehler, wenn Ihr Computer nicht mit dem Internet ist clear (breast kann, dass) oder wenn er nicht vom Aktivierungsserver erkannt wird. Wenn are sich um einen Fehler im accordingly mit dem Aktivierungsserver all, set Sie sich mit each in connection. Halten Sie your Seriennummer bzw. Adobe-ID bereit.

    Hans-Günter

  • Creative cloud program, does not show the "App" tab until I have to do?

    Creative cloud program, does not show the "App" tab until I have to do?

    There is only 'HOME' 'ASSETS' 'COMMUNITY' label in the CC program

    Follow the procedure below:

    Uninstall Adobe Creative Cloud.

    Using creative cloud | Uninstall the creative cloud desktop application

    Temporarily disable the firewall.

    Step 1:

    Open the c: drive and navigate to C:\Program Files (x 86)------\Adobe " common files".

    Open the Adobe folder and delete folders named Adobe Application Manager and OOBE.

    Step 2:

    Navigate to C:\Program Files (x 86) \Adobe.

    Open Adobe file and if present the file to remove Adobe Creative Cloud . [* important]

    Can't delete? Rename it to Adobe Creative Cloud trees.

    Step 3:

    Press Windows button (located between Ctrl and Alt buttons) with the key R together at once, you will get a command window.

    Type below command and press the enter"" key.

    AppData

    Then navigate to Local > Adobe.

    Open the Adobe folder and delete folders named AAMUpdater and OOBE.

    Step 4:

    Make sure that Adobe Creative Cloud is not listed in the control panel > programs and features. list.

    Then, download and install the Adobe Creative Cloud app and check.

    https://ccmdls.adobe.com/AdobeProducts/KCCC/1/Win32/CreativeCloudSet-up.exe

  • 18 Firefox does not update the 2013.2.3.1 norton toolbar. is it possible to do it manually?

    I have the latest versions of Firefox and Norton Internet Security, have restarted several times and no still no toolbar Norton. The Add-ons screen does not list the 2013.2.3.1 version, only the previous version that is disabled. Is there a way to force this update?

    Thank you
    Kilgore

    Hello to kilgore, please refer to https://community.norton.com/t5/Norton-Toolbar-Norton-Identity/Firefox-18-Support-for-Norton-Toolbar/td-p/886714

  • FOR loop does not update the local Variable

    I am newer to labview, and I can't wrap the head around why not a habit of local variable to update in the code if it updates on the dashboard. Anything im missing?

    Assume that you are talking about the local variable of the 'State of the cell. The terminal updates every 500ms in the small top loop, the local variable indicates simply that the indicator and thus updates also.

    The problem is "dataflow" and you need to familiarize yourself with the concept!

    Once the while loop starts, the local variable is reading and inside the loop begins. Most likely, the local variable is read before it is updated in the small loop, so most likely returns the value of a fade on the first iteration of the while loop. Now the small loop continues to go twice per second for about five seconds. Only after the loop FOR (and everything else inside the while loop) completed, the while loop will go to the next iteration, date on which the local variable is read once more, this time with the last value of the last for loop iteration of the previous iteration of the while loop.

    In summary, the local variable updates very well, it's just that the code does not read the new value around most of the time.

    Your VI is full also potential competition conditions caused by the over-use of the local variable. You need to respect the proper execution order by eliminating local variables.

    So what is the solution? Hard to say without knowing what the VI is supposed to do. Most likely, you will need to remove the inside OF the loop and use it outside while loop for everything.

  • Welcome screen does not update the recent list

    For a while, starting VBAI 2010, list "Recent Inspections", paragraph "Configuration control" was not being updated forcing me to use the browse option.  I found the list in the Builder.ini Vision and modified, i.e., lightened in a bit, and while my modification is displayed, VBAI does not refresh the list to display the most recent inspection configured when I close the said inspection.  Any ideas on how to "reset" from the home screen?

    Thank you

    Eric

    Well well apparently edition Vision Builder.ni did the trick after all, but only after I rebooted my workstation... to my delight, my home screen is now updated again.

  • problem with the ios certificate server does not update the CRL

    Hi all

    The background is that I'm putting a DMVPN solution with tunnels ipsec between the rays created by using certificates.

    I use a cisco 877 as the CA server (its 12.4 (6) T5) running to provide certificates for the spoke routers. This part works very well - rays can apply for a certificate and get a number very well.

    The problem is CA, life of LCR is set to 24 hours, but the CA is not updated the LCR so when the rays see CRL (as defined in their trustpoint) they point to a mistake that the CRL is obsolete and does not connect.

    If making a ' #sh cryptographic pki server ' it lists a ' CRL NextUpdate timer. It has a timestamp that is 24 hours after the last certificate was revocked. The only way I can get the LCR to be rebuilt must revoke a certificate.

    So, my question is, am I missing something here? I thought that it would automatically generations a new CRL list file every 24 hours.

    Can anyone help?

    Thank you.

    Hey Marc (?)

    This seems to correspond to this bug:

    CSCsy95838    AC IOS: LCR of the not updated, update timer not started

    However, it does not mention if 12.4 (6) T5 is affected, only that it was found 12.4 (15) T3 and resolved to 12.4 (15) T10 and other more recent versions.

    I suggest trying the last 12.4 (15) Tx, 15.0 (1) Mx or 15.1 (4) Mx version if you can.

    I assumed that you have much of it, but just in case: as a workaround, you can disable CRL checking on all routers DMVPN, of course they will still allow connections from routers with a revoked RADIUS.

    As (temporary?) substitute for a Revocation list, you can use a 'certificate ACL' with which you can create kind of a 'local CRL Manual:

      crypto pki certificate map certACL 10    serial-number ne    serial-number ne    etc. 

      crypto pki trustpoint myTP
       match certificate certACL
    (note the "ne" stands for "not equal" so you are permitting any certificate whose serial number is not listed)
    Of course, you would have to configure (and maintain!) participating on each router in the DMVPN so it's heavy, but I guess if you revoke often certs, that it might be an option.
    HTH
    Herbert

    --

    If this post answered your question, please click the button of "right answer".

  • FDF does not update the Formdata

    Hello

    in php, I wrote a script smal to generate a fdf file but the form does not display the data. I'm sure that the code is correct and the fields are in the pdf file.

          // getdata.php
          $fdf_out='C:\PHPCode\Medi\results\test1.fdf';
          $pdf_doc='http://localhost/test2.pdf';       
          $outfdf = fdf_create();
          fdf_set_value($outfdf, "Textfeld1", 'mein Text', 0);
          fdf_set_value($outfdf, "DatumsUhrzeitfeld1",date('Y-m-d H:i:s'), 0);
          fdf_set_file($outfdf, $pdf_doc);
          fdf_save($outfdf, $fdf_out);
          fdf_close($outfdf);
          Header("Content-type: application/vnd.fdf");
          $fp = fopen($fdf_out, "r");
          fpassthru($fp);
          unlink("test1.fdf");
    

    after pressing the submitbutton (http://localhost/getdata.php#FDF). I see a data tramsmission but no new data.

    Could I have missed something? Option of LiveCycleDesigner?

    I there a way to debug the component PDF to see what is done?

    Thanks a lot, it's upset me for 2 days now...

    Edgar

    Adobe offers the possibility to create the AcroForms using the FDF file, it is almost obsolete. And there are a lot of web applications that provide a copy of a user form completed in a pdf format that reader users can save by using the FDF file to provide the data and the link to the associated PDF form.

    AcroForms provide features that are not available for forms LiveCycle Designer or LiveCycle Designer must use the Acrobat and Acrobat AcroForms JavaScript object to use these features. XML forms cannot be flattened nor can they get the identity object properties.

    The two products are roughly the same age.

    I just consider it an obsolete product just because there is a different approach.

  • Windows Media Center: guide program does not update

    Hello

    This is my first post here.

    I hope someone can help with Windows Media Center (7) electronic programs guide. For a few weeks now, it did not update properly. We receive updates for the local HD channels only - local standard-def channels or regular cable channels.

    I tried various methods to get MCUPDATE. EXE update completely the EPG, but nothing has worked. The most "promising" indication (regarding an indication as to what happens), we had, is that, sometimes, we get the error message "cannot retrieve updates (error: HeadendID [eight-digit number] is not valid.)»

    I tried to contact Zap2It and they referred me to Microsoft, this is how I found myself here. The procedure for reporting a problem to the EPG is not exactly crystalline, so please bear with me if I did something wrong. (Zap2It gave me a link to https://connect.microsoft.com/site1145, but when I click on "the comments link on the left" as indicated on the page, it just brings back me to the same page).

    If it helps to have this information, we are on Comcast and using a CableCARD in a Ceton InfiniTV 4 PCI - E tuner. We can watch all the channels that we subscribe to, and we can save them manually, but there is no metadata program and we do not have records of the series on cable. Please let me know what I need to do to report this to someone who is able to solve the problem.

    Thank you very much.

    Hello Barb,

    I tried this (evolution of postal codes) last night, one of many new things I've done. I chose the closest city that was not ours and got a little familiar set of guides to the choice. One of them selected and downloaded - but of course the channels does not match.

    We finally had success when I risked to re-run the installation of TV program; My fear was that we might have to re-pair the CableCARD everywhere again, which is a major pain as some cable company RSC have never even heard of him, and even fewer know what to do about this. So go through configuring TV was as a measure of last resort for me.

    But I've learned that we can only accept the existing information of CableCARD in WMC and go on its merry way. We have completed the installation process, enter the correct zip code once again - and this time we got not only all the right-hand lanes, but also a value of 12 days of listings!

    So I'll add new run TV installation for our 'Protocol' in case we ever run into this issue once again. There is great relief in our House!

Maybe you are looking for

  • line music

    How can I get to listen to my music offline (I paid subscription)... .be on my iphone or Apple Watch. Thank you

  • How can I remove firefox as my default browser?

    I need to use firefox for some courses online. However, it seems goof place I use other access. So I need to remove it as my browser by default and only access through it to the training site

  • The upgrade for the games

    Hello I'm looking to upgrade my PC for better quality all in game. Everything works fine but I can't leave my games from the best graphics. IM lost when it comes to graphics cards and everything necessary so I was wondering if someone could point me

  • Satellite L600: How can I turn off the Wireless Communication switch?

    Hello! Would be very grateful for any help... After struggling for 3 months that I finally registered here in the hope of getting help. I have a new Satellite L600 / Win7 Home Premium.My question is that I don't know where the wireless switch is to t

  • exception processing message 0000013 parameters 75b6bf7c 64

    I get a message: Windows - No disk Exception Processeing message 0000013 parameters 75b6bf7c 64 75b6bf7c 75b6br7c, can you tell me what that means and if there is a fix for it.