How to remove NO Button on dialog page

Hello friends,
i want to remove no button on my dalog page how to do? my code is below , below this code still i can see on dialog page no button.. can any one help me out..
OADialogPage dialogPage = new OADialogPage(OAException.WARNING,descMesg, null,"" ,"" );
dialogPage.setOkButtonLabel("ok");
dialogPage.setOkButtonItemName("YesButton");
dialogPage.setOkButtonToPost(true);
dialogPage.setPostToCallingPage(true);
System.out.println("Entering To Delete");
pageContext.redirectToDialogPage(dialogPage);
Thanks
krish.

You can specify your own button bar with the required buttons.
Extract from Developer's guide.
The setFooterNestedRegionCode and setFooterNestedRegionApplicationID methods in the OADialogPage class have been deprecated.
If you use the standard OK/NO buttons provided on the dialog page, you do not need to make any changes.
However, if you are using the OADialogPage.setFooterNestedRegionCode and OADialogPage.setFooterNestedRegionApplicationID methods to render customized buttons under the footer region, you must update your code to use the new method OADialogPage.setPageButtonBarRegionRefName instead. This new method lets you set a reference to a page button bar region, built declaratively with OA Extension. You can add any number of custom buttons to the page button bar region. OA Framework renders the page button bar region under the footer. Adding your custom content to a page button bar region allows the page buttons to be rendered and positioned in the proper places specified by the latest UI standards. To render the Return To navigation link under the footer, use the existing setReturnToLinkLabel and setReturnToLinkURL methods in OADialogPage.
To render a nested region, created with OA Extension, under a dialog page header, use the new OADialogPage.setHeaderNestedRegionRefName method.

Similar Messages

  • How to remove forward button from notification Page?

    Hi All,
    I would like to remove (disable ) forward button from Req approval work flow ? How can i achive this functionality ?
    I will be appriciate for help.
    Thanks
    pat

    Well, I'm guessing that you are using PO workflows, and using one of the standard lookups? Without having any details of what you are using, trying to second guess the answer is somewhat difficult.
    If it's the case that you are talking about the PO workflows, then the buttons are standard functionality based on the lookup type that is used as the notification response. Trying to suppress this doesn't actually make much sense - you are sending someone a notification, asking them to take action, and then not giving them any ability to respond to the notification.
    You would need to customize / personalize the notification page if you want to remove the buttons. The question then is - how will the process continue if you are removing the ability to respond to the notification?
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • How can I rename buttons in dialog popup ?

    Hello.
    I want rename buttons "OK", "Cancel" with my names in popups.
    I create new values in domen WDR_POPUP_BUTTON_KIND
    Next enhance interface IF_WD_WINDOW with new attributes:
    CO_BUTTON_CP type WDR_POPUP_BUTTON_KIND
    But i have problem in CL_WDR_INTERNAL_WINDOW->IF_WD_WINDOW~SET_BUTTON_KIND:
      case me->buttons-button_kind.
        when co_buttons_abortretryignore.
          wa_button-button      = co_button_abort.
          wa_button-button_text = cl_wdr_texts=>get_text( '201' ).
          wa_button-tooltip     = cl_wdr_texts=>get_text( '201' ).
          wa_button-is_enabled  = abap_true.
    This code show only predefined type of buttons can use. 
    How can I rename buttons in dialog popup ?

    When you subscribe to button event  you can rename the button
    * 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'
        message_display_mode = if_wd_window=>co_msg_display_mode_selected
        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
      DATA:  l_api TYPE REF TO if_wd_view_controller.
      l_api = wd_this->wd_get_api( ).
    " subscribe to button event
      lo_window->subscribe_to_button_event(
                   button            = if_wd_window=>co_button_ok
                   BUTTON_TEXT       = u2018Approveu2019 " renaming the button text
                   action_name       = 'ON_OK_POPUP'
                   action_view       = l_api
                   is_default_button = abap_true ).
      lo_window->open( ).
    Radhika

  • How to remove the buttons in ALV GUI?

    Hi All,
    I am using the FM REUSE_ALV_GRID_DISPLAY for disaplying the ALV grid. i need how to remove these buttons ( mail word processing, loal file, Mail recipient,  ABC analysis, Microsoft Execl and Graphics ) from the ALV Gui?
    please give solution.
    Regards,
    Santha

    hi,
    IT_EXCLUDING TYPE SLIS_T_EXTAB OPTIONAL
    you need to append the Fucntion codes to the it_exclude and then pass it to the parameter it_excluding.
    append '&ABC' to it_excluding.
    append '&BAC' to it_excluding.
    call function 'REUSE_ALV_GRID_DISPLAY'
    IT_EXCLUDING = it_exlcuding
    Regards
    Anver

  • How to remove a list from a page ?

    I added a list to a page and then later decided it would be easier to add the list to page 0. Now I can't find how to remove the list from the page.
    Edited by: Rene W. on Oct 6, 2008 1:52 AM

    Ok sorry I understood you wrong then.
    I tried to recontruct your problem and did the following things.
    1. Created a new list in: Home>Application Builder>Application 305>Shared Components>Lists>Create / Edit List
    2. Created a new region on page 2: Home>Application Builder>Application 305>Page 2>Create Region Type: List, Name:"test1"
    3. Created a new region on page 1: Home>Application Builder>Application 305>Page 1>Create Region Type: List, Name: "test2"
    4. Deleted region "test1" on page 2
    5. List and region still survived on page 1. :D
    Tobias

  • How to remove clear button on message file upload bean item?

    Dear Guru's.
                    How to remove clear button on message file upload bean item .
    Regards,
    Srinivas

    Hi Raghu,
    This is srinivas i am also facing this issue how u achieve this can u share me this is urgent for me .
    Regards,
    Srinivas

  • How to disable button in dialog page?

    Hi friends,
    Apps R12.
    In PFR, create a warning dialog page with yes/no buttons in this way:
    OADialogPage dialogPage = new OADialogPage(OAException.WARNING,mainMessage, null, "", "");
    String yes = pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
    String no = pageContext.getMessage("AK", "FWK_TBX_T_NO", null);
    dialogPage.setOkButtonItemName("CreateYesButton");
    dialogPage.setOkButtonToPost(true);
    dialogPage.setNoButtonToPost(true);
    dialogPage.setPostToCallingPage(true);
    dialogPage.setOkButtonLabel(yes);
    dialogPage.setNoButtonLabel(no);
    pageContext.redirectToDialogPage(dialogPage);
    In PR , I do:
    if (pageContext.getParameter("CreateYesButton") != null){
    //process....
    I need to disable Yes button in PR just after having clicked on it.
    It's to avoid user can make more than one click on it.. to avoid the process that follows it executes for more than 1st time.
    Any help would be appreciated.
    Thanks!

    I think this is handled internally in framewok.
    Just debug and check if the processFormRequest() is getting called twice or not.
    --Prasanna                                                                                                                                                                                                                                                                                                   

  • How to remove the button "play" and "stop" in that flash animation?

    The animation is this one ...
    http://adf.ly/OTGyh
    Hello, I made a simple flash animation of a character talking ... The only problem is that this animation has the button "play" and "stop" and I do not want it ...
    I want so carry out the main character speak the message and stop yourself automatically without user intervention to push any buttons ...
    I have the animation code, how do I get this code to the buttons and start the animation so load the page?
    Ah, and how to put the link to a page by clicking on this open a flash site?

    How to do it step-by-step? Because i'm beginner in FLash and that things of animation, codes, functions...
    And I create that simple animation in other program, not using the Adobe Flash, but I think can be edited that file animation in Flash because I have the files ".swf" and ".flv"...
    I don't know how to do it in Adobe Flash CS3, but I have that program installed in my pc, then can you talk me what to do it?
    Sorry my bad english, i'm from Brazil.
    That is the folder contains the files:
    https://dl.dropboxusercontent.com/u/11826717/off/laranja/files_animation.jpg
    That is the Download the files of that folder if you want see better:
    https://dl.dropboxusercontent.com/u/11826717/off/laranja/laranja.rar

  • How to remove dotted green lines in pages 5.2 documents?

    How do i remove dotted green lines in Pages 5.2 documents?

    That's right. Use Pages '09.
    You can export to Pages '09 from Pages 5.2.
    Peter

  • How to remove space after paragrph in pages on ipad

    Can't figure out how to remove space after each paragraph in Pages for Ipad

    Settings > General > International > Region Format
    Set it to your country to format numbers and dates in the way your country does.

  • How to remove a favorite on Home Page

    We have a favorite listed on that we would like to remove from Yahoo Home Page. This is in Favorites NOT bookmarks.

    Did you check the Yahoo help pages to see how to customize that Yahoo page?
    How did you previously set up that page?

  • How to remove responsibilty name custom oaf page

    Hi,
    Can any one please help me how to remove the responsibility name custom oaf page.
    i developed custom oaf page.while opening those pages responsibility name is also displyed.
    but i dont want to be displayed responsibility name in page.
    Please help me how to remove name of the responsibility in oaf page.

    Hey hi there ,
    I think you are trying to hide the Product branding that appears right next to the corporate image ( Oracle image ) ,
    well you can do this using controller code , in processRequest of your controller add this code
    Import :
    import oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean;
    import oracle.apps.fnd.framework.webui.OAFormattedTextHelper;
    import oracle.apps.fnd.framework.webui.beans.OAFormattedTextBean;
    OAFormattedTextBean bean =
    (OAFormattedTextBean)createWebBean(pageContext, FORMATTED_TEXT_BEAN,null,"product_brand");
    bean.setText(" ");
    OAPageLayoutBean page = pageContext.getPageLayoutBean();
    page.setProductBranding(bean);
    Once you compile and run the page notice that Product branding will no longer appear on the screen .
    Try this and let me know if its not working .
    --Keerthi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to remove the buttons coming from report program?

    Hi All,
    I need to remove the buttons from an iview which is a sap transaction. when i execute the  report program which uses a ldb (PCH) shows a selection screen having all the buttons.
    We have created variants for this.Now i want to remove the buttons which are coming from the report program.how to do this ?
    Lakshmi.

    Goto sicf ->sap->bc->gui->sap->its->                              
    open Webgui application                              
    in the GUI Config enter the following parameters.                              
    ~noHeaderOkCode = 1                              
    ~webTransactionType = EWT.                              
    All buttons can also be removed by ~webgui_simple_toolbar =0 ..                              
    Also now open the trancsaction of the program form SE93 for which you want to hide                               
    the Menu bar, in its properties select the EASY WEB TRANSACTION radio button.

  • How to remove the buttons which are coming from a report?

    Hi All,
    I need to remove the buttons from an iview which is a sap transaction. when i execute the  report program which uses a ldb (PCH) shows a selection screen having all the buttons.
    We have created variants for this.Now i want to remove the buttons which are coming from the report program.how to do this ?
    Lakshmi.

    Hi,
    I think u r mentioning about the addition buttons that appear in the selection screen when using a logical database. for removing these buttons u can use a function module RS_SET_SELSCREEN_STATUS  for setting ur own pf-status
    do this in "at selection screen output" of the program..
    in the tables parameter, u have the option for giving the ok-codes that u want to remove. append all the ok-codes into this table.
    for getting the ok-codes u can use "tab" and go the button.. press F1. it will give the ok-code.
    Regards,
    Anoop

  • How to remove infopath ribbon using Master Page?

    Hi All,
    I would like to remove infopath ribbon using Master Page, using f12 removed like "<div id="s4-ribbonrow"
    class="s4-pr s4-ribbonrowhidetitle" style="display:none">". But how to perform in original master page? Thanks in advance!

    Hi,
    Based on your description, my understanding is that you want to remove InfoPath ribbon using Master Page.
    using F12 to find the <div id=”RibbonWrapper”> section:
    Navigate to :C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\ FormServer.aspx. Add the following CSS into <head runat="server"></head>section:<style type="text/css">
    #RibbonWrapper
    display: none !important;
    </style>
    Best Regards,Lisa Chen
    Lisa Chen
    TechNet Community Support

Maybe you are looking for

  • Oracle Backup and Recovery 101: where can I get more information?

    Hey everyone. I'm a pretty new Oracle DBA and backup and recovery is something I want to learn as much about as I can. I read a blog about "how to be a good DBA" and it really drove home the importance of backups. I know how important they are, I jus

  • Urgent Help to fit the image on any mobile.......

    i write an application in which i obtained the image fron the unternet and i want to fit that that to the display screen of any mobile forn how can i write the code?how can i get the height an dwidth of mobile display screen where the image is displa

  • PS4 streaming problem with specific playlist

    So, spotify on my PS4 works beautifully using my phone as a control. It works for online playlists, and any playlist I make even from local files, except one in particular. It's a soundtrack from a video game called Planetside... I acquired it by dow

  • X2-01

    i do have x2-01, my problem is that after i restored all factory settings, i lost many information including games, themes, and tones which were already stored by nokia....infact my phone is now empty...nw hw can i get bek all the information which w

  • Need to update subject for seperate remittance advice program

    I need to change the subject of the seperate remittance advice program. Could you please let me know, how to do that?