Show pop up Window...

Hi Experts,
My Requirement is that..i have some input fields, when the user fill the input fields and press SAVE button, a pop up window should appear saying "ARE YOU SURE", just like in windows, please tell me how can i do this in Web dynpro java.
Thanks and Regards
Upendra Agrawal

Hi Upendra,
Create a new window and embed new view inside it.. in the view you can add the message that you want to dispaly.
In the view controller of you main window, create an action like button click and write the following code:
IWDWindowInfo windowInfo = (IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("WindowName");
IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
window.setWindowSize(300,300);
window.show();
wdContext.currentNewWindowElement().setWindowInstance(window);

Similar Messages

  • Open a pop up window thr' running Applet

    hi,
    presently i'm running an applet on my site ....in which there are some links.....clicking on 1 of those link takes u to the new browser window showing that link result..........
    PROBLEM is-----------
    i don't want a new 'browser' window .....but i want new pop up window....as we do with javascript in ASP....
    PLZ tell me how should i insert that javascript like code in my applet file.......and where....???
    thanx....
    ...Amita

    Hi.
    * You can use swing Dialog component to show pop-up windows in your applet:
    http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html
    * You can use Netscape's LiveConnect to call JavaScript functions (for example, one showing an "alert" pop-up) from your applet:
    http://developer.netscape.com/docs/manuals/communicator/jsref/pkg.htm#1003191
    Good luck.
    Felix.
    hi,
    presently i'm running an applet on my site ....in
    which there are some links.....clicking on 1 of those
    link takes u to the new browser window showing that
    link result..........
    PROBLEM is-----------
    i don't want a new 'browser' window .....but i want
    new pop up window....as we do with javascript in
    ASP....
    PLZ tell me how should i insert that javascript like
    code in my applet file.......and where....???
    thanx....
    ...Amita

  • Can you enter text into "info" pop-up window for TV Shows?

    It's not a big deal, but I was just wondering if there is a way (a script perhaps) of entering text into the little "info" pop-up window for TV Shows in iTunes? (You know the one...it pops-up when you click on the little "i" in the description box on the TV Shows main playlist)
    The show files I made myself have blank info windows of course and it would be nice to be able to enter a decent length description of the episode (the character limit in the "Description" box is so short).
    Like I said, it's not a big deal, but it would be nice to be able to enter info in there...so if anybody knows how...please let me know.
    Yhanx a lot!

    Thank you very much for your reply! I will definitely pass this along to the IT department! Smiling now!

  • How do I reinstate the information bar that shows the prevention of opening a pop-up window?

    After Firefox opened the information bar telling me they blocked a pop-up window I inadvertently clicked the option link and deleted the information bar from coming up again.
    How do I reinstate the information bar that shows the prevention of opening a pop-up window?
    == This happened ==
    Just once or twice
    == I clicked the option link and selected the "do not show this again" option

    I set browser.popups.showPopupBlocker to false, and information bar still appears.
    When I also set privacy.popups.showBrowserMessage to false, it doesn't appear.
    To test, whether the information bar appears, I use
    [http://www.popuptest.com/popuptest3.html]
    So, set to true preferences
    privacy.popups.showBrowserMessage
    and
    browser.popups.showPopupBlocker
    Both of them!!!
    Does it help you?

  • How to stop showing the pop-up window to change password

    Hi,
    How to stop showing the pop-up windows of changing password if the password is expired in dba_users table. This is related to form6.
    Pls advice.
    Thanks
    Raj

    Raj,
    Please do not start a new thread with the same problem. If you still need help, respond to your former thread, and we will still try to help you. But you haven't provided an answer to why you can't trap the error.
    Re: Trapping of error ora-28001, user expired in daa_users table

  • How to show details from web part as pop up window

    Hello
    I designed few web pages in SharePoint Designer 2010 and trying to customize it. I have a XSLTListView web part that is displaying filtered data from the external SQL database. When user choses the item from this list, I need it to show in the new pop
    up window. I can't seem to find the way to do it. Saw multiple references to use SP.UI.ModalDialog.ShowPopupDialog(url), but I don't know how and where to incorporate it, since there is no place in the page where it actually specifies that url
    of the page that I need to show as pop up.
    Below there is a code for the XsltListWebPart, where I'm hoping I could make changes to make it pop up (it seems that this is the part that is calling the display details form). The form that I'd like to pop up is DispForm.aspx
    <script>
    function showpreview<xsl:value-of select="$ViewCounter" />(o) {
    count = 1;
    for(i = 0; i &lt; o.childNodes.length; i++)
    var child = o.childNodes[i];
    if (child.style.display == &quot;none&quot; &amp;&amp; child.tagName == &quot;DIV&quot;)
    f = document.getElementById(&quot;n&quot; + count + &quot;<xsl:value-of select="$WPQ" />&quot;);
    f.innerHTML = unescape(child.innerHTML) + &apos;&#160;&apos;;
    count ++;
    </script>
    <div id="previewpaneerror{$ViewCounter}" style="width: 801px"></div>
    <table cellspacing="0" cellpadding="0" border="0" id="previewpanetable{$ViewCounter}" dir="{List/@Direction}">
    <xsl:choose>
    <xsl:when test="not($dvt_RowCount=0)">
    <tr>
    <td valign="top" style="width: 186px">
    <div class="ms-ppleft" style="width: 100px">
    <table cellspacing="0" cellpadding="0" border="0" style="width: 122%">
    <xsl:apply-templates select="." mode="RenderView"/>
    </table>
    </div>
    </td>
    <td valign="top">
    <div id="preview1{generate-id()}" class="style2" style="width: 690px; margin-left: 30px;">
    <table border="0" cellpadding="0" cellspacing="0">
    <xsl:for-each select="ViewFields/FieldRef[not(@Explicit='TRUE')]">
    <tr>
    <td nowrap="nowrap" valign="top" class="ms-formlabel" style="width: 143px">
    <nobr>
    <xsl:value-of select="@DisplayName"/>
    </nobr>
    </td>
    <td valign="top" class="ms-formbody" id="n{position()}{$WPQ}" style="width: 370px">
    </td>
    </tr>
    </xsl:for-each>
    </table>
    </div>
    </td>
    </tr>
    </xsl:when>
    <xsl:otherwise>
    <tr>
    <td class="ms-vb">
    <table class="ms-summarycustombody" cellpadding="0" cellspacing="0" border="0">
    <xsl:call-template name="EmptyTemplate" />
    </table>
    </td>
    </tr>
    <tr>
    <td height="5">
    <img src="/_layouts/images/blank.gif" width="1" height="5" alt="" />
    </td>
    </tr>
    </xsl:otherwise>
    </xsl:choose>
    </table>
    </xsl:template>
    Alla Sanders

    Hi Alla,
    You can show details from web part as pop up window using JavaScript with SP.UI.ModalDialog.ShowPopupDialog(url). Here is a demo you can refer to:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function(){
    var obj1=$("a[id='forum0-NewPostLink']");
    url="http://sp13"+obj1.attr("href");
    //alert(url);
    obj1.removeAttr("href");
    obj1.click(function(){
    openDialogBox(url);
    function openDialogBox(url) {
    var pageUrl=url;
    var title="New Discussion";
    SP.UI.ModalDialog.showModalDialog(
    url: pageUrl,
    autoSize: true,
    title: title,
    dialogReturnValueCallback: function (result){
    if(result== SP.UI.DialogResult.OK){
    //refresh parent window
    window.location.href=window.location.href;
    </script>
    Reference:
    https://social.technet.microsoft.com/Forums/en-US/f18062ed-2e17-440e-8e00-2904f5316802/discussion-board-forum-opens-in-other-page?forum=sharepointdevel
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Pop-out window does not show the video

    I am having a video chat, but the pop-out window does not show the video when the main window is minimized. I have the latest version installed. The same problem happened once a few months ago (with the latest version installed).I searched online for quite a few days, but none of the solutions worked. Then one day the problem went away (mysteriously).   

    Do you have this issue with all your contacts or only contacts using Skype on a Mac computer?

  • Pop-up windows from the portal showing address bar

    Hi,
    I am not sure where to post this thread, but here goes. My client has the CRM web UI which has been integrated into SAP Portal 7.3. I am not aware of how this is done as I am not familiar with CRM.
    The issue being faced is that when a user tries to create a new opportunity etc, the pop-up window opens. But an address bar is seen in the pop-up. This was not appearing when they were on an earlier version of EP.
    I am not sure where I should be looking to remove the address bar. Is this something related to the web UI and not the portal?
    Thanks & Regards,
    Vaishnavi

    Hi,
    Take a look at the following:
    [http://forums.sdn.sap.com/thread.jspa?threadID=1800949]
    [Using iView Parameters to Open Applications in Separate Window|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d2aeb9-5f92-2d10-d38d-ded09c94330d?QuickLink=index&overridelayout=true&48747879654994]
    [http://forums.sdn.sap.com/thread.jspa?threadID=124909]
    Regards,
    Alex

  • Pop up window for a log-on no longer shows up with newest version. Please help

    I have a singlesignon to a work site. A small pop-up window opens when I go to the site so I can log in. Worked great until I installed the latest version of Firefox. This particular site only works with Firefox as well. I contacted IT for the work site and they said the new Mac version of Firefox has done this to several others in the workplace. Any chance you can send me the previous version of Firefox so I can do my required work? Thank you!

    Thank you very much for your reply! I will definitely pass this along to the IT department! Smiling now!

  • When i type the https URL in my FireFox browser version 3.6 to 5.0, i get login pop up window two times. But in IE browser i get only once. Please tell me why FireFox is showing pop up screen two times to enter my uid/pwd. Thanks!

    We have our company internal application which is protected by SiteMinder. When we type https://appname.domain.com in IE i get popup window asking me to enter uid/pwd and works fine. However same URL when i login in FireFox, i get pop up window two times. So i wonder why FF is asking two times instead of just only once.
    Thanks for your help.

    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]

  • Not showing  pop up message window when message type I and W

    Hi,
    My requirement is to show the popup message window with material number, material description and ABC indicator of material at Every line item of PO in Transaction ME21N , if material is significant.
    I find Badi to transaction me21n ME_PROCESS_PO_CUST~PROCESS_ITEM
    actually i want show only information about material.
    This Badi ( ME_PROCESS_PO_CUST~PROCESS_ITEM ) is properly working But does not showing Popup Message window
    when i am using Message Type  'I' or "W" .
    <Coding>
    method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM.
    BREAK-POINT.
    BREAK-POINT.
        IF  SY-TCODE EQ 'ME21N' OR SY-TCODE EQ'ME21' . " ) AND MEPO1211-werks IS NOT INITIAL. " AND IM_LGOBE IS INITIAL.
       BREAK-POINT .
      DATA : VAR_MAKTX TYPE MAKT-MAKTX.
      DATA : VAR_MAABC TYPE MARC-MAABC.
      DATA : P TYPE STRING.
      DATA : P1 TYPE STRING.
    DATA: ls_mepoitem1 TYPE mepoitem,
          ls_header_obj TYPE REF TO if_purchase_order_mm,
          ls_header   TYPE mepoheader,
          lc_werks(1) TYPE c,
          lv_fabkl    TYPE t001w-fabkl,
          lv_plifz    TYPE ekpo-plifz.
       *Get header data
      ls_header_obj = im_item->get_header( ).
      ls_header     = ls_header_obj->get_data( ).
    *Get Item Data
    ls_mepoitem1 = im_item->get_data( ).
        SELECT SINGLE MAABC FROM MARC INTO VAR_MAABC WHERE matnr EQ ls_mepoitem1-matnr AND werks EQ    ls_mepoitem1-WERKS.
        SELECT SINGLE MAKTX FROM MAKT INTO VAR_MAKTX WHERE matnr EQ ls_mepoitem1-matnr.
          IF   VAR_MAABC EQ 'A'.   "LS_MEPOITEM1-SPINF EQ 'A'.
            P = 'is significant material'.
            CONCATENATE  LS_MEPOITEM1-MATNR '' '(' VAR_MAKTX ')'  '' P INTO P1.
           MESSAGE p1 type 'I' .   
            EXIT.
            ENDIF.
            ENDIF.
    endmethod.
    guide me.....

    Hi
    Please, see SAP Note 310154 - ME21N/ME51N: Customer-specific check, generating error log
    I hope this helps you
    Regards
    Eduardo

  • In email, hovering over sender's Name, use to popped up window to show all previous emails. Not anymore

    In email, one could hover over the Name of the Sender. Then in a pop up window one could select "email" which would list all previous messages to and from the Sender. This option has stopped working.

    Check the form data setting:
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": "Remember search and form history"
    *https://support.mozilla.org/kb/Form+autocomplete
    Websites may be using autocomplete=off to prevent Firefox from saving and filling form fill data.
    You can remove autocomplete=off with a bookmarklet to make Firefox save names and passwords and other form data.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered

  • Pop-up window doesn;t show up when doing log in procedure for wifi

    Hi,
    I am at an hotel for 5 days in Tokyo and got access to wifi. Works fine on my PC: I open my browser, enter the access code, it opens a new window for finale confirmation and yes I am connected.
    I tried to do it with my iPhone too (as I am trying to avoid paying huge 3G fees to AT&T): I select the wifi network, it launches the log in window. I enter the access code, validate and then nothing. The pop-up window that appeared on my PC doesn't appear on my iPhone. I tried to enable pop-ups on Safari but it has no impact.
    Can you help me there (ASAP if possible)?

    Your guess regarding fonts is right: most likely some system font is missing.  It is often a missing Segoe font that causes this.

  • Occasionally, when I try to do a Google search, numerous "opening search" pop-up windows appear. I cannot continue typing in my search until I've closed all of these pop-up windows. How do I stop them from EVER popping up again?!

    They are small pop-up windows. When I start entering in keywords to search, ever so often, these things pop-up and not just one. Many of them. Popping one upon another upon another upon another. I cannot enter anything new into the Google search box until I have closed all of these windows. And, commonly, numerous ones of them will pop up again when I enter in the next letter in my search.
    This is what it says in the pop-up box:
    Along the top it says in the light blue margin "Opening search"
    Under the above and in a white box it says:
    "You have chosen to open
    [a Windows symbol] search
    which is a: application/json
    from: https//www.google.com
    Then on the outline of an inner box, it reads "What should Firefox do with this file?" and it gives the following options:
    Open with ["Browse" button]
    DownThemAll!
    Save File [This one is checked as the default]
    Then a check-off box with the text next to it: "Do this automatically for files like this from now on.
    Under that is an "OK" button that is gray and cannot be checked and a "Cancel" button that can be. I have never done either but used the "X" in the upper right corner of the box to close out this window.
    Now I see I have limited options for "This happened" for frequency. It isn't every time Firefox is opened but it is FAR more frequent than "A few times a week". More like several times a day.

    See https://bugs.downthemall.net/ticket/2147
    Google Search Bug
    Reported by: openid:nathan wride Owned by:
    Priority: major Milestone:
    Component: Polish/Usability Version: 2.0.10
    Keywords: Google search instant save bug Cc:
    Operating System: Windows
    Description
    Hi Guys
    I have found a bug/annoying thing that occurs frequently on google. When searching, DTA trys to download the search...
    I'll try to attach a screenshot.
    Attachments
    [https://bugs.downthemall.net/attachment/ticket/2147/Screenshot.png Screenshot.png] Download (113.0 KB) - added by openid:nathan wride 4 weeks ago.
    The screenshot that shows the bug.

  • How to display check box in the search help restriction pop-up window

    Hi Experts,
    I have created one searc help with dialog value restrictions. Search help contains 4 fields.
    Out of which one field has length one character.
    As oon as user press on F4 on particular field, it will display pop-up window with restrictions and displayed 4 fields.
    I would like to show that field ( one character length field) as check box in search help restrictions pop-up window.
    Pls help me ,... How can we acheive this..
    Thanks
    Raghu

    Ur Exact Requirement,
    Types : begin of itab,
         fields type c,
         Check type c,(For Check Box)
         end of itab.
    data it_tab type standard table of itab.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_input-low.(If it is in select-options)
      CLEAR  v_input.
      GET CURSOR FIELD s_input VALUE  v_input.
      CALL FUNCTION 'AIPC_CONVERT_TO_UPPERCASE'
        EXPORTING
          i_input  = v_input
          i_langu  = sy-langu
        IMPORTING
          e_output = v_input.
      CLEAR s_input-low.
      IF v_input NE '' .
        IF v_input NE '?'..
          v_input1-sign = 'I'.
          v_input1-option = 'CP'.
          v_input1-low = v_input.
          APPEND v_input1.
        ENDIF.
      ENDIF.
    SELECT DISTINCT   Field
                      FROM Table
                      INTO TABLE it_tab
                      WHERE field IN v_input.
    CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
              EXPORTING
                i_title                 = 'Select Colors'
               i_selection             = 'X'
                i_zebra                 = 'X'
                i_screen_start_column   = 5
                i_screen_start_line     = 5
                i_screen_end_column     = 30
                i_screen_end_line       = 12
                i_checkbox_fieldname    = 'CHECK'
                i_tabname               = 'IT_TAB'
                i_scroll_to_sel_line    = 'X'
                it_fieldcat             = it_fieldcat1
                i_callback_program      = sy-repid
                i_callback_user_command = 'USER_COMMAND1'
              IMPORTING
                es_selfield             = selfield
              TABLES
                t_outtab                = it_tab
              EXCEPTIONS
                program_error           = 1.
    Cheers,
    Naveen

Maybe you are looking for

  • Accessing variables and functions between loaded external swfs?

    Using AS 3.0: Say I have a menu.swf that loads a content.swf below it using the following var newContent:Loader = new Loader(); newContent.load(new URLRequest("fowContent.swf")); addChildAt(newContent,0); Now say I have a frame label in newContent th

  • Assistance with reading the contents of a file, taking some of these contents to make a new file

    Hello, I have mulitiple .txt files in a folder each with the following type of Move-ClusterGroup instructions for each VM in our cluster: Move-ClusterGroup "SCVMM MYVM1 Resources" -Node HYPERVA01 Move-ClusterGroup "SCVMM MYVM2 Resources" -Node HYPERV

  • SOS!Serialization/Deserialization in Web Services!!!!!

    Hello, I have done some serialization/deserialization jobs before which is just about JavaBeans, but when it comes to Object Arrays, errors occured when the problem become more complex.Suppose I have an Object Array called params, nd params[0] is a J

  • Server DNS record automatically deleted

    We built a new file server 10 days ago. When we set it up it would have gotten a dhcp address which then we converted it into having a static ip address. 8 days later the DNS Record for the server automatically got deleted. This was not setup as a st

  • Repeating Artists Problem

    in the Artists menu of my iPod, it shows some artists on my ipod twice. i noticed that it only shows repeating artists for artists who have an album that has another artists name (i.e. a CD by queen, which has Under Pressure by David Bowie & Queen).