Dialog Boxes in Web Dynpro

Hello All,
Am new to WD and am practising the Dialog Boex program in Web Dynpro from help pages, link => http://help.sap.com/saphelp_nw2004s/helpdata/en/14/c897427f18d06ae10000000a155106/frameset.htm
Am am stuck at the this point -> http://help.sap.com/saphelp_nw2004s/helpdata/en/14/c897427f18d06ae10000000a155106/frameset.htm
Referring to the above link, am unable to understand what <b>node attributes does the EmaiSettings ValueNode consist of</b>? Dues to this am unable to proceed further.
Please guide.
Awaiting Reply.
Thanks and Warm Regards,
Ritu
Message was edited by: Ritu  Hunjan

Hi,
  As Sathyajith said this context structure is binded to the inputfield from,to,subject and message.
When u click the To button, the address popup opens and on the action of the radio button selected it call the method of the component controller and that method will fire the event and this event is handled in the email view. Since the Adressbook-->mail is mapped to the email view, the toadress is readily available. And they are setting through code
wdContext. currentEmailSettingsElement().setToAddress(
wdContext.currentAddressbookElement().getEmail());
U can download the ready to use application and learn it easily
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/f1cfe990-0201-0010-22ac-dbe4cbdef504
Hope this helps,
Regards,
Vijayakhanna Raman

