Opening a new OAF page in New window have error

Hi OAF gurus,
I am trying to open a page in new window. It opens perfectly and all the functionality is also working. But I am getting some Java script error..
The code which I am using is...
StringBuffer l_buffer = new StringBuffer();
StringBuffer l_buffer1 = new StringBuffer();
l_buffer.append("javascript:mywin = openWindow(top, '");
l_buffer1.append("PGFile name with path");
l_buffer1.append("&DeliveryId=");
l_buffer1.append(deliveryId.toString());
l_buffer1.append("&retainAM=Y");
String url = "/OA_HTML/cabo/jsps/frameRedirect.jsp?redirect=/OA_HTML/OA.jsp&page="+l_buffer1.toString();
OAUrl popupUrl = new OAUrl(url, OAWebBeanConstants.ADD_BREAD_CRUMB_SAVE);
String strUrl = popupUrl.createURL(pageContext);
l_buffer.append(strUrl.toString());
l_buffer.append("', 'lovWindow', {width:750, height:550},false,'dialog',null);");
pageContext.putJavaScriptFunction("SomeName",l_buffer.toString());
Error message ....
Error: No such Interface Supported.
Could anyone please help me out in this.
Thanks
Anoop

Anoop,
Without the profile change, i guess it is not possible to open new window, as MAC key validation will be imposed! You can read about these profile options from Metalink doc id:390203.1 and explain to your client side1
--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How to open a new OAF page in new window while clicking submit button

    Dear All
    I am facing one problem.I have to pass some parameter in new page only after validation.I can't do validation in processRequest bacause I perform validation after clicking the submit button.
    So I have to write redirect code in processForm Request. I can not use simple "Button" bean since I have to set destination uri which could be set only in processRequest.But I can not pass parameter with it in process request.
    Thats why I have decided to use submit button but there is not target frame option in property inspector,So I am not able to open it in new window.
    Kindly give me some suggestion .
    Thanks in Advance

    hi,
    u can use submit button. U need to handle submit button press in processFormRequest method.
    if(pageContext.getParameter("Submit"!=null))
    // validate your parameter
    if parameter u capturing are valid then...
    pageContext.setForwardURL(func, params ...............) // check devguide for details
    if u want to access these parameter in second page . you can write this logic to processRequest of target page.
    U can refer toolbox tutorial drilldown and createpage examples for implementation details.
    Regards,
    Ram

  • How i can open a adf faces page in new window / tab

    I want to open an adf faces page in new browser window/tab. How i can do it?

    Try an af:goLink and set its targetFrame to "_blank".
    Timo

  • How can i use AME for the new OAF page.

    Dear all,
    I have developed a new OAF page and registered under Employee Self Service.
    How can i use AME for the approval process.
    Appreciate your ideas?
    zamora

    I will try to answer based on my experience of working with iProcurement and AME. It depends on how you want to make a call to AME , directly from OAF Page or from Workflow and your requirement. You didn't specify what you want to show the users on OAF Page and your business requirement.
    Before calling AME Engine from the OAF page or workflow, I guess you did already setup AME Transaction Type and it's Approval Groups, Conditions, Action Types and Rules. Do some testing from AME Business Analyst Test Workbench. Please note that, AME provides lot of PL/SQL API's that you have to call from your programs (java or workflow pl/sql)
    Let's look at the workflow and putting an OAF Page as notification.
    As Sameer said, you have kick-off workflow process from PR of CO and with in the workflow function, you make a call to AME Engine API's with the AME Transaction ID. This transactionId belongs to the AME Transsaction Type that you setup. Based on the rules setup, AME Engine generates list of approvers/approver and stores them AME Tables for that transactionId. Then, it sends a notification to the approver.
    In the workflow, where that notification is defined, in the message body you have to put an attribute(&XX_WF_FWK_RN) of type document/send. And this attribute will have the constant JSP:/OA_HTML/OA.jsp?OAFunc=XX_FUNC&paramId=-&DOCUMENT_ID-. This function is SSWA Jsp function that makes a web html call to your OAF Region.
    If your requirement is to just show the list of approvers on the OAF Page, you may have to call AME API diectly passing your AME TrasnactionId with other parameters. Then AME generates list of approvers and stores them in AME tables with each approver status. You can pickup those approvers using VO and show them on OAF Page.
    Hope this gives some idea.

  • Develope new OAF page in 11.5.9 without applying the patch 3262919

    Could any one please tell me how to develop the OAF page on 11.5.9. The following are the details of the 11.5.9.
    Version Information
    OA Framework Version 5.7.H.V2
    MDS Version 9.0.3.6.6 (build 557)
    UIX Version 2.1.16
    BC4J Version 9.0.3.10.62
    Build Date May 13, 2003
    My client is not ready to apply the patch OA Framework Mini-pack 11i.FWK.H : (3262919). Is there any other way to devleop the new OAF page.
    Its very urgent. Plssssssss help me in this issue.
    Thanks a lot in advance.
    cheers,
    Raju

    OA Framework Version 5.7.H.V2 is very old and won't fetch you even the 30-40% of the latest version's capability. Development on this level won't be so useful.
    Follow Sumit's advise and let us know.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Can we integrate AME in a new OAF page

    Hello,
    I'm working on a new OAF page which goes for approvals after submitting the page. I can use workflow notifications and approvals but i'm just wondering if i can integrate an AME to the custom page so that the approval routing can be handled using AME and also i want to show the list of all the approvers in the review page before submitting the OAF page.
    I would appreciate if someone can let me know if this is possible. If you also can guide me how, that would be great!
    Thank You
    KK

    Hello KK,
    Follow below steps
    1. Configure AME. If you have a separate configuration team, ask them to do it according to your requirements. If you are supposed to do this then go through oracle documentaion.
    2. Create a custom database procedure.
    3. Call AME_API2.GET_ALL_APPROVER7 api inside the procedure created in step2. This is the standard API which calls ame engine by passing transaction ID and the AME engine will return the list of approvers back for that transaction ID. Return the list of approvers to the custom procedure you have created in step 2
    4. If you have to generate the list of approvers on click of a button, then in the button click event, call the custom procedure you have created in step 2 using oracle callable statement. You can see an example in the link provided below on callable statement.
    http://oa-learning.blogspot.com/2011/08/plsql-program-unit-call-from-oaf.html
    Hope this will atleast help you to start on this.
    Regards
    Sunny

  • Unable to retain menucontext when opening a seeded OAF page from Custom OAF

    Hi All,
    We are opening a Standard OAF page from a custom OAF page
    We have a custom page where we are providing a link “PlanElements” to the user. When the user clicks on this link he will get “PlanElements” page.
    In “PlanElements” we are providing a link UpdateRates. When the user clicks on this link he will get “UpdateRates” page of another responsibility in new window.
    Our problem is if the user clicks on the updaterates link we are losing the menucontext on our custom page. We are able to retain the AM but we are losing the menu context. We have tried using OAWebBeanConstants.KEEP_MENU_CONTEXT to retain menu context but of no use.
    Any pointers on this would be helpful.
    With Regards,
    Anjani Chakka

    Have you duplicated entire Customer Service module's menu in your responsibility?
    or Also ping me the menu name..
    --Prasanna                                                                                                                                                                                                                                                               

  • Opening a seeded OAF page from custom JSP page.

    Hi All,
    We have requirement to open a seeded OAF page from custom JSP page.
    When we try to open URL of an OAF page after passing URL input parameters, we are always getting following error:
    'You have insufficient privileges for the current operation. Please contact your System Administrator.'
    On directly accessing the seeded OAF page, its encoding all the input parameters passed in URL. Also some more encoded parameters are getting added to the URL dynamically.
    Is there any standard way exists to invoke seeded OAF pages without passing encrypted parameters to it? Also where can we get more details about
    encrypting OAF URL parameters.
    Any pointers would be appreciated.
    Thanks in advance!
    Saurabh

    Have you duplicated entire Customer Service module's menu in your responsibility?
    or Also ping me the menu name..
    --Prasanna                                                                                                                                                                                                                                                               

  • Open new URL page in same window

    Hi all,
    I am using LinkToUrl UI element for opening a new URL
    page.
    I did it successfully by giving the URL in reference property.
    But the link is opening in new window.It should be opened
    in same window instead of new window.
    Any one can help me........

    Hi
    Use the target property of LinktoURL .
    You can specify the window name where you want to load new URL.
    Check the following Link.
    [Link|http://help.sap.com/saphelp_erp2005/helpdata/en/25/e2f0416ab6da6fe10000000a1550b0/content.htm]
    Regards
    Naresh

  • When we connect to the internet or visit a new web page, a new tab opens and an alert pops up as follows: "The URL is not valid and cannot be loaded"

    When we start the internet or navigate to a new page, a new tab opens with the following alert: "The URL is not valid and cannot be loaded." We "x" out of it, but a new tab, with the same alert appears. The problem occurs again when we try to navigate to another web page. A real nuisance. We've scanned the computer but found nothing but Adware cookies.
    == This happened ==
    Every time Firefox opened
    == 5/20/10

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Urgent help needed -in customizing an OAF page --adding new button?

    Hi,
    We are currently implementing an OAF based oracle application.One of the requirements that the customer has is to display an additional button on the page button bar available out of box in an OAF page. This button needs to be enabled/disabled based on certain conditions. Also when the button is pressed a pl/sql api needs to be invoked. I know through personalization a new button can be created in the page button bar. But how do we handle the logic behind the button? Can we extend the page level controller?Will this survive future upgrades? If not then what is the alternative?
    Please help!
    Thanks!

    You can follow the thread Calling PL/SQL Procedure for pl/sql call from controller example.
    --Shiv                                                                                                                                                                                                                                                                                   

  • Open the new jsp page in new browser

    Hi All,
    I have the requirement to open the new jsp page in the new browser when will we click on the link in my parent page.Is it possible with golink?If yes please give me an example otherwise please suggest me how to do this.
    I'm using jdev 11.1.1.5 version.
    Thanks in advance!

    Hi,
    yes with golink it is possible.I tried with below code
    <af:goLink text="JSP-LINK" id="pt_gl1"
    destination="AuditLogInfo.jspx" targetFrame="_blank"
    inlineStyle="background-color:#99CCFF;color:Blue;"
    visible="#{row.bindings.Status.inputValue=='SUCCESS'}"/>
    It is working.Thq.
    Edited by: 851924 on Apr 5, 2012 11:49 PM

  • Refuse to load new home page at start (Window 7)

    After the recent updates, the browser refuses to load a new home page at start. It "remembers" the old address, always. Probably it has not altered the registration line after the change even though it appears to have at that session. Therefore, when open again, it reverts back to the old home page address. Cheers.

    Hi yuenct,
    You should take a look at the Knowledge Base article [[How to set the home page]].
    There are steps in that article to reset your homepage preferences to default. I would try that first to clear out any strangeness. If that works, you can try setting your homepage again to your personal preference.
    If that doesn't work you should look at the article [[Preferences are not saved]].
    Hopefully this helps!

  • Stale data error while opening a multiple OAF page .

    Dear Friends ,
    I have a OAF page developed and deployed in server , its basically a search page , it also has several links to
    go to create page and update page . when the user opens the multiple page using different tabs in the browser
    like for example
    ex :
    from search page click on create page open it as new tab . if such multiple table are being opened
    and do some operation like search a record , it gives and error (stale data : Developer's mode exception ) .
    How to over come this exception , could you please share you ideas
    Thanks in Advance,
    Keerthi.k

    Hi friend ,
    In Search page i didn't do any update. and also search page is not a problem it's working fine. create page only the problem. In this page only throwing Stale data error exception.
    Please give me more suggestion.
    Thanks in advance,

  • When accessing favorites imported from IE8, duplicate links appear for those bookmarks on Google new tab page, while things I have bookmarked in Firefox appear normally, as a single link.

    For several months now, I have had this issue. I'm not sure if this is an issue with Google Toolbar or Firefox, but I have uninstalled and re-installed the toolbar several times, and the same thing keeps happening when I access anything Imported from IE8. Anything I originally bookmark in Firefox appears as a single link on the Google new tab page, while my favorites from IE8 appears twice. Everything appears as normal in the Firefox Bookmarks menu. This doesn't seem to affect functionality in any way, but it is rather irritating at times. Is it possible it could be a bug in IE8? I'm curious to see if anyone knows of a solution to this issue. Any help or input is greatly appreciated. Has anyone else had this happen? I have the latest versions of Google Toolbar and Firefox, so far as I'm aware. Thanks, once again, for your time and input.

    Thanks to jscher! With some help from AVG my AVG & Google browser panels now work OK. But I've taken the advice & disabled several extensions including the Disconnect. The browsers are still OK after re-launching them so I keep fingers crossed.
    My original problem was that I had suddenly found a small popup window appearing, over the browser window, that I couldn't get rid of. It contained an advisory to the effect that Windows couldn't find the file popuptransparent[dot]xul. I tried searching for that to see what it was and in the course of doing that I seem to have executed it. Then was when the trouble started.
    I have 3 instances of that file in my computer and would dearly like to get rid of them if they are of no use to me. Any advice there?

Maybe you are looking for

  • Open Tiff file error

    Hi! I've a very big tiff file, created by a scanner. The scanner produces tiff files from my code, but the shipped SW can produce pdf. My question is, how can I open this large tiff file in Labview (Vision)? Using the Shipped SW I scanned a PDF and u

  • Ipod classic not show up in windows or itunes

    why my ipod classic not show in itunes or windows

  • Auto-generating word documents from word templates

    How would one go about generating a word document based off of a word template (.dot)? For example, I have a simple JSP form which has a field "Last Name". When submitted, the "Last Name" is plugged into a corresponding bookmark in a .dot file. Then

  • [SOLVED]Where does 'gsettings' write to?

    //BEGIN EDIT Ok, I found out that gsettings correctly saves the changes and that the missing wallpaper is some other bug entirely. The point addressed here is therefore solved //END EDIT I had some problems with a disappearing wallpaper in GNOME and

  • Partial Deliveries against Sales Order

    Dear Team, Query1: How to see the salesorders list for whose more than one delivery happened in the system?. Query2: How to see the list of invoices that were created with reference to sales Order? Regards, Varma