Show new Dialog page on click of Submit in Standard PO page.

Hi Gurus,
Requirement :
to show a dialog page with 'Ok' and 'cancel' button in the STANDARD Purchase Orders OAF Page on the Click of 'Submit' button i.e. before Approval.
Design:
1) write new CO xxCO to extend the standard OrderCO
2) Put dialog page code on click on submit button before super.processFormRequest on xxCO.
3) handle OK on Dialog page, write the code in xxCO to submit the PO (i.e. same code as in Orders CO on click of submit).
Above approach is not upgrade safe and not very much suggested.
Can you please suggest a better approach.
Thanks and Regards,
Sumana.

Hi,
Can anyone tell me the significane of using pageContext.putParameter. I was trying to implement a solution using this command for the above issue.
===============================================
Intial solution without the use of pageContext.putParameter
===============================================
//Standard Code - Order Co
If pageContext.getParameter("SubmitButton")!=null{
-- calls abc method.(private)
//custom controller - xxOrderCO
If pageContext.getParameter("YesButton")!=null{
-- calls abc method. (copy the private method)
else {
super.processFormRequest
Instead of rewriting the standard code in custom controller on click of yes button of Dialog page.
i'll try to set explicity that submit button is clicked. So that it is always handled in super.processFormRequest.
===============================================
solution with the use of pageContext.putParameter
===============================================
//custom controller - xxOrderCO
If pageContext.getParameter("YesButton")!=null{
pageContext.putParamter("SubmitButton","Clicked")
super.processFormRequest
Please provide your valuable suggestions on this.
Regards,
Sumana.

Similar Messages

  • How to prevent multiple clicks of submit buttons in OAF Pages

    Hi All,
    Our page takes around 30 seconds to 1 minute for processing.
    Some users are not patient enough. I have tried putting the below code in my PR method.
    OAWebBean body = pageContext.getRootWebBean();
        if (body instanceof OABodyBean)
        ((OABodyBean)body).setBlockOnEverySubmit(true);
    This code disables submit button for some time. After few seconds, the submit button can be clicked again by the user.
    Also, if I click on other browser window and come back to OAF page, the submit button can be clicked again immediately.
    Have also searched OAF forum but didn't find any satisfactory answer.
    Need answer from Oracle on this. If not answered on the forum, will raise an SR.

    Hi Amit,
    Try using the Processing Symbol , after clicking the Submit button. Which does shows you processing clock symbol once you click Submit Button.
    Regards
    Raghu

  • Inbox Doesn't Show New Mail Until I Click Out of Inbox and Click Back In

    Hello, I originally posted this in the Microsoft Community, but I was told to post here instead. HELP!!! Nobody I know seems to have an answer for this.
    I have Outlook 2010 connected to Exchange (work email). Whenever I get new mail, I have to click out of the Inbox and then click back in, in order to see and open my new mail. I do receive the pop-up notification in the lower right hand corner, and
    I receive the "(1)" notification next to "Inbox" on the left side menu (that's how I know when I have new mail), but no actual email shows in the Reading/Window Pane. It's like I have to refresh my Inbox.
    The problem does not exist with any of my Inbox subfolders - only the Inbox itself.
    When I had my department help desk remote in, the problem ceased (making me sound crazy), but when the technician logged off remote access, boom, the problem was back.
    I've searched the internet, contacted my help desk multiple times, and deleted and re-created my Outlook profile, but nothing has worked so far.
    Any insight into this issue would be greatly appreciated, as this problem is a pain!

    Hi,
    Please check whether you can see the items in your Inbox using Online mode or Outlook Web Access or Outlook Web App (OWA). If you just cannot see them in your Cached mode profile, please start Outlook using the following command-line (Click
    Start and then click Run) to have a try:
    Outlook.exe /cleanips
    http://support.microsoft.com/kb/2330226
    If it doesn’t work, please change a new computer to have a try.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • FireFox opens two new tabs on one click then can not load the page properly

    http://windowslivehelp.com/thread.aspx?postid=D57057A2-59C8-4131-B6EC-42F7F4780E4F#D57057A2-59C8-4131-B6EC-42F7F4780E4F
    I am having trouble with the this site. It loads but keeps on trying to load. in the tab it flashes connecting ....emails and passwords not retained...connecting ...and so on.
    the functionality of the page does not allow scrolling through the page it just goes back to the opening position.
    this page and my hotmail page does not function as they should.
    Please can someone help me?

    This issue can be caused by the Facebook Toolbar extension
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Can't download or open PDFs via links on web pages? Clicking links to PDFs in web pages only results in blank "new" tabs opening in Firefox...WHY?

    Links to PDFs on webpages only opens a "new" tab which is blank. I cannot download or open PDFs. This started a couple of weeks ago.

    See this support article. <br />
    https://support.mozilla.org/en-US/kb/firefox-repeatedly-opens-empty-tabs-or-windows
    Then view - '''Change-the-action-for-a-content-type'''

  • Every time i use facebook.. its asking permision every time i change the page or click any link in the the page.. can u help me to solve this???

    i have checked all the option in the option bar in the firefox.. but nothing could help me solving this problem... every time i click home,or try to visit someones profile, or any link in my page its asking for a permision.. saying.. u like to leave the page or stay here..

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Avoid opening new window on button click

    Hi All,
               I have created BSP pages with flow logic.
    I have the following pages :
    main.htm
    selection.htm
    details.htm
    I have embedded selection.htm and details.htm  in main.htm
    In selection.htm page I have button .On clicking this button, it opens a new window and displays details there. However , i dont want the new window to be opened . The details should be displayed in the details.htm within the same window.
    Here is how i have written the code for button in selection.htm page :
              <ht mlb: butt on id      = "submit"
                            d esign  = "emphasized"
                            te xt    = "<%= otr(zdfps_google/submit) %>"
                            on Click = "submit"
                            toolt ip = "Update Map" />
    How can I avoid opening of a new window onclick of the button(submit buttton)?

    Hi,
    If a new window is opening, I think this is because you specify a target value in your form tag that does not correspond to an existing frame or window. For example:
    <htmlb:form id="details_form" target="details">
    This submits the form in a frame or window with name "details". If it does not exist, a new window shows up.
    If you want to submit your form to page details.htm, in the same window, you can use the following:
    <htmlb:form id="details_form" action="details.htm">
    Note that the target attribute is not specified.
    Hope it helps!
    Regards,
    Tanguy

  • File-Save window(saving the html page by clicking a button)

    Hi,
    when I click a button, a window should open which is same as the one which appears when we click File-save.
    This should happen to save the data that is displayed on the internetExplorer, when the user clicks the submit button on his page.(ie,Saving  the html page in his desired location).
    Thanks in advance.

    Refer FileDownload and FileUpload tutorial.
    If the idea is just to save the html page, I am not sure if it is possible.
    If the idea is to save the data in the html page then you can save it as xml format or csv format. Refer to the following tutorials:
    a) FileUpload and FileDownload
    b) Web Dynpro Binary cache
    Regards,
    Subramanian V.

  • Af:inlineFrame goes out of template on click of submit action

    Hi All,
    JDev ver: 11.1.1.5
    I have embebed a URL using af:inlineFrame in the jspx page, on click of submit buttoninside the page its goes out of the template, but when I click a link in the page the page remains inside the template.
    the source url is from OPA(Oracle Policing Automation)
    <af:panelGroupLayout id="pgl1">
    <af:inlineFrame id="if1" source="http://oa8191.us.oracle.com:8088/ss-siebel-wd-embedded/startsession/HouseholdRelationships/en-US?user=guest"
    inlineStyle="width:1000px; height:1000px;"/>
    </af:panelGroupLayout>
    Any solution for this ?
    Regards,
    Gopinath

    You have "onClick" attribute in the jsp html taglib. make use that
    regards
    shanu

  • On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom new document in order to open one. How can i have directly a new document when i click on pages icon

    On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom < new document> in order to open one. How can i have directly a new document when i click on pages icon

    How to open an existing Pages document?
    Click Pages icon in the Dock to launch Pages.
    When Pages is open, click File menu in the  Pages menu bar.
    Select “Open”.
    When the select document  dialog box opens up, highlight/select the document and click “Open”
    at the bottom right corner of the dialog box.
    s
    https://support.apple.com/kb/PH15304?locale=en_US

  • Getting a permission error clicking "Show new posts since last visit".

    If I click "Show new posts since last visit" after I have read a thread, I will get a "You do not have permission to access this page.". This is starting to get a bit annoying. Please look into it.
    Birger

    http://bbs.archlinux.org/viewtopic.php?id=83076

  • New page unexpectedly loses ability to go BACK to previous page after clicking on a link in page (not consistent), why?

    Firefox 4.0 Vista 32 bit
    I will have a tab open, and click on a link, new page loads. The Back and Forward buttons do not work. Usually it shows in history (unless I opened too many pages before clicking on link). This has happened several times.
    It is not consistent - one time I used search bar and opened a Yahoo search page - clicked on search link and when I wanted to go back to look at another search link from the previous page- page would not load (BACK button dead). I clinked search again, clicked on another link and that time it allowed me to return to the previous page???
    I am about ready to go back to previous version.
    Thank you.

    It's a good idea to try disabling Flash completely and see whether the problem continues. If it does, then my guess is incorrect. To test that, open this tab:
    orange Firefox button (or Tools menu) > Add-ons > Plugins category
    Here you can locate Shockwave Flash and use the Disable button. Keep this tab open for easy access when doing your test.
    ''If your test confirms that Flash is causing the problem,'' then the other thread has two suggested workarounds. The first is simple to understand (keep some Flash running at all times) but may be inconvenient to do all the time. The second is trickier because it requires editing a file in (or creating and then dragging a file into) a system folder. Fortunately you only need to do it once.

  • Opening a new tab by right clicking from Facebook home page

    Whenever I right click and go to a new tab I get a messed up page. This happens only on Facebook when helping friends or viewing something from a post. It only happens on Firefox, tried it on IE plus on 2 more computers. Also when I am playing a game...ie FV and wish to post for help...the box just sets there showing it working but never opens fully so I can post.
    Will be glad to send a copy of what the page looks like when I open a new tab if you need it.

    here is what the page looks like when I open a new tab...is there anything I can do to fix this...Thank You

  • How to achieve SUBMIT for the current page when I click other tab?

    Problem: How to achieve SUBMIT for the current page when I click other tab?
    Description: I have a two-page application and each page associates with a tab. Say page1 associates tab1 and page2 associates tab2. In each page, I have a submit button, a after submit process associated to the submit button, and a tabular form. For page1, I fill out the fields and hit the button. The page1 will appear again and I can see the data I have insert. However, If I fill out the fields and click the tab2 (page 2) instead. when I come back to page1, the data I filled out are all gone. Is there any way in HTML DB to force the submit in the current page after you click other page. If use JavaScript, what is code looks like.
    Appreciate your time and your answer.
    Mike

    Scott,
    just for clarity, if I understood correctly what you said there are two possibilities:
    1) keep the standard tab branch and give up the possibility of validating page items. Below you can find an example of such cases.
    2) Replace the template substitution string and perform a "custom" button-like submit also adding a branch to the main page associated with the tab. Page items will be validated if the branch firing point is set after the validations.
    I couldn't find an example of the latter, but I found easily an example of the former:
    it's the "Report attributes", page 420 of app 4000.
    If you enter 'aaa' in the "Number of rows" form field and then you press "apply changes", htmldb correctly displays an inline error message saying that the value must be numeric. On the contrary, if you click on the "Region Definition" tab, htmldb takes you to a page showing an oracle exception:
    ORA-20001: Error in DML: p_rowid=4785927011172906402, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-20001: Invalid numeric value aaa for column PLUG_QUERY_NUM_ROWS
    Bye,
    Flavio

  • JWS shows a dialog asking about update new shortcut in no-Japanese

    I installed an application at JRE 1.4.1_03, with Japanese JWS. After
    JRE1.4.2 came up, I uninstalled JRE1.4.1_03
    and re-installed JRE1.4.2 without the uninstalled application.
    JWS shows a dialog asking about updating new shortcut. But the "Yes" and
    "No" buttons in the dialog box are not in Japanese, they are just empty
    squares.
    How can I fix these boxes into Japanese "Yes" and "No" buttons?

    Thank you very much for answering my question.
    I installed JRE1.4.2 Japanese Page, so it will be International version. The installer and other dialog words are in Japanese. Just "Yes" and "No" buttons in Dialog are not in Japanese.
    Thank you,
    Miki
    Sounds like you installed the JRE1.4.2 English only
    instead of the
    International version.
    Manfred.

Maybe you are looking for

  • After upgrading to Yosemite my I photo will not update

    My iPhoto will not update because of a error with a previous owners password my brother owned the iMac before me he signed out of everything.

  • Can't use iCloud or restore my iPhone because of old apple ID

    I recently changed the email address on my apple ID. When I updated to iOS 7, iCloud decided it wanted to use my old email address. I don't think there is any way to simply log into a different iCloud account. When I try to delete the account, it ask

  • CTP vs ATO

    Hi,     I have two questions. 1. Does CTP in PPDS and assemble to order (planning strategy 81 and 82 in ECC 6.0) serve the same purpose ? It looks like both are used to confirm sales order depending upon resource and component availaibilty. Ofocurse

  • HELP! VIDEO IN CS6 EXTENDED WON'T IMPORT MOV FILES, ONLY JPEG

    Hello.  I have a problem with the video editor in my CS6 Extented.  I have the newest updates (checked an hour ago), and restored default preferences before beginning the first video exercise in Chapter 10 of "Adobe Photoshop CS6/Classroom In A Book"

  • Make to Order Scenario Process Flow

    Hi Friends - I am looking for simple Make to Order scenario with BOM Components with Routing. The process flow I want to execute - 1. Create a Sales Order for a Finished Product (Product should have a BOM for Production) 2. Do the product Materials P