How create a PopUp in a WebDynpro CO???

hi all,
I am trying to create a PopUp in a Web Dynpro CO, but not work for me...
try this:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20d2def3-f0ec-2a10-6b80-877a71eccb68
but it does not work, How can I fix this?
Thanks!

Hi,
     Can you give some more information on this.Are you getting any exception?

Similar Messages

  • How to display popup messages in webdynpro

    Hi all,
                I have an application which has continue button.if the userclicks on this button a pop has to come with the msg as "Do u want to continue" ..followed by Yes and No....
    how to show popup msgs in my webdynpro application
    Regards
    Padma N

    Hi! padma,
      please go through the following tutorial, you will get a good idea..
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#23">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#23</a>
    you need to create an object of IWDConfirmationDialog and also the eventHandle.
    regards,
    Mithileshwar Sahu

  • How to create popup in ABAP webdynpro.

    Hi,
    I found lot of examples to create a popup/ model window for java webdynpro.
    Could anyone give a pointer to an example which explains how to create popup in ABAP webdynpro??
    Kind Regards
    Shahul

    Hi Thomas:
    It worked fine the 1st time. Second time when the user clicks on the button to open up the popup it dumps.
    Here is the code in the action for popup:
    data: l_cmp_api type ref to if_wd_Component,
            l_window_manager type ref to if_wd_window_manager,
            l_api type ref to if_wd_View_controller,
            l_text type string_table.
      l_cmp_api = wd_comp_controller->wd_get_api( ).
      l_window_manager = l_cmp_api->get_window_manager( ).
      if wd_this->m_popup is initial.
        wd_this->m_popup = l_window_manager->create_window(
                 window_name = 'DOCQSOW'
                 button_kind = if_wd_window=>co_buttons_ok
                 message_type = if_wd_window=>co_msg_type_none ).
               component_usage_name = 'DOCQUERY_USAGE_1'
        l_api = wd_this->wd_get_api( ).
        wd_this->m_popup->subscribe_to_button_event(
              button = if_wd_window=>co_button_ok
              button_text = 'Transfer'
              action_name = 'POPUP_CLOSED'
              action_view = l_api  ) .
        wd_this->m_popup->SET_REMOVE_ON_CLOSE( abap_true ).
       endif.
      wd_this->m_popup->open( ).
    Second time when the popup tries to open, I get the following error:
    Method: RENDER_WINDOW of program CL_WDR_WINDOW_RENDERER========CP
    Method: RENDER_WINDOW of program CL_WDR_CLIENT_SSR=============CP
    Method: RENDER_POPUP_WINDOWS of program CL_WDR_CLIENT_SSR=============CP
    Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CP
    Method: IF_WDR_RESPONSE_RENDERER~RENDER_VIEWS of program CL_WDR_CLIENT_SSR=============CP
    Method: IF_WDR_RESPONSE_RENDERER~RENDER_USER_INTERFACE_UPDATES of program CL_WDR_CLIENT_SSR=============CP
    Method: IF_WDR_CLIENT~SEND_RESPONSE of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_WDR_CLIENT~SEND_RESPONSE of program CL_WDR_CLIENT_SSR=============CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Is there a way to destroy the instance of the m_popup?
    Any help is appreciated!
    Thanks

  • How to create a popup in an ADF train taskflow?

    I have a Train taskflow. Then i create a popup window in one of the buttons. When i run the JSF as an independent page, the popup works. But when i run the taskflow, the popup doesn't work.
    Is it a bug or is there some way to create a popup in a train.
    i have created the popup like this:
    1. i have created a control flow between the main JSF and popup page
    as dialog:Add.
    2. And in the button in the parent window, i have made the usewindow to true and action to dialog:Add.
    Any kind of helf would be very helpfull.

    Hey Pavle,
    You always ask the most interesting questions. ;) See my answers inline.
    <p>
    How to include another JSFF/JPSX in Rich dialog (beside inclusion of another region)?
    </p>
    <p>
    <b>Ric:</b> You can include a JSFF/JSPX using the jsp:include tag and a subview. Note that you will not be able to use ADFm within the fragments.
    </p>
    <p>
    If there is no other way than inclusion of region, how to make that new region "transaction-free" (as usually the pop-ups are for read-only operations and overhead of TaskFlow transaction is unnecessary). Generally, how to make Task Flow without transaction (if transaction imposes significant overhead – I'm not sure). (the documentation on Task Flows is unfinished in TP). And, finally, if there is no possibility of including JSFF without creating task-flow, is it possible to propose extension to ADFc allowing single JSFF to be included in region without explicitly defining task-flow for that single fragment.
    </p>
    <p>
    <b>Ric:</b> I think the above suggestion should work for static cases. However, if you
    are using bindings then the regions is the only approach available. This is not as heavy-wieght as it would appear. There is a way for regions or bounded taskflows to share datacontrols with with the parent page, which alleviates the concern of additional transactions. This feature can be found in the next preview. Note, this does not prevent you from defining a single page taskflow--in the one page case. I would like to see the feature extended so that if a region contains a single jsff reference there is no need to define an additional taskflow config file.
    </p>
    Thanks,
    Ric

  • Procedure to how to create a pop up in webdynpro

    hi all,
      will anybody guide me the procedure to how to create a pop up in webdynpro application..plz as am new to it and i had requirement of creating pop up window in starting the application.
    thanks in advance.

    hi suman,
    thanks for ur reply.
    i want my pop up when i clk on button ok on my 1st view.
    so i included the code in the method of ONACTION OK.
    but am not able to display any sort of pop up.
    my code is
    DATA lo_nd_node TYPE REF TO if_wd_context_node.
          data: lr_popup type ref to if_wd_window,
            lr_view_controller type ref to if_wd_view_controller.
    data lo_window_manager type ref to if_wd_window_manager.
    data lo_api_component  type ref to if_wd_component.
    data lo_window         type ref to if_wd_window.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window         = lo_window_manager->create_window(
                       window_name            = 'WW_POP'
                      title                  = 'my first message'
                      close_in_any_case      = abap_true
                       message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                      close_button           = abap_true
                       button_kind            = if_wd_window=>co_buttons_ok
                       message_type           = if_wd_window=>co_msg_type_none
                       default_button         = if_wd_window=>co_button_ok
    lo_window->open( ).
    will u help me out in this.

  • How to create a popup window to load HTML page in AIR application without using any mx or spark?

    How to create a popup window to load HTML page in AIR application without using any mx or spark components?
    I need to load the HTML page in popup in AIR application without using any of the <mx> or <spark> components. I need to open in the application itself not in the browser.(If we use navigateToURL() it will open in th browser)

    Can we achieve this? can somebody help me on this scenario..

  • How to create a popup windown with javascript?

    Hi, every one,
    I made a jsp program. I know we can use win.open, win.close to create, to close a popup window with javascript. But I don't know how to create a popup window ,display some message on this window and there is a button on it for closing this window. Just like follows:
    int mark;
    if(mark==1){
         create popup window, display some message, there is a
    button and click it to close this window.
    } else {
         display error message.
    Any one can help me?
    Thanks in advance.
    peter

    Hi, bdtjdc,
    Thank you for your help and kindness.
    You know, I am a new one in javascript. So,
    1, I only know how to use alert(message) on current page and I don't know how use alert(message) on the next page because I
    need to pass some datas from current jsp page to next one.
    2, when I use the code you gave me as follows, there is no popup window and button:
    if(mark==1){
    %>
    <script language="JavaScript">
    message=message+'enter your message here...<br>';
    message=message+'<form name="form1"><input type="button" name="close" value="close window"
    onClick="window.close()"></form>';
    message='enter your message here...<br>';
    var actwin=window.open("","","menubar=0,width=300,height=300");
    actwin.document.write(message);
    actwin.document.close();
    actwin.focus();
    </script>
    <%
    } else {
    error message;
    if I use the code like this, We have the window and message on it, but there is no button on the window.
    if(mark==1){
    %>
    <script language="JavaScript">
    message='enter your message here...<br>';
    var actwin=window.open("","","menubar=0,width=300,height=300");
    actwin.document.write(message);
    actwin.document.close();
    actwin.focus();
    </script>
    <%
    } else {
         error message;
    What's the problem? Please.
    Thanks again.
    Peter

  • How to create a popup window that shows detail information when press submi

    hi,all
    how to create a popup window that shows detail information when press the submit button ?I mean,when I press the button "Sumit"there will appear a popup window that shows the detail information you typed before.it means are u sure to submit,it is like some confirmation window.
    how to do achieve this ?help plz .
    best regards
    hlee
    Edited by: hlee on 2011-4-15 上午1:26

    hey,vee
    thanks for your response,but i had already read this thread before i put up a new question.any way,thanks.
    best regards
    hlee

  • How to create a calender view in webdynpro java EP 7.0

    Hi ,
    I want to create a calender view in webdynpro,
    Requirments are
    1. it should be current month view
    2. Below each day i want to show office in-time and out-time in two cloumns(these values will be coming tru RFCs).
    ie
    1
    10am | 4pm
    Is this possible in webdynpro java EP 7.0 ?
    Please help me
    Thanks
    Kumar

    Hi Kumar,
    If you are using EP7.0, there is no calendar UI element in webdynpro development. There is only date navigator UI element. This is demonstrated in the below article.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059344a-1930-2d10-6e8a-dcec5f94993e?quicklink=index&overridelayout=true
    Regards,
    Ganesh N

  • How can I create a popup panel in a CVI DLL and keep it on top of the calling TestStand applicatio​n window?

    When I create a panel in CVI and use InstallPopup() to display it, the user can set the focus to the main TestStand window, which causes my popup to disappear underneath it.
    I'm guessing I need the popup to be a child window of the main application window.  I've tried passing the Engine.AppMainHWnd handle as the parentHandle argument in LoadPanelEx(), but this causes an error, as it is not a valid handle.
    Also, if I call another DLL function from a control callback within my popup, which creates another popup, on closing the second popup both disappear and the program is stuck in the RunUserInterface() of the first popup.
    This seems a simple requirement, yet I don't seem to be able to find a straightforward way to achieve it.

    Steve,
    I think this is more a TestStand question than a CVI question.
    To use a CVI popup with TestStand, you should call TS_StartModalDialog() before InstallPopup().
    When you quit your popup panel, you should call RemovePopup () and then TS_EndModalDialogAndDiscard().
    The TSModalData must be the same for Start and End Modal dialog.
    Bruno

  • How to create a popup with link without creating any screen

    Hi experts,
    Is the any function module or way to create a popup with a link inside (for e.g. to forums.sdn.sap.com)?
    I do not want to create any screen and call that screen.
    Thanks,
    Khanh

      CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
        EXPORTING
          TITEL        = 'Title POPUP_TO_DISPLAY_TEXT'
          TEXTLINE1    = 'Message to display'
          TEXTLINE2    = ' '
          START_COLUMN = 25
          START_ROW    = 6.
    CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE'
    EXPORTING
      DEFAULTOPTION        = 'Y'
       DIAGNOSETEXT1        = 'This is Testing'
      DIAGNOSETEXT2        = ' '
      DIAGNOSETEXT3        = ' '
      TEXTLINE1            = 'Do You want to Exit'
      TEXTLINE2            = ' '
       TITEL                = 'POPUP_TO_CONFIRM_WITH_MESSAGE'
      START_COLUMN         = 25
      START_ROW            = 6
    *----for the display of cancel button  do like this.
      CANCEL_DISPLAY       = ' '
    IMPORTING
      ANSWER               = ANS
      IF ANS = 'J' .
    *---put code on selecting yes
      ELSE.
    *---put code on selecting no
      ENDIF.

  • How do you create a popup in sharepoint within a content editor?

    I need to create a popup in sharepoint 2007 by clicking on a link within a content editor.
    thanks

    Hi,
    In SP 2010, Select Contents in CEWP, Format--> Html Source in the ribbon,
    Add the javacript code 
    <script type="text/javascript">
         function OpenDialog(URL) {
             var NewPopUp = SP.UI.$create_DialogOptions();
             NewPopUp.url = URL;
             NewPopUp.width = 700;
             NewPopUp.height = 350;
            SP.UI.ModalDialog.showModalDialog(NewPopUp);
     script>
    <a onlick=”javascript:OpenDialog(‘/sites/alr/SitePages/Reservation.aspx’)” >Show</a>-To
    Make it Server relative.
    So that Dialog box opens anywhere in site collection
    Regards, Sreekanth Reddy M

  • How to create a popup help page in html db

    i'm trying to create a popup up help page in html db by having a help button from the main page and when clicked a popup page will appear... but can't seem to get it working...
    can somebody pls help me? thanks a bunch!!

    Hi Denes ,
    Need some more suggestion from you .
    I have incorporated your popup code in navigation 'Logout' link.
    Now after clicking on that the popup page appears fine .
    But i like to include two button in that popup page such a way that --
    after clicking 'Confirm Logout' button some database updation has been done and the child popup page unloads,but the parent page redirect to login page.But if cancel pressed then only child popup page unloads and no database action will will be carried out .
    Could you plz help on this .
    Cheers,
    Rosy

  • How can we create a popup window for confirmation while clicking of button

    HI Friends,
    I am creating a application, In which I want to create a popup window for confirmation on clicking of a button.
    I also need two buttons on popup window i.e. 'Yes' & 'No'.
    On yes i want to perform some operation and on No i want to cancel that operation.

    Hi Narendra,
    try using the following code in ONACTION of ur button for popup :
    * Popup
       *  Generate Popup
        DATA lo_window_manager TYPE REF TO if_wd_window_manager.
        DATA lo_api_component  TYPE REF TO if_wd_component.
        DATA lo_window         TYPE REF TO if_wd_window.
        lo_api_component  = wd_comp_controller->wd_get_api( ).
        lo_window_manager = lo_api_component->get_window_manager( ).
        lo_window         = lo_window_manager->create_window(
          window_name          = 'W_POPUP'
         window_position = if_wd_window=>co_center
          message_display_mode = if_wd_window=>co_msg_display_mode_selected
          button_kind          = if_wd_window=>co_buttons_yesno
          message_type         = if_wd_window=>co_msg_type_none
          default_button       = if_wd_window=>co_button_yes
        DATA:  l_api TYPE REF TO if_wd_view_controller.
        l_api = wd_this->wd_get_api( ).
        " subscribe action for Ok button
        lo_window->subscribe_to_button_event(
                     button            = if_wd_window=>co_button_yes
                     action_name       = 'OK_POPUP'
                     action_view       = l_api
                     is_default_button = abap_true ).
        lo_window->open( ).
    regds,
    amit

  • How to create interrelated dropdowns in java webdynpro

    In my screen i have to populate some values in the 1st dropdown once after selecting item from this dropdown i have to populate values in 2nd dropdown
    how can i do it  in webdynpro?

    hi,
    refer the following thread which is similar to your query.
    Dependable Dropdown boxes
    Re: Dependable Dropdown boxes.
    selected option of a dropdown list to avtive another dropdown list?
    Get selected value in Dropdown list
    Dropdown list
    Thanks
    Abhilasha

Maybe you are looking for