Using accesskeys in Popup

Hi all,
I am using JDeveloper ver 11.1.1.2.0. I have an issue while using accesKeys .
I am performing certain actions on the page.
I have a save af:commandButton.
I have my coding in a way such that on click of Save, a popup opens with a dialog - "Do You want to Save" and having buttons "Yes" and "No".
The actions of "Yes" and "No" are handled in dialogListener.
5. Once the popup is shown the buttons and actions in the page becomes blurred.
6. But when i use the accessKey for the buttons in the page, it action is performed.
Is there any possible way of restricting the accesskeys when i am inside a popup?
Thanks,
Srinidhi
Edited by: Srinidhi on Aug 21, 2010 11:39 PM

Thanx Frank,
I tried the solution you gave, but the issue still exists even after setting the modal to true for af:dialog.
The screen is getting blurred on launch of popup.
No actions are allowed and editing is also blocked.
But only the actions through accesskeys are getting fired
Regd,
Srinidhi

Similar Messages

  • Using Union in popup LOV

    HI,
    I want to select data from 2 tables using Union in Popup LOV ,
    please help.
    I am getting a error message like
    "LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query."
    when i use union query
    my query is like this
    select a from table 1
    union
    select b from table 2
    order by a;

    Hi,
    Three things -
    1) Remove the semi-colon from the end of your query (it can work without it, but you'll eventually run into problems some day by putting a semi-colon on the end, so better to get into the habit of not doing it).
    2) You need to provide 2 columns in your query, a display value and a return value (look at the error message you are getting). You are only returning a single column.
    3) Wrap your query inside another query to get it to work.
    Something like this should work -
    select * from (
      select 1 as r, 2 as d from dual
      union
      select 3 as r, 4 as d from dual)
    order by dObviously change the values/columns to suit your own purposes.
    Hope this helps,
    John.

  • How to use Sharepoint Modal Popup loader in Sharepoint-Hosted Apps

    Hi,
    I have a requirement to use a modal popup as loader in SharePoint-Hosted Apps. I have used this like following-
    SP.UI.ModalDialog.showWaitScreenWithNoClose(
    'Please Wait',
    'while we retrieve...',
    '400',
    '600');
    But it does not work if we have "SP.Js" and "SP.runtime.js" included in the page. If we remove the mentioned script, then only modal works, but other functionality related to "Sp.Js" does not work.
    Please let me know if there is any solution for the problem.
    Thanks in Advance.

    Hi,
    Chk out this link also
    http://stackoverflow.com/questions/4015159/using-jquery-to-display-a-modal-please-wait-dialog-box-message
    http://bernado-nguyen-hoan.com/2012/04/23/how-to-close-sharepoint-modal-wait-screen-after-postback-when-page-is-in-dialog-mode/
    http://sharepoint.stackexchange.com/questions/24391/how-do-i-show-a-loading-div-when-opening-a-modal-dialog-from-a-customaction
    http://blog.collabware.com/2012/10/30/tips-tricks-sharepoint-2010-modal-dialogs/
    Thanks
    Jaison A
    http://infomoss.blogspot.in

  • How to use AccessKey on Jsff

    Hi,
    Am using JDev 11.1.1.5.0, I used accesskey property for shortcut keys in my jspx page which works fine, but in jsff page it is not working. How can i overcome that?
    Edited by: Arunkumar Kootharasan on Oct 12, 2012 5:14 PM

    No, am using a link which refers a Dynamic Region-> Taskflow-> jsff page, the scenario is not working in JSF.

  • Would like to use apex_item to popup a calculator for a text item field, is this possible in apex 4.2.2?

    would like to use apex_item to popup a calculator for a text item field, is this possible in apex 4.2.2?

    I imagine you could reverse engineer what APEX delivers when you declaratively choose text field with calculator.
    For example, the generated source includes an event:
    onclick="calculatorPopUp_p_t01();"
    These get added to the attributes of your apex_item.text() call.
    Alternatively you just paste the entire generated content, escaping the necessary data.

  • Using multiple LOV popups in a multi-row updatable report but save to 1 col

    Hi,
    I'm trying to generate a multirow updatable report, which has only 1 writeable column. There is a read-only column that indicates the type of value that the writeable column should contain (it's a varchar2). The second column will be a LOV popup.
    I can create the report by setting the 2nd column to a LOV and it's fine, however I really want the LOV to be different, depending upon the value of the first column for the row.
    For example, if the first column is "list" then I want the popup to show all my "lists"
    If the first column is "role" then I want to the popup to show all my "roles".
    There will be a mixture of values within the entire rowset.
    I've so far managed to use a case statement to generate different LOV popups, which are displayed as required but the returned data isn't written back to the correct field.
    If I use the same p_idx value then there is only one javascript function created and it always stores the data in the first rows column.
    If I use unique p_idx values, then it works better but selecting a value for the 2nd row will store it there but also overwrite the 1st rows value as well.
    My SQL for the report currently looks like this (cut down for clarity)
    SELECT RULACTPRMIDD, /* PK */
    CASE PRMNME /* type */
    WHEN 'list' THEN
    APEX_ITEM.POPUPKEY_FROM_QUERY(2,rulactprmval,
    'SELECT LSTNME r, LSTNME d FROM LSTLST', 0)
    WHEN 'role' THEN
    APEX_ITEM.POPUPKEY_FROM_QUERY(2,rulactprmval,
    'SELECT ROLNME r, ROLNME d FROM PDRROL', 0)
    END dynamic_popup
    FROM CPNRULACTPRM
    I can't think of an example where i've seen this done within the Apex development environment otherwise I would refer you to that.
    An alternative option would be to pass the type of value required to the same LOV and then get the LOV query to only show the appropriate values - i'll look into this as a workaround option.
    thanks

    User478832,
    I didn't look thru all the code but I have a feeling your problem is the 9th line in the On Demand process. (the 9th line in this post anyway)...
    htp.prn('<option value="' || rec.cpc_name|| '">' || rec.cpc_name|| '</option>');
    You modified your query to get a different column but your returning the same column later: rec.cpc_name x2
    I assume you want to display NAME and return ID so change it like this...
    htp.prn('<option value="' || rec.cpc_id || '">' || rec.cpc_name|| '</option>');
    Let me know if that helps...
    Dan

  • Problem using squiggly in popup

    I created a component by extending the RichTextEditor:
    public class RichTextEditor extends mx.controls.RichTextEditor
            private var _editable:Boolean = true;
            public function RichTextEditor()
                super();
                addEventListener(FlexEvent.CREATION_COMPLETE, enableSpellCheck);
            private function enableSpellCheck(event:FlexEvent):void
                SpellUI.enableSpelling(this, "dictionary/usa.zwl");
    The spell check works ok in not-popup component, but it doesn't work and throw exception when I use this component on Popup. see error message below:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at com.adobe.linguistics.spelling::SpellUI/handleLoadComplete()[C:\squiggly\esg\squiggly\Ado beSpellingUI\src\com\adobe\linguistics\spelling\SpellUI.as:219]
    at com.adobe.linguistics.spelling::SpellUI()[C:\squiggly\esg\squiggly\AdobeSpellingUI\src\co m\adobe\linguistics\spelling\SpellUI.as:174]
    at com.adobe.linguistics.spelling::SpellUI$/enableSpelling()[C:\squiggly\esg\squiggly\AdobeS pellingUI\src\com\adobe\linguistics\spelling\SpellUI.as:98]
    what does this mean?  is the null object the usa.zwl?  Thanks

    Looks like this is the same bug as reported by ger83 in
    http://forums.adobe.com/thread/538757?tstart=0
    The null is not the usa.zwl. It's something else in the code. We're working on the fix.
    Can you confirm if you see the error from the second pop-up or it exists even when there's only one spelling enabled component.

  • Cannot move/use/open anncilary (popup?) windows in multiple applicationsI

    I have started having trouble with numerous Finder related tasks:
    1. I cannot close/move/use certain windows on the desktop. Usually these are what I would describe as ancillary windows. For example, iCal automatic reminder windows cannot be closed nor removed. In Dreamweaver, tools menus get stuck and cannot be moved. This problem progresses to where I can no longer use or even open Dreamweaver tools windows, (e.g., I am unable to type in open spaces and cannot get popup menus to scroll.)
    Re-booting my computer makes the stuck iCal windows disappear, but the next time iCal sends me a reminder, I’m back in the same situation. Re-launching Dreamweaver restores functioning for a while, but within 5 minutes or so, the problems return.
    I have no idea if this is related, but about 2 weeks ago, I had even worse problems (e.g., was unable to rename folders on the desktop or move them to the trash.) Pushing F6, the number lock key, eliminated those problems, but now I am having increasing difficulty with the issues described above.
    Thank you for any help you can offer!
    PowerBook G4   Mac OS X (10.4.7)  

    Hello akaMisterAnderson
    I am having the exact problem when I try to rename or move the MOV file. I use Unlocker to determine which process is locking the MOV file and like you have said: it is the Explorer process.
    I hope there will be a patch for this problem soon and if you know of any solution, please inform me.
    Thanks.

  • Using apex.navigation.popup in IE loses parent location

    When I use this function to open a popup window it works fine in Safari/Chrome etc, the popup works and the parent window remains the same. However, in IE, the popup happens, but the parent goes to a blank screen with [object] displayed in the top left corner.
    The full statementI am using is:
    javascript:apex.navigation.popup({url:'f?p=&APP_ID.:42:&SESSION.',width:1300,height:400});
    Any ideas?
    This is with IE 10.
    Regards,
    Jez

    Try to append void(0); behind the statement so it looks like
    javascript:apex.navigation.popup({url:'f?p=&APP_ID.:42:&SESSION.',width:1300,height:400});void(0);

  • Anybody have any example on how to use javafx.stage.Popup

    I wants to popup an customerize UI stage to let user to something, and found there have a javafx.stage.Popup class. Any example for how to use it, seems it no titile bar and not OK and cancel button? Search for Forum seems don't find an useful one.
    Edited by: 931222 on Oct 22, 2012 8:54 AM

    follow up.

  • When I use Safari, ads popup all over the place.

    Recently when using Safari, I get popup ads all over the place along with jerky performance. When I disable Java in Safari, the problem disappears, but then I can't view videos. I downloaded an Apple approved copy of Java for Yosemite and installed it, but the problem persists. I then ran a Mac malware removal program as well as the Avast anti-virus scan, but the problem still remains.

    1. Use  free  AdwareMedic to remove adware
        http://www.adwaremedic.com/index.php
       Install , open,  and run it by clicking “Scan for Adware” button   to remove adware.
       Once done, quit AdwareMedic.
                 or
       Remove the adware manually by following the “HowTo” from Apple.
       http://support.apple.com/en-us/HT203987
    2. Safari > Preferences > Extensions
        Turn those off and relaunch Safari.
        Turn those on one by one and test.
    3. Safari > Preferences >  Search > Search Engine :
        Select your preferred   search engine.

  • Help: How to use JWindow as Popup

    Hi there,
    I am developing a program & I wanted to design it with a screen like the Mac OS (tiger?) desktop. That is menu (button bar) at the bottom of the screen (the program's screen - Not the OS).
    I thought I should use a JWindow to do it.
    HOW I WOULD LIKE THE POPUP TO BEHAVE:
    - Only appears when a user moves the mouse towards the bottom of the screen.
    - To disappear (hide) when the user clicks somewhere else on the screen [when focus is lost(?)]
    - To change its position relative to the program. That is, if the program is resized etc...
    I NEED YOUR HELP ON
    The design issues I should take into consideration. I mean interfaces I should implement etc...
    Thanks in advance.
    Yours,
    Me

    Okay, sorry for the late reply, I dont go on the net much.
    With the focus issues, it could be very tricky to know when exactly the Window has lost focus cause a component within the window could still have the focus, hence the window would be in focus.
    One way, could be to add a common FocusListener to all the components within the window by using a recursion method, and allow this FocusListener to determine when all the elements within the window have lost focus, so as to call the window hiding function
    public void addFocusListener(Component c, FocusListener fl) {
      c.addFocusListener(fl);
      if(c instanceof Container) {
         Container cn = (Container)c;
         for(int i = 0; i < cn.getComponents().length; i++) {
             addFocusListener(cn.getComponent(i), fl);
    // also the focus listener could be like this
    class FocusChecker implements FocusListener {
       public void focusLost(FocusEvent e) {
          Component source = (Component)e.getSource();
          if(popupWindow.isAncestorOf(source)) {
              if(!popupWindow.isFocussed()) { // check if the window has a focussed component
                 moveWindowIntoHiding();  // call the method to hide to window
    }This is just a general guideline. Think around this to hide the window when it looses focus
    ICE

  • Using same opened popup window

    Hi,
    I have a scenario where I have 4 button in a view and I have to open same external URL window for all 4 buttons.
    Now user wants to use same popped up window (if already opened). He doesn't want to open same window again and again.
    Currently I am using non-modal external window code to open this window.
    wdComponentAPI.getWindowManager().createNonModalExternalWindow(DAS_URL).show();
    Can you please tell me how do I achieve this req?
    Please help.
    Thanks and regards,
    Amey

    Modify your code to have a handle for your window:
    IWDWindow window = null;
    //when button is clicked:
    if (window == null) {
        window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(DAS_URL).show();
    else {
        // do nothing, window is still open
    window.destroyInstance(); //this will close your window
    window = null;
    Hope this helps!
    Best regards,
    Robin van het Hof

  • Has any one had this problem? While my computer says Pages is updated when I try to use it a popup says it can't open and to update.

    Has any one had trouble with pages? I have updated but when I try to use it a screen says that I need to update. What do I do?

    Are you launching Pages from an icon in your Dock? Installing the update does not change the Dock icons & it does not remove the older versions. Go to your Applications folder & launch the new Pages from there.

  • How to Use the alert in popup

    Hi all,
    I have created a popup with some fields. Doing mandatory fields validation in the button of popup. Popup is called from the button by using the show popup behavior.
    In the button action method, if the mandatory fields are missing am raising the alert by using the below code:
    FacesMessage msger = null;
    msger =
    new FacesMessage("Inside Validate");
    msger.setSeverity(FacesMessage.SEVERITY_ERROR);
    FacesContext.getCurrentInstance().addMessage(null, msger);
    It is showing the alert. But it closes the popup. My requirement is should not close the popup when the alert is showing.pls guide me in this.
    Regards
    C.Karukkuvel
    Edited by: C.Karukkuvel on Dec 27, 2010 3:57 AM

    Hi,
    For ur Case u need to open and close the popup programatically.....
    Open Popup : Open Popup Programmatically
    Close Popup : how to close a popup by backing bean?
    Remove the show poupbehaviour
    Define popup type as none and inside the buttonbar facet of the dialog have ok cancel buttons... In the buttons have the closing logic of the popup after ur validations gets passed
    Regards,
    Suganth.G

Maybe you are looking for

  • Can't connect to external network

    Switched from a Netgear router to a Cisco E2500 and now my Samsung blue ray won't connect to internet. It says physical connection established but can't connect to external network.      Thank you for any help in this matter

  • Itunes shutting down right after loading

    Itunes runs and as soon as the screen pops up getting message itunes has stopped working, then windows will close itunes and search for a solution. Solution is to download the latest version of itunes which i have done three times without success. I

  • Changing User ID on iphone (id is same as email)

    When I attempt to download an app, a user name that is different than my current email address (email address is the ID).  How do I change the iphone's user ID to the correct ID that is found when logged in on the PC.  The iphone user ID is different

  • MacBook Pro automatically shutting down

    My Macbook Pro (2010) keeps automatically shutting down almost every time I put the screen down.  WHAT CAN I DO??

  • CIN master maintenance

    Hi,    actually inside CIN details PAN field is available. How can i make fields mandatory in CIN master maintenance.