CreateInsert and see the popup with one button?

Hello

jdev 11.1.1.0.1 is used on an xp sp3 computer.

in a jspx, I have a table surround with a collection of panels
on this Panel, an imagelink binding action 'CreateInsert.execute '.
Then I have to click another button to open a popup form to edit the new line.

user wants to create and show the population with a single button

1 click imagelink must do:
-createinsert
-display the pop-up form

I try clientlistener and showpopupbehavior, but only the first action (craeteinsert) is performed.
I think that the updating of the page, then the showpopup action is forgotten...

Thanks for help

Published by: bradici on October 21, 2009 14:47

Open the context menu programmatically. delete showpopupbehaviour.

        FacesContext context = FacesContext.getCurrentInstance();
        String popupId = clientId;
        StringBuilder script = new StringBuilder();
        script.append("var popup = AdfPage.PAGE.findComponent('").append(p1).append("'); ").
            append("if (!popup.isPopupVisible()) { ").
            append("var hints = {}; ").
            append("hints[AdfRichPopup.HINT_ALIGN_ID] = '").append(ot2).append("'; ").
            append("hints[AdfRichPopup.HINT_ALIGN] = AdfRichPopup.ALIGN_AFTER_END; ").
            append("popup.show(hints);}");
        ExtendedRenderKitService erks =
            Service.getService(context.getRenderKit(),
                               ExtendedRenderKitService.class);
        erks.addScript(context, script.toString());

Tags: Java

Similar Questions

  • Highlight any word on a web page and see the popup definition

    I have 2 desktop, one running Windows XP and Windows 7. Both have V23.0 of Firefox.
    On the XP machine, if I highlight a word on a Web page, I get a popup that defines the word or offers search engines.
    The Windows 7 machine doesn't work this way, and I want to do like the fact the XP machine.

    What should I do to activate the functionality of Windows 7?

    Thanks a lot for any assistance.

    Hello, this feature is probably provided by a sort of extension. on your xp machine will in firefox > addons > extensions and see if all the entries associated with this feature, so that you can find and install on the other machine so there...

  • Open and close the Popup with Javascript

    Using Apex 3.2

    I probably have done this lots of times in my old job, but do not have access to the code and now I can't work properly.

    I opened a window pop up with javascript
    Now, I need to close and refresh the calling page, but only if it ratifies the validation on the popup.
    I have an item hidden on my pop up called P7_FLAG.
    I have a process page after validation that affects P7_FLAG (only the value 1, if passes validation).
    I also have a "SUBMIT" button.

    So once I click my button "SUBMIT" page should look at validations, so ok, P7_FLAG the value 1, then close the popup and refresh the calling page.

    My current look of javascript like this
    <script type="text/javascript">
    function saveChanges(){
    doSubmit('SUBMIT');
    var test = $x('P7_FLAG').value;
    if(test == '1')
    {
    window.close();
    window.opener.doSubmit('REFRESH');
    }
    }
    </script>
    My button
    javascript:saveChanges();
    The problem is that I need to click twice on the button SUBMIT.
    First, it sets P7_FLAG
    Second time, it closes page and refreshes.

    I probably made a fundamental mistake, but today I can't.

    See you soon

    Gus

    Published by: Gus C 10 may 2012 12:48

    Sorry about that I was blind

    Add this function to your page

    
    

    Call this function on the loading of the page

    onload="onloadclose();"
    
  • How can I make the popup with empty fields and create new record?

    I would use a popup create new record.
    I created an af:popup drag and drop a data control VO in jsff. Then, I created a button and place an af:showPopupBehavior. I was able to pop-up window by clicking on the button.
    However, the window filled with information from the record 1. and when I select a record in the table and click on the popup, the popup is filled with this record.
    How can I make the popup with empty fields and create a new record by recording the popup?
    Thank you

    Hello

    You must call the CreateInsert for the underlying ViewObject operation when opening the popup because it does not allow to clear the input field, you must have a new record created

    Frank

  • I can't boot into windows xp. The windows logo comes on but then a black screen blank (you can see and move the cursor with the mouse however) is displayed.

    I can't boot into windows xp. The windows logo comes on but then a black screen blank (you can see and move the cursor with the mouse however) is displayed.

    anesvet,
    I'm going to sound like I'm repeating myself tonight... (see previous 4 posts...)  but try this:

    When you start start pressing F8 until you get the Windows startup options.  Then try "Last known good configuration" see if that helps.  If this does not work, try to F * then try to go to Safe Mode.  If those who do not help, I would start with your XP CD to recovery mode and run "chkdsk/r" then "sfc/scannow".  QQ learn manage!

  • When you open the bridge I get empty frames, I have to click on each one to open and see the picture, is a person tried before and what can be done to fix the problem?

    When you open the bridge I get empty frames, I have to click on each one to open and see the picture, is a person tried before and what can be done to fix the problem?

    Reset preferences, reset the default workspace, and purge the cache.

    Damaged preferences or workspaces can cause unexpected behavior in Adobe Bridge. Purge the cache can solve problems of the thumbnail display.

    • Start Adobe Bridge, and immediately press Ctrl + Alt + Shift (Windows) or command + Option + shift (Mac OS down) until the dialogue box reset settings appears.

    • Select all three options - reset preferences, reset Standard Workspaces and all miniature Purge Cache - and then click OK.

  • My I phone screen see the black with a command like a dos {nand} system...

    My I phone screen see the black with a command like a dos {nand} system...

    Your phone has a serious problem. You can try to reboot (hold home and power at the same time for about 10-30 seconds buttons), but if that does not work, your hardware is probably fried. Make an appointment at your nearest Apple Store Genius Bar for confirmation.

  • Don't right-click on my tabs on the toolbar and see the minimize/maximize/close/etc...

    So I have a LenovoT61, with windows 7.  I can are more done right click on my tabs on the toolbar and see the minimize/maximize/close/etc... Even when I have itunes or something to do before I have something else I want to minimize all tabs at the top, then open them re open one by one.  They will not pull up in front of eachother.  Any ideas?

    Original title: cannot click on the icons in my tasks

    Hello

    I can understand your annoyance in that regard. I appreciate your effort posting this query to the Microsoft Forums and I'll try to make sure that the problem is solved.

    1 are you referring to the specific toolbar or toolbar of the file folder or Internet Explorer or are you referring to the taskbar toolbar?

    2. did you of recent changes to the computer before this problem?

    This problem may occur following a conflict of third party software or due to corrupted Windows.

    See methods below to resolve this issue.

    Method 1:

    I suggest to place your computer in safe mode and check the number.

    Check out the link to start the computer in safe mode.

    http://Windows.Microsoft.com/en-us/Windows/Start-computer-safe-mode#start-computer-safe-mode=Windows-7

    If the problem is solved in a safe mode then put the computer to boot is a way to eliminate the conflicts that occur when you install a program or a software update.

    Check out the article from the link below place the computer in a clean boot.

    http://support.Microsoft.com/kb/929135

    Note: Please see how to reset the computer to start normally after the boot minimum troubleshooting after you perform the clean boot troubleshooting steps.

    Method 2:

    If the problem persists, run SFC scan.

    System File Checker is a Windows utility that allows users to find corruptions in Windows system files and restore the damaged files.

    See the link below to launch the SFC scan.

    http://support.Microsoft.com/kb/929833

    Method 3:

    Run Microsoft Safety scanner to eliminate viruses, spyware and other malicious software.

    Check out the link below to download and run Microsoft Safety scanner.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note : The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Hope this information helps. Reply to the post with an up-to-date report of the issue so that we can help you further.

  • Under certain conditions see the popup on page (fragment) charge

    Hi Experts,

    We have an obligation to show a popup on the page load, if a certain condition is true.

    I have two fragments (home.jsff and profile.jsff). Initially when the user login, home.jsff is indicated and that there should be no popup.

    When the user goes to profile.jsff and save the changes, it must first redirect to home.jsff and show a popup with the confirmation message.

    I can't create a fragment separated for the popup where we need to redirect to profile.jsff and then redirect to home.jsff as said the requirement that the popup should display the content of home.jsff in the background.

    Also I can't use showPopup behavior during the loading of the page because it's a jsff.

    Please suggest how to implement this.

    Thanks in advance.

    Best regards

    Saurabh

    ... There's an even simpler option

    1. Add a hidden from the fragment output text element

    2 bind the output components text 'value' property to a bean property of manage (pair of getter/setter)

    3. when the getter of the value method is called, check the indicator that you defined for if you want to display the context menu or not

    4. If the indicator is such that the popup needs to be displayed, run the Java Popup

    4.a search the component RichPopup

    4.b set flags of the popup

    4.c unset flag to display the pop-up window (for the next time you need to put it)

    4.d see the popup

    Frank

  • In the toolbar, I click on the face of color and see the view from the RGB color space. How can I put them in CMYK?

    In the toolbar on the left, click on the face of color and see the view from the RGB color space. How can I put them in CMYK?

    German:

    In der Werkzeugleiste klicke auf Farbflache und den RGB-Farbraumansicht sehe ich. Stelle wie ich sharp in CMYK um?

    Color picker, if that's what you mean (it opens if you double-click the color proxy) is still in RGB in InDesign, but if you place the cursor in one of the fields of CMYK value, add swatch button will change to add CMYK Swatch.

    Personally, I like the color picker and use the color Panel instead.

  • Hide and see the question.

    I asked with button I need to show when the status is "draft".

    I created a condition created for the button where Exoression 1 value = Expression 2

    Where expression 1 is P9_X_STATUS

    and expression 2 is the project.

    The button is still hidden.

    Just to let you know that if I place the button under status field, my skin and see the condition works.

    Any idea?

    Robert

    Hi Robert,.

    Replace the last part of your predicate of...: P9_X_STATUS = null for:...: P9_X_STATUS IS NULL

    Martin

    -----
    [http://apex-smb.blogspot.com/]

  • Stop the loops with a button

    I have an infinite loop is and display of data. How can I end the loop with a button or a keypress?

    Periodically perform a ProcessSystemEvents() call inside the loop. In a reminder of the STOP button, set a flag to indicate your loop to stop.

    stop unsigned int = 0;

    While (! stop) {}

    data getmeasured

    display the data

    ProcessSytemEvents()

    Sleep (250);   to be polite: it is impolite to spinlock, since you will monopolize the CPU and other threads can get hungry

    }

    then, in the reminder for a STOP button

    STOP the button callback routine

    stop = 1;

  • Search for the string in the string table and see the following value in the line

    Hi, I'm new I have LV and I do a Vi that read worksheet values and generates 2d channels of the same spreadsheet table. For the moment everything I need is a function that find specyfic string in this table and show the next value in a line. As:

    Table:

    a; b
    c; d
    f; g

    example: find the 'c '.

    VI shoud show "d".

    Concerning

    Not a bad homework problem.  Do it with pencil and paper.  Write your table and pretend you're the computer.  What you want to do (step by step)?  What questions do you have?

    Now that the translation a bit to computers.  You mentioned that the data is in an array of strings.  What structures (LabVIEW) work with tables?  [Do you know how to work with tables?  [Otherwise, review some of LabVIEW Tutorial material - see top right of the first page of the Forum].  What do you know about channels?  What questions you need to ask questions on the channels?  What do you know about string functions?

    Watch these things in some LabVIEW code, 'feed' some data and see what he does.  If it seems to do things "unexplained", you can try to look at the block diagram to run by turning the performance highlight (and if you don't know what that means, use the help of LabVIEW and see the tutorials).

    Bob Schor

  • My computer when it is turned on will not past the blue screen of Windows Vista, not able to see the start with all the icons page

    Had to restart the computer and turned on will not go beyond Windows Vista of the screen blue, not able to see the start with all the icons page

     

    Restore point:

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

     

    If restore work not and you do not have a Vista DVD from Microsoft, do a repair disc to do a Startup Repair:

    Download the ISO on the link provided and make a record of repair time it starts.

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.

    When you have changed that, insert the Bootable disk you did in the drive and reboot.

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    Link above shows what the process looks like and a manual, it load the repair options.

    NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.

    Read all the info on the website on how to create and use:

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    ISO Burner: http://www.snapfiles.com/get/active-isoburner.html

    It's a very good Vista startup repair disk.

    You can do a system restart tool, system, etc it restore.

    It is NOT a disc of resettlement.

    And the 32-bit is what normally comes on a computer, unless 64-bit.

    See you soon.

    Mick Murphy - Microsoft partner

  • Copy and paste the links from one document to another is no longer maintains the actions

    For a few years I created a 'dynamic' table of contents in a MS-Word document.  The Word document is a skeleton of a PDF document that will be published with the text of the sections on the relevant pages.  I then save it in the format PDF. The links in the generated PDF file precisely go to pages in the document. I then copy the table of content pages in my PDF file that contains the actual content.  I remove links old and copy and paste links to the newly created table of content in the 'real' PDF pages  Recently, when I stick the links, they seem to stick properly but the actions on the links are not included.  I can look at the new PDF and see the link for "go to a page in the document" action, but they are not present on the pasted version.  Is this a bug?  Everyone knows this situation?   Thanks in advance!

    As usual with similar issues, need the process to explain to discover possible solutions towards.  I don't know why this solved the problem, but I had saved the Word document by using the file/save as / name. File/save as Adobe PDF... pretty good PDF option option.  The results appear the same, but when I copied the links after registration by using this option, it worked as it should.   Maybe this will help someone else...

Maybe you are looking for