Similar Messages

  • How to create Information Dialog boxes in web Dynpro

    Hi,
    'm new to webdynpro.
    Can any body help me to create a dialog box.
    I would like to know how to create dialog boxes of type information, confirmation and warning
    expects reply
    thanks
    smitha

    to create confirmation dialog I tried the code
         IWDControllerInfo controllerInfo = wdControllerAPI.getViewInfo().getViewController();
        String dialogText = "The email was successfully sent!";
        IWDConfirmationDialog dialog =wdComponentAPI.getWindowManager().createConfirmationWindow( dialogText, controllerInfo.findInEventHandlers("ok"), "ok");
        dialog.addChoice(controllerInfo.findInEventHandlers("newEmail"), "new email");
        dialog.open();
    and I got error like:
    java.lang.NullPointerException
         at com.sap.tc.webdynpro.clientserver.window.ConfirmationDialogDelegate.<init>(ConfirmationDialogDelegate.java:58)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createConfirmationWindow(ClientComponent.java:926)
         at com.enteg.systallocpkg.LoginView.onActionLogin(LoginView.java:157)
         at com.enteg.systallocpkg.wdp.InternalLoginView.wdInvokeEventHandler(InternalLoginView.java:137)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:100)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:299)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:635)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    I don't know how to solve this
    can any body help me
    Smitha

  • Change File Name In The "File Download" Dialog Box For Web Reports

    Hi All ,
    I followed the below note to change the "File Download" name.
    How To Change The File Name In The "File Download" Dialog Box For Web Reports? Doc ID: Note:418366.1
    However its not working. Has anyone tried this and works fine ?
    Basically I wanted to change the name "rwservlet" when a report is run in an
    excel format.
    Rajesh Alex
    Rajesh Alex

    Hello,
    Have you checked if a HTTP header "Content-disposition" is returned ?
    You can use ieHTTPHEaders for IE
    http://www.blunck.se/iehttpheaders/iehttpheaders.html
    and
    Live HTTP Headers for FireFox
    https://addons.mozilla.org/en-US/firefox/addon/3829
    Regards

  • Calling windows dialog box in web based Forms6i application

    Hi !!
    I have develop a form in form6i. On pressing a button(on the form) windows OPEN FILE dialog box appears,from this user choose the required file.
    I m using the GET_FILE_NAME built in for this purpose and it is working in client server mod.
    The problem is it does not work when I post the form on web or run it in web.

    This will not work on the web. If you want to present the use with a file dialog box this will have to be done using a java bean.
    Regards
    Grant Ronald.

  • How to prevent upload protected area dialog box for Web application

    We ported our Java application to run on Netweaver CE 7.2.  We have our own login page that performs its own authentication.  When we try to login, we are presented with our login pagee but after entering the username and password, we get the following u201CUpload Protected Areau201D login dialog from Netweaver.  How do we prevent this?  We have set the login auth method as u201Cbasicu201D for the login-config in the web.xml.  We also tried to set it to "form" but then after login we get a 404 error.
    Lastly, we tried to diable the PUT protection as per thread prompt username and password for "Upload Protected Area" in web appl but this did not help either.
    Thanks for your help!

    Well, this didn't come up in Google Searches initially and I'm not finding the search feature here at Adobe.com to be very useful.  Actually, I can't even seem to see one for the forums...
    Anyways this seems to cover the issue: http://blogs.adobe.com/dmcmahon/2012/07/27/adobe-reader-cannot-open-protected-mode-due-to- a-problem-with-your-system-configuration/
    Which helps explain why it became a problem for my deployment.  I'm suspecting that its a problem with Kaspersky Anti-Virus 2010 needing to have an exception for AcroRd32.exe.  I hate to do it given its an infection path but we do what we must.  I will update this post once I have verified that this is what the issue is.

  • Check Box In Web Dynpro ALV

    Hi Experts,
                             I had an Issue,I inserted a Check Box in ALV.When I checked it ON_CELL_ACTION event is triggered its fine,but in the view the check in the Check Box does not remains..????

    I would make sure you aren't rebinding the context data that is mapped to the context on each event.  Are you perhaps doing some processing in the WDDOMODIFYVIEW?  What is the coding that you have in the event handler?

  • Comment Box in Web Dynpro Screen

    Hi Friends,
    We have developed a portal using webdynpro.
    Where we need to bring user comments from ECC, which are provided through java portal.
    Please suggest me in designing comment box(Feedback long text) and displaying the data.
    Which UI_element I need to use.
    Thanks in advance.
    Regards,
    Praveen G.V.S

    Praveen,
    You can use TEXT_EDIT UI element to display long text of more than 255 chars. OR
    Create text using SO10 transaction(SCRIPT text) and then READ_TEXT. u can use the UI Element FormattedTextView.
             data : ls_header type thead,
               lt_lines type standard table of tline,
               lr_fm  type ref to cl_wd_formatted_text.
      call function 'READ_TEXT'
        exporting
          client                  = sy-mandt
          id                      = 'ST'
          language                = 'E'
          name                    = (name of the standard text)
          object                  = 'TEXT'
        importing
          header                  = ls_header
        tables
          lines                   = lt_lines
        exceptions
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          others                  = 8.
      lr_fm = cl_wd_formatted_text=>create_from_sapscript( sapscript_head = ls_header
                                                           sapscript_lines = lt_lines ).
      WD_context->set_attribute( name = 'FOOTER' value = lr_fm->m_xml_text ). 
    Hope it will resolve your issue.
    Thanks
    Katrice

  • Movable Dialog boxes

    Is there a way to create movable dialog boxes in Web dynpro within the same application using wdComponentAPI.getWindowManager() ?
    Like a new iView window in a dialog box or a confirmation dialog box that can be moved around manually by the user?

    Hi Faraz,
    This is only possible in CE 7.1.
    If you're using an older version, you may have to create and external window.
    Regards,
    Marshall.

  • Implement own personalization dialog for Web Dynpro iView

    How can I implement an own personalization dialog for a Web Dynpro iView? It should open a popup window and in it a internet url.

    Check this thread https://forums.sdn.sap.com/click.jspa?searchID=954028&messageID=2300962
    Regards, ANilkumar

  • ABAP web dynpro Debugger

    I want to know how to debugge for AWD.
    I know the normal one, which you set the break point and so on.
    My point to to run Web Dynpro Debugger

    hi Ali ,
    The functions for debugging Web Dynpro entities are embedded in the new debugger. You therefore need to have selected the new debugger in your Workbench settings.
      Selecting the New Debugger
           1.      In the menu, choose Utilities -> Settings.
           2.      A dialog box now appears that contains two nested tab page areas. Choose the u201Cparentu201D tab page ABAP Editor.
           3.      The settings for ABAP Editor always open with the content of the child tab page Editor. Here, select Front End Editor (New).
           4.      Now switch to the Debugging tab page in the ABAP Editor settings and select New Debugger.
           5.      Save your changes and close the dialog.
    reference :
    Debugging Web Dynpro ABAP Applications
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/95a6c84f7c60b7e10000000a11466f/content.htm
    pls refer the useful article :
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30;jsessionid=(J2EE3414700)ID1604793850DB11193400944542901527End
    as well
    regards,
    amit

  • Web Dynpro Dialog Box / Modal Window is not working properly on firefox

    Hi All,
    We are having problems with Web Dynpro Dialog Box / Modal Window in Firefox.  Dialog Box / Modal window won't show up properly on. They look like transparent windows. Our server is Netweaver 7.0 SP 19.
    Same code is working fine in Internet Explorer. Please advise on this. Below is the code I am using.
    Modal Window:
    IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("SomeWindow");
    IWDWindow sampleWindow = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
    sampleWindow .show();
    Confirmation Dialog Box:
    IWDWindow dialogBox = wdComponentAPI.getWindowManager().createConfirmationWindow(
    "Click OK to save data", IPrivateSampleView.WD_EVENTHANDLER_ON_ACTION_SAVADATA, "OK");
    dialogBox.show();
    Thanks
    Sreekanth

    Hi,
    Maintenance and Availability of SAP NetWeaver 7.0 [original link is broken]
    Last Item:
    Product Availability Matrix
    SAP NetWeaver 7.0 Product Availability Matrix   (SMP login required)
    Application Server - Java
    FIREFOX 2.0  LINUX REDHAT EL3/IA32 32BIT  Released  01.04.2008     
    FIREFOX 2.0  LINUX REDHAT EL4/IA32 32BIT  Released  01.04.2008     
    FIREFOX 2.0  MAC OS X 10.2  Released  01.04.2008     
    FIREFOX 2.0  MAC OS X 10.3  Released  01.04.2008     
    FIREFOX 2.0  MAC OS X 10.4 (TIGER)  Released  01.04.2008     
    FIREFOX 2.0  SUSE LINUX 10.1  Released  01.04.2008     
    FIREFOX 2.0  SUSE PROFESSIONAL 9.3  Released  01.04.2008     
    FIREFOX 2.0  SUSE SLED 10  Released  01.04.2008     
    FIREFOX 2.0  WIN 2000 PROF.  Released  01.04.2008     
    FIREFOX 2.0  WIN VISTA 32-BIT  Released  01.04.2008     
    FIREFOX 2.0  WIN XP 2002 HOME 32-BIT  Released  01.04.2008     
    FIREFOX 2.0  WIN XP 2002 PROF. 32-BIT  Released  01.04.2008     
    FIREFOX 2.0  WINDOWS SERVER 2000/IA32 32BIT  Released  01.04.2008     
    INTERNET EXPLORER 6.0  WIN 2000 PROF.  Released  01.02.2006     
    INTERNET EXPLORER 6.0  WIN XP 2002 HOME 32-BIT  Released  01.02.2006     
    INTERNET EXPLORER 6.0  WIN XP 2002 PROF. 32-BIT  Released  01.02.2006     
    INTERNET EXPLORER 6.0  WINDOWS SERVER 2000/IA32 32BIT  Released  01.04.2008     
    INTERNET EXPLORER 7.0  WIN VISTA 32-BIT  Released  01.04.2008     
    INTERNET EXPLORER 7.0  WIN XP 2002 HOME 32-BIT  Released  01.04.2008     
    INTERNET EXPLORER 7.0  WIN XP 2002 PROF. 32-BIT  Released  01.04.2008   
    Hope it helps
    Regards,
    Daniel

  • [ALV] Save as dialog box is - in fact - Save as Web Page

    Hi,
    When exporting ALV to Excel from a Web Dynpro application, the Excel file opens correctly.
    But, upon calling the "Save as" entry, the dialog box is not the expected one: it is the Save as Web page one.
    Although I tried to change Excel format using the standard report SALV_BS_ADMIN_MAINTAIN, I didn't succeed in changing this.
    Could someone point me on a customizing point I missed or a resource by Microsoft dealing with this aspect?
    Many thanks in advance.
    Best regards,
    Guillaume

    Hi,
    you may want to refer Note 1590484 - ABAP ALV: SALV_BS_ADMIN_MAINTAIN issues in 7.02, 1080608 - Defining ABAP ALV export format for spreadsheet and also some related notes wrt these notes.
    Thanks,
    Chandra

  • How can I disable "download error" dialog box when saving a complete web page?

    Sometimes, when I try to save a web page as type: "Web Page, complete", firefox displays download error dialog box stating a file "could not be saved, because the source file could not be read."
    I don't have a problem with firefox couldn't save that file, but I have a problem with firefox displaying that dialog box, because I have to click OK everytime.
    Is there a way to disable that annoying dialog box?

    I modified the host file mainly to block ads. But that's not the problem. It's OK for me for firefox to not saving some parts of a page (ads usually within a frame). It's my intention to NOT saving those files. I just want to save the main content of a webpage.
    But I'm having a problem with firefox displaying the dialog boxes.

  • How to Change a Default Value from Drop Down Box displayed in Web Dynpro?

    Hi,
    How to Change a Default Value from 'High' to 'Low'  in a Drop Down Box for RANGE field displayed in Standard Web Dynpro Component.  I saw a Default Value set for a RANGE field  in View Context When I select that field and click on Display. I am seeing Default Value set it to 'HI'. Please let me know how to change from HIgh to Low.
    I appreciate your help!
    Thanks,
    Monica

    hi,
    use the set_attribute( ) method now to set the attribute with a particular key eg HIGH in ur case
    // u can use the code wizard( control +f7) this code will be auto generated when u select the
    //radio button to read the context node
    DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
      DATA ls_cn_node TYPE wd_this->element_cn_node.
    * navigate from <CONTEXT> to <CN_NODE> via lead selection
      lo_nd_cn_node = wd_context->get_child_node( name = wd_this->wdctx_cn_node ).
    * get element via lead selection
      lo_el_cn_node = lo_nd_cn_node->get_element(  ).
    * set single attribute
      lo_el_cn_node->set_attribute(
          name =  `ATTribute name.`
          value = 'LOW' ).
    it will solve ur query ..
    also refer to this component
    wdr_test_events -> view dropdownbyidx and dropdownbykey ->method name onactionselect.
    regards,
    amit

  • Save for Web does not open dialog box in PS Elements 8 for Mac

    After opening an image and selecting Save for Web, the Save for Web dialog box fails to appear. I've seen similar reports for PS Elements 6 for Mac, but did not find the same files in those directories. Running iMac with OS 10.6.

    There are many things that only work in an admin account, but if you're willing to take the trouble, you can change the permissions to allow them to work in a standard account. See:
    http://forums.adobe.com/thread/362899
    Note that it's pretty important to run Save for Web one time in the admin account after changing the permissions or it still won't work in the standard account.

Maybe you are looking for