Switching into a dialog window's buttons (ok/cancel) w/ a keybord shortcut

how can i do this?
on pc i'm used to press "tab" button to switch from the default option to the other.
for example when selecting "shut down the computer" in the apple menu, it appears a dialog window saying "the computer will shut down in 1 m and ..." selected default button (blue) is CONTINUE, how do I switch to CANCEL button without using the mouse?
Thank you

Normally you use "tab" to move around within a dialog box on a Mac too, spiderresistance.
To automatically hit the "cancel" button, though, use "esc"
You can find very extensive lists of Mac keyboard shortcuts by going to the "Help" menu when in the Finder , choosing "Mac Help" and then typing "keyboard shortcuts" in the search box.
Cheers
Rod

Similar Messages

  • How to wire into that close window x button

    I want when the end user click the program's x red button at the top right, a dialog box with two buttons will pop out and say "are you sure?", if the end user click Ok, the program will shut off and close its window, if the end user click cancel, the program continues to run.
    So I start building the vi, refer attached, but I was flipping the help search without knowing what is the name of that red x button, and i cant find the function block!
    So, my question is:
    1. I want to wire into that x red close window button event to control my case structure, but where is that function block?
    2. Where is the function block that shut off the program as well as close the program window?
    Thanks.
    Solved!
    Go to Solution.
    Attachments:
    2.vi ‏7 KB

    I would add, by way of explanation, that you don't actually "tie into the button", you tie into the event that it represents.
    That means that if you add an event for PANEL CLOSE?, that event gets triggered by all the things that would close the window: Clicking the CLOSE box (as mentioned), but also typing CTRL-W, selecting CLOSE from the FILE menu (if that's available), aborting the program from the TASK MANAGER (ctrl-alt-delete), and script operations on OS X.
    Usually, that's what you want. The point is you're being asked if it's OK to close and you get a chance to say "no".  But it doesn't necessarily come from the CLOSE box.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • Stuck Thread when closing dialog window with 'X' browser button

    Hello,
    I moved my application to JDev 11.1.1.3 and it seems I've got a problem appearing since. Here it is:
    I've a bouded task-flow having 5-6 JSP pages.
    3 of them can open a dialog window to show a PDF report using dialog:report such as:
    <control-flow-rule id="__1">
    <from-activity-id id="__2">etats</from-activity-id>
    <control-flow-case id="__3">
    <from-outcome id="__7">dialog:goReportEtat</from-outcome>
    <to-activity-id id="__8">report</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <control-flow-rule id="__9">
    <from-activity-id id="__10">real</from-activity-id>
    <control-flow-case id="__11">
    <from-outcome id="__13">dialog:goReportReal</from-outcome>
    <to-activity-id id="__12">report</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <control-flow-rule id="__14">
    <from-activity-id id="__15">previ</from-activity-id>
    <control-flow-case id="__16">
    <from-outcome id="__18">dialog:goReportPrevi</from-outcome>
    <to-activity-id id="__17">report</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    When a go to "Etat" page, launch my report window, close it with the 'X' button of the browser and going back to let's say "Real" page, the page just won't load completely and I got this error after 10 mins:
    *<Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "616" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@1c68ec0[*
    *GET /myapp/faces/javascript/favicon.js?_adf.ctrl-state=1303iqjhth_40 HTTP/1.1*
    *User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 (.NET CLR 3.5.30729)*
    *Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8*
    *Accept-Language: fr*
    *Accept-Encoding: gzip,deflate*
    *Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7*
    *Keep-Alive: 115*
    *Connection: keep-alive*
    *Referer: http://127.0.0.1:7101/myapp/faces/my-flow/real?_adf.ctrl-state=1303iqjhth_7&_afrLoop=255213241325922*
    *Cookie: JSESSIONID=t942Mx3KqWtx05CvKcYMfGyCKNBV9nf27jsvLcpRMKJJnyng7Gjj!1056711659*
    *]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:*
    *     sun.misc.Unsafe.park(Native Method)*
    *     java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)*
    *     java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)*
    *     java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:778)*
    *     java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1114)*
    *     java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:186)*
    *     java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:262)*
    *     oracle.adf.model.dcframe.DataControlFrameImpl.lock(DataControlFrameImpl.java:294)*
    *     oracle.adf.model.dcframe.DataControlFrameImpl.beginRequest(DataControlFrameImpl.java:336)*
    *     oracle.adf.model.BindingContext.setCurrentFrame(BindingContext.java:2107)*
    *     oracle.adf.model.BindingContext.setCurrentDataControlFrame(BindingContext.java:2009)*
    *     oracle.adfinternal.controller.util.model.DCFrameImpl.makeCurrent(DCFrameImpl.java:126)*
    *     oracle.adfinternal.controller.state.ViewPortContextImpl.makeCurrent(ViewPortContextImpl.java:1006)*
    *     oracle.adfinternal.controller.state.RequestState.setCurrentViewPortContext(RequestState.java:159)*
    *     oracle.adfinternal.controller.state.ControllerState.setCurrentViewPort(ControllerState.java:1247)*
    *     oracle.adfinternal.controller.state.ControllerState.releaseViewPort(ControllerState.java:1413)*
    *     oracle.adfinternal.controller.state.ControllerState.processViewPortReleaseQueue(ControllerState.java:2114)*
    *     oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:62)*
    *     oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:531)*
    *     oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)*
    *     oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)*
    *     oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:124)*
    *     oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:70)*
    *     oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)*
    *     oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:364)*
    *     oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)*
    *     javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)*
    *     weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)*
    *     weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)*
    *     weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)*
    *     weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)*
    *     weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)*
    *     com.figaret.payroll.view.util.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:124)*
    *     weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)*
    *     oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)*
    *     weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)*
    *     oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)*
    *     org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)*
    *     oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)*
    *     org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)*
    *     org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)*
    *     org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)*
    *     org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)*
    *     weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)*
    *     oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)*
    *     weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)*
    *     weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)*
    *     weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)*
    *     weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)*
    *     weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)*
    *     weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)*
    *     weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)*
    *     weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)*
    *     weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)*
    *     weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)*
    *     weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)*
    *     weblogic.work.ExecuteThread.run(ExecuteThread.java:173)*
    After a while, my Weblogic Server throws an outOfMemoryException and I have to restart it which is dreadful in production mode.
    My report page contains just an inline tag receiving a bytes Arrays from a Servlet to show the PDF doc:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document title="#{res['report.title']}" id="d1">
    <af:form id="f1">
    <af:panelStretchLayout startWidth="0px" endWidth="0px" topHeight="30px"
    bottomHeight="30px" styleClass="AFVisualRoot"
    id="pt_psl1">
    <f:facet name="top">
    <!--<af:commandButton text="#{res['template.null']}" id="close"
    partialSubmit="true" visible="true"
    immediate="true">
    <af:returnActionListener/>
    </af:commandButton>-->
    </f:facet>
    <f:facet name="center">
    <af:inlineFrame shortDesc="#{res['report.title']}" id="if1"
    source="/pdf/report.pdf"/>
    </f:facet>
    </af:panelStretchLayout>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    I tested by putting a button into my report page to close the page and containing a returnActionListener tag and when I close the page with this button, everything is fine.
    <af:commandButton text="" id="close"
    partialSubmit="true" visible="true"
    immediate="true">
    <af:returnActionListener/>
    </af:commandButton>
    Is this normal?
    My problem is that our users are used to close the dialog using 'X' button so it is a 'must' for me to make it work.
    Is this normal? OR Am i doing something wrong there?
    I spent a full week looking for mistakes and searching into the net but I'm lost there
    Any help welcome! :)
    Jack

    Hi Puthanampatti,
    That's what I thought and I did try to do what you said:
    I added this into my report page:
    <f:facet name="metaContainer">
    <af:resource type="javascript">
    window.onbeforeunload = simulateClick;
    function simulateClick() {
    if (document.getElementById('close') != null) {
    // simulate a click
    //alert('simulate a click');
    document.getElementById('close').click();
    //alert('CLICKED');
    </af:resource>
    </f:facet>
    And here my close button into report page:
    <af:commandButton text="#{res['template.null']}" id="close"
    partialSubmit="true" visible="true"
    clientComponent="true" immediate="true">
    <af:returnActionListener/>
    </af:commandButton>
    But, this doesn't resolve the problem.
    When doing so, I have this javascript error:
    Erreur : AdfXMLRequest is not defined
    Fichier Source : http://127.0.0.1:7101/payroll/afr/partition/gecko/default/opt/core-11.1.1.3.0-0084.js
    Ligne : 457
    SO now I'm quite lost and dunno what to do next.
    I am 99% sure it was working well when I was developing with JDev11.1.1.2.
    Is it not a regression?
    Jack

  • When a pop up window comes up it is - search bookmarks and history window! I cannot log into my bank as login button should open new window to log in but I get the search page. I cannot see larger images as again I get the search bookmarks and history pa

    When a pop up window comes up it is - search bookmarks and history window! I cannot log into my bank as login button should open new window to log in but I get the search page. I cannot see larger images as again I get the search bookmarks and history page etc. Happens on all options that should open new page. I am so frustrated, this has been happening since Firefox updated itself 2 days ago to Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729; .NET4.0C) was fine before that. using windows vista. Can you please advise what I should do? Also can you go back to previous version? Error console eg
    Warning: Error in parsing value for 'cursor'. Declaration dropped.
    Source File: https://ib.nab.com.au/nabib/styles/menu_nab.css?id=009
    Line: 116
    ib.nab.com.au : server does not support RFC 5746, see CVE-2009-3555 and Warning: Selector expected. Ruleset ignored due to bad selector.
    Source File: https://ib.nab.com.au/nabib/styles/nabstyle.css?id=014
    Line: 837
    == This happened ==
    Every time Firefox opened
    == 2 days ago after update.

    Do you have that problem when running in the Firefox SafeMode?
    [http://support.mozilla.com/en-US/kb/Safe+Mode]
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this:
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • When Mozilla upgraded, it complained that my Adobe Flash Player also should be upgraded. The upgrade downloaded but no icon appeared, and when I found the EXE and ran it, only the Quit button in the dialog window was an active link, so I got nothing.

    The Installation instructions allow for Firefox or IE. I have both, but the IE path was dead. The Firefox path said to use the icon on the desktop - but there is no such icon. The downloaded executable is there, but when I invoke it and read the license agreement, I still only have the dialog window with Quit and Install - however, only the Quit button is live.

    1. There are two different versions of Flash. The ActiveX version for IE, and the Plugin version for Firefox and other browsers. You need to install both versions if you continue to use IE along with Firefox.
    2. Did you close Firefox before attempting to install Flash? Did you download it to the Desktop, because it wouldn't end up there automatically with the default download settings in Firefox?
    Tools > Downloads = does that download show in the Downloads window? <br />
    If so, right-click on it and use '''Open Containing Folder'''. <br />
    Does that downloaded file have '''-ax.exe''' at the end of the name of that file? <br />
    If so, you got the ActiveX version and need to download it again. <br />
    If not, close Firefox while keeping that "containing folder" open. <br />
    Wait about 20 seconds and then try installing Flash.

  • How to create a dialog window with no button that opens along with the main window?

    When the main window is open, the dialog window opens up immediately and can be closed by key press. At other times, when the next step, ie: decision, comes to, the another dialog window pops up again and is again closed by key press. Does anyone know how to do? Use the sub-Vi? notification method? occurrence method?
    And another thing: how to create a reusable dialog window with no button so that different messages can be sent to it and it can closed by key press. And how to pass the string to the title of the dialog window programmatically?

    For your functionality (If I understand it right), nothing needs to be in the event structure. Pressing any key just triggers the event, thus finishing the VI (there is no while loop).
    Could you tell me what you mean my "it won't run properly"? Make sure that the front panel of the subVI is closed before starting the main VI. Remember that the subVI is set to "open when called" and "close afterwards if originally closed". So, if you had the panel open already, it won't of course close when finished!
    (Actually, the problems is worse when you have the subVI panel open when starting the main VI. you get a catch22 and labVIEW locks up because (1) the subVI is set to dialog and grabs all attention but (2) it has not been
    called, thus the event cannot be triggered. So don't do that!!!! As a quick workaround, add the modification shown in the attached image to ensure the panel of the subVI is closed.)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    CloseNoButtonDialog.gif ‏3 KB

  • "ESC" button to close Dialog window? how it can be done

    Dear Friends,
    my application has got lot of Dialog windows, How can i map ESC button so that when the users press ESC button the window will get close automatically, all these windows designed so show data only.
    Please advise me.

    For Esc button it is not possible anway u can use F1 key,use Key-Help tigger on block level and write
    Exit_form (no_validate);
    but it will disable help menu on this block but i dont think so it is relate to user the sample code would be for F1 key is
    Tigger : Key-Help
    Level : Block
    exit_form(no_validate);
    By pressing F1 on this block your form can exit .You can exit this trigger on Form level and it will work for all blcoks in ur Forms if any problem contact my personel email address
    [email protected]
    thank you
    Khurram Siddiqui

  • Applescript. Making dependant buttons in dialog windows

    Hello, I am learning on making dialogs with Adobe InDesign CS3.
    Is it possible to "grey out" some parts of the dialog window, depending on a certain selection of a radio button? I mean: I have a radio button group and depending on which radio button is selected, I want to grey out some other options in the very same dialog window that are not relevant anymore (for example some check boxes).
    And if possible can anyone provide me with an example code?
    And if impossible can it probably be done with Applescript Studio? I don't know.
    Kind regards,
    Bertus Bolknak

    Hi Bertus,
    In JavaScript – in ScriptUI, not in InDesign’s dialogs – you can set enable property of control objects to false.
    As to Applescript Studio, I think, It’s possible too, but I’m not sure – attributes pane in the Info window has ‘Enabled’ checkbox. I did an interface with radio buttons group (BTW in Applescript Studio it’s called matrix) long ago, but it was quite a hassle. I was doing it by trial-and-error method as couldn’t find an intelligible reference. But the interface came out more attractive, and what was more important to me, Cyrillic characters were fully supported, as opposed to InDesign’s dialogs.
    Kasyan

  • When I right click on a link to open in new tab and move my cursor into the dialog box the box dissapears this is new in the last 24 hours.

    I'm using Firefox 8.0 on Suse 11.4 today is 11/28/11 the past 24 hours I've been experiencing this: I always try to right click on links and open in new tab, lately when I do so and move the cursor into the dialog box the box disappears. Also if I online shop say for clothing, if I want to change size's when I click the button to do so nothing happens when I want to scroll down and pick a different size, (I can hi-light the size and click on it then when the window scrolls back up the default size is still there. This isn't consistent with all web sites.

    You can middle-click a link to open the link in a new tab.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • How to Skip Print dialog window in smartforms

    Hi Experts,
    while printing the smartforms i dont want Print dialog window. I want as and when i pressed the print
    button it'll directly print with the specified printer.
    I tried with lot of option but it is not working for me . May be i missed some prameter to pass.
    Have a look in to my code below and make me correct .
    DATA : WA_CPARAM TYPE SSFCTRLOP,
           WA_OUTPUT TYPE SSFCOMPOP,
           JOB_OUTPUT_INFO TYPE SSFCRESCL.
          WA_CPARAM-PREVIEW = 'X'.
           WA_CPARAM-NO_DIALOG = 'X'.
          WA_CPARAM-DEVICE = 'PRINTER'.
          WA_OUTPUT-TDNOPRINT = 'X'.
           WA_OUTPUT-TDDEST = 'LP06'.
           WA_OUTPUT-TDIMMED = ' '.
           WA_OUTPUT-TDNEWID = 'X'.
          WA_OUTPUT-TDDELETE = 'X'.
           WA_OUTPUT-BCS_LANGU = SY-LANGU .
          WA_OUTPUT-TDPRINTER = 'X'.
    CALL FUNCTION FNAM
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
       CONTROL_PARAMETERS = WA_CPARAM
       OUTPUT_OPTIONS     = WA_OUTPUT
       USER_SETTINGS      = ' '
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS = T_SSFCOMPOP
      USER_SETTINGS = ' '
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       = SSFCRESPD
       JOB_OUTPUT_INFO            =  job_output_info
      JOB_OUTPUT_OPTIONS         = WA_OUTPUT
        TABLES
        ITAB1                      = IT_ZADVMUTH1
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks In Advance.
    Satya

    Try with below parameters, it may help you to close the thread.
    WA_CPARAM-device = 'LP06'.
    WA_CPARAM-no_dialog = 'X'.
    WA_OUTPUT-tdnoprev = 'X'.
    WA_OUTPUT-tddest = 'LOCL'.
    WA_OUTPUT-tdnewid = 'X'.
    SELECT SINGLE * FROM usr01
    INTO ls_usr01
    WHERE bname = sy-uname
         AND spdb  = 'G'.
    If sy-subrc EQ 0.
    WA_OUTPUT-tdimmed = ' '.
    ELSE.
    WA_OUTPUT-tdimmed = 'X'.
    ENDIF.
    Regards,
    SaiRam

  • Passing values to a modal dialog window...

    Hi All,
    Is there a way to pass massive amount of data into a pop-up
    modal dialog window? I have this following code that keeps giving
    me a JavaScript error whenever I have like 2000 characters in the
    documen.myForm.Product_Details textarea field. Any suggestions or
    advice is greatly appreciated, and thank you very much in advance!
    function Modal_NewWin() {
    var width = 750;
    var depth = 200;
    var productDetails = document.myForm.Product_Details.value;
    var url =
    "PreviewProducts.cfm?ProductID=#GetProductInfo.ProductID#&ProductDetails="
    + productDetails;
    var sfeatures = "dialogHeight: " + depth + "px; dialogWidth:
    " + width + "px; dialogTop: px; dialogLeft: px; center: Yes; help:
    No; resizable: No; status: No;";
    return window.showModalDialog(url,'',sfeatures);

    can you use JSStringFormat() without first submitting the
    form??? (so CF can see the value in the form field jsstringformat
    is applied to..)
    submitting a form to the preview page will solve the problem
    for sure, but then you will somehow have to have 2 different action
    target for the form, so that clicking 'preview' button submits the
    form to the modal window, and clicking a 'save' button will submit
    the form to another action page that inserts values into a db...
    you can do that, again with some more javascript...
    as html-escaping javascripts are readily available on various
    script sites, i think it will be easier to employ one of them...
    (please note that i am assuming quiet a lot about how the
    AppDeveloper's form works and what it does, since he never
    explained it himself...)

  • Close dialog window by clicking on 'X'

    Hi
    I am displaying a dialog window that allows the user to modify data.
    When the user clicks on the 'Cancel' button I have placed on the window, the action code fires and the return listener fires.
    I have added some java script that executes the following command when the user closes the dialog by clicking on the close icon.
    submitForm("groupCaptureForm",0,{source:"cancelGroup"});
    Basically simulating a click on the 'Cancel' button.
    For some reason when the user closes the window by clicking on the close icon, the action code fires, but the return listener code never fires.
    Any idea why?

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Modal INLINE dialog windows

    Hello,
    I'm facing some issues with the modal dialog windows that are embedded in an window and are not opened as a separate window. I saw the "tutorials" in different weblogs and the book of Jung/McKellar for the "F4-Help". It works well unless I integrate it into the portal. There, I do have two issues:
    1. It looks much different as if I would open it directly from the backened system. The close/maximize buttons are different and the ok button at the botton is on the right side and not on the left side. It's not tragical but I'm asking why.
    2. It's only possible to open ist once. If I open it the second time I dont see any buttons like maximizing etc.
    I really hope anyone of you can help me. It's a great feature and I would appreciate any help and reward point therefore.
    thanks and regards
    Markus Armbruster

    hi
    good
    go through this link,might give you some solution
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBERG/BCDWBERG.pdf
    http://www1.sapdesignguild.org/resources/ma_guidelines_2/ma_guidelines_2.pdf
    thanks
    mrutyun^

  • Dynamically Create (and reference) Dialog Window Groups

    I'm trying to setup a dialog window that can be easily added to via a CSV file.  The only problem I've run into is; I'm not quite sure how to create the groups dynamically.  Basically, the script setups up a bunch of texture features and then gives the option to save and/or strip that feature.  Below is the basic idea of what I'm trying to do, but the groups are not able to be created in the way that they are shown:
    featArray = [];
    featArray[0] = new Array("Feature Display Name","feature sub-group",'texture',"feature action",'feature type');
    featArray[1] = new Array("Feature2 Display Name","feature2 sub-group",'texture',"feature2 action",'feature2 type'); //etc.
    for(var z in featArray) {
        if(featArray[z][2] == 'texture') {
            w.p1.sp1.add('statictext',undefined,featArray[z][0]);
            w.p1.sp1.g[z] = w.p1.sp1.add('group');
            w.p1.sp1.g[z].orientation = 'row';
            w.p1.sp1.g[z].add('checkbox',undefined,'Save');
            w.p1.sp1.g[z].add('checkbox',undefined,'Strip');
            w.p1.sp1.g[z].children[0].id = featArray[z][0].toLowerCase() + "-save";
            w.p1.sp1.g[z].children[1].id = featArray[z][0].toLowerCase() + "-strip";
    If you change the g[z] to g1, it will create each field correctly (visually), but there is no way to properly reference the check boxes to see which are checked.  Any ideas how, or even if, it is possible to dynamically create a different group for each line of the featArray?  And if so, how to then reference the check boxes in those groups later on?  Thanks in advance for any help!

    You just use the array ie:
    featArray = [];
    featArray[0] = new Array("Feature Display Name","feature sub-group",'texture','feature group','feature type');
    featArray[1] = new Array("Feature Display Name2","feature sub-group2",'texture','feature group2','feature type2'); //etc.
    var w = new Window('dialog','test');
    w.p1= w.add("panel", undefined, undefined, {borderStyle:"black"});
    var x = new Array();
    var count =0;
    for(var z in featArray) {
        if(featArray[z][2] == 'texture') {
            w.p1.add('statictext',undefined,featArray[z][0]);
    w.p1.g = w.p1.add('group');
    w.p1.g.orientation = 'row';
    x[count] = w.p1.g.add('checkbox',undefined,'Save');
    count++;
    x[count] = w.p1.g.add('checkbox',undefined,'Strip');
    count++
    x[0].onClick=function(){
        alert("Checkbox 0 clicked");
    x[1].onClick=function(){
        alert("Checkbox 1 clicked");
    x[2].onClick=function(){
        alert("Checkbox 2 clicked");
    x[3].onClick=function(){
        alert("Checkbox 3 clicked");
    w.test = w.add('button',undefined,'Press to Test');
    w.add('button',undefined,'Cancel');
    w.test.onClick=function(){
    for(var w =0;w<x.length;w++){
        alert("Checkbox " + w + " value = " +x[w].value);
    w.center();
    w.show();

  • 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…

Maybe you are looking for

  • XI File BPM scenario

    Hi all, i have questions regarding the usage of big files with a BPM scenario. The functional requirements are as follows: 1. Pick up large (raw data) file (1MB) from FTP server 2. Drop this file to a second FTP server 3. After the file has been tran

  • Dead eMac Fan, USB resurrection?

    Hi, The fan has died on my beloved eMac. The local Apple specialist wants about $700 to fix it. (They claim they need to replace the '61-2850 Display/Analog Assembly, Northern Hemisphere' because, while the fan itself is fine, it's supposed to receiv

  • My downloadof PS keeps crashing. Creative Cloud says "file may be corrupt." Have tried dozens of times.

    It took several tries to get AI to download and install as well. But PS has never come close. about 40% or less and it crashes again. I have great bandwidth and nothing else running on my computer at the time. That gives? Loren

  • ORA-02270 Error

    I got ORA-02270 Error when tried to add foreign key on a detail table: CREATE TABLE supplier ( supplier_id numeric(10) not null, supplier_name varchar2(50) not null, contact_name varchar2(50) , insertedate date not null, CONSTRAINT supplier_pk PRIMAR

  • OEM push Agent issue

    Hi, I am on 10.2.0.3 and when I am trying to push the agent to the target server and I ran into an issues with port, below is the message: The required port(s) in the range is not available: PROBLEM: the free port availability check has failed ERROR: