How to remove NO Button on dialog page

Advertisement

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.

Advertisement

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.

November 30, -0001

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, nul

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 butto

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?Read other 2 answer

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 t

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. PeterRead other 2 answers

How to remove go button for prompt

Hi everyone, I got a requirement from client asking to remove 'GO' button for prompts which has single value to select and have go button for those which need multiple select values. If prompt has one select value the report has to change based the s

How to remove the buttons

When I use quiz manager to make some test question, I would like to remove the bottom buttons , For example, play button, I just need submit button. Would you all to tell me how to do it? Thanks.You can actually remove the playbar from the entire pre

How to remove Ivews from compensation profile page..

Hi EveryBody, I want to remove certain Iviews  like Photo,salary data from the compensation profile page . The issue is when the user click on the Employee name which is displayed as a link in compensation planning page, another page (compensation pr

How to remove old trial version of Pages

I trialled Pages a few years ago but never used it.  Since then I have bought Pages (and Numbers) through the App Store but when opening a document (Microsoft Windoze 08 is currently set as default) and I select 'Open With' I have two options for Pag

How to remove the Personalize link from the table layout displayed on Page.

While i create a new page and a table layout is created on this page it displays a link called Personalize this table. For every table i create the same is displayed. If 10 such table layouts are there i get personalize options on all such 10 layouts

How to remove cached images in html whe going from one page to another page

can anybody help how to remove cached images in html pages.i tried with response.setHeader("no-cache") but it is not workingthanks, can u tell me how to make the browser not to cache images.since iam moving from one page which has images, into a

Remove CSLive button from menu

Hi! How to remove CSLIVE button from menu in ILLUSTRATOR cs5? Thx!Isn't that strange? You can do so with ease in PS so why on earth are the options different here?Read other 4 answers

How to remove the 'New Entry' button in the warning message for a dialog bo

Hi Experts, I am calling a Modal Dialog box screen having a pushbutton. On the click of the pushbutton, I am performing some checks, and giving a warning message. The warning message comes as a popup in this case and has three buttons on it. One of t

Can any one tell me how to remove the 3 buttons at the top of a dialog?

Hi all Can any one tell me how to remove the 3 buttons at the top of a dialog? The Close, Minimize and the other I don�t know what you call that one. Thanks for you time All Have a great day CraigTry http://java.sun.com/docs/books/tutorial/uiswing/co

How to add three buttons to a Dialog Page?

Hi, I have a requirement where in i need to add three buttons yes , no, cancel on the dialog page. But in the examples specified in OAF guide it has only two buttons. I m in urgent requirement of this. Could anyone help me in this regards? Thanks, Ma

How to remove default Apply, OK and Cancel buttons in portlet edit mode.

Hi, Iam facing problem in customizing default edit mode of portlet, my question is how to remove those default buttons and how to implement our own links for SAVE and CANCEL functionality. Because if we implement our own <form> in edit JSP page then

Urgent help: How to remove the accumaltion when show movies step by step with buttons

I want to show the movie step by step by clicking the next button. Inside each frame, many movie clips are generated dynamically at runtime, and they can be played interactively. I achieves the step-by-step display of those frames by adding another l

File Dialog - How to remove all files pattern in LV 8.x

How to remove "all files" pattern in LV 8.x in the file dialog. Is it possible? Thanks Dany Dany AllardIf it is a security issue, you will probably need to implement a custom dialog and actively filter for file types.  No matter what pattern you

How can we create a OCA button for Overview page?

Hi Experts,    Please help me with all the steps for creating an OCA button for Overview page. I have already tried it for table view in Viewset and it is working fine but how to do that in Overview page. Thanks and Regard, Pranoy KumarHi Pranoy, You

How do you add a "top of page" button to an iWeb page?

How do you add a "top of page" button to an iWeb page?Two solutions: The Easy One: Create a Form (which will be the button) and add text to it or choose a picture from iphoto. Now give the form/picture a hyperlink to the same site. So now if you