Opening a form in a new window issue

Hi..
I have this requirement where I have this page(say XYZPG.xml) which contains a table which is auto populated based on a particular setWhereClause and all this happens in the processRequest as the page loads.
This page opens on clicking a button in a previous page from where all the parameters for the setWhereClause is sent using fireAction.
Each Row in the results table in XYZPG has a "detail" button which opens another page in a new window using _blank in the Target Frame.
The issue is that when Iam clicking the "detail" button,the new form opens in the new window and after closing the form that opened in the new window when I start to perform any action in XYZPG a null pointer is encountered in the processRequest while trying to fetch the setWhereClause parameters.
Please help in this issue.Its urgent.
Thanks

That's because when you close the child window, control returns back to parent form's processRequest. Which version of EBS you are working on? OAF has in-built popup windows feature supported on latest EBS versions which is very useful on many occasions as it has good features like popup closing automatically when a submit button is clicked etc. Check JDev user guide and see if you can use popup windows for your project. If not, you have to capture the event in processRequest and perform required actions again.
Thanks
Shree

Similar Messages

  • How to open a entity form in a new window using openEntityForm() method.

     How to open a entity form in a new window using openEntityForm() method.

    As far as I'm aware, there isn't a supported way to do this in the client-side API. You could use window.open instead
    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

  • Opening a list item pdf attachment from the display form in a new window

    I have a list setup in which attachments are enabled.
    Users attach pdf's to list items.
    When they go into the display form for a list item and click on a pdf attachment in the "Attachments" area at the bottom of the form, it opens in the same browser window.
    I would like to amend this so it opens in a new window.  Has anyone found a fix for this?
    Thanks in advance,
    Mark

    Hi ,
    Put the code below in your DispForm.aspx page .The you can open the attachments in a new window. Including all the other links on the DispForm.aspx page .
    <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
    <script type="text/javascript">
    $(function(){ 
    $('a').click(function(){
                    window.open(this.href);
                   return false;
    });</script>
    Thanks,
    Entan Ming

  • Captivate 7 Click box and bottons not able to open an URL on a new window

    I inserted a button and a click box in CP7 to open an URL on a new window. The URL opens but in a New Tab. There is an issue that the URL cannot be opened on a NEW WINDOW, I am using IE and Chrome. Do you have any ideas about this issue and how to troubleshoot it? I tried with Safari and it works fine.
    Thanks, Jorge - Adobe Captivate 7 user.

    Hi Jorge
    It's my understanding that all you can do is to configure the link to open in a new "whatever". Whether you get the link opening in a tab or a window is left up to the browser and how the particular user has their browser configured. For example, I use Firefox and when I look at its settings here is what I see.
    I'm guessing there must be a way to force a new window, because I do see new windows appear. But I think in those cases folks are doing it by using JavaScript.
    Cheers... Rick

  • Open "Navigate" enabled report in new window - OBI10g.

    Hello Experts,
    May be its novice user question, i have 2 reports, source and target reports. Both reports are connected using "Navigate" functionality.
    Issue is, i wan to open the target report in new window? is that possible?
    using GO URL: we have an option like target='_blank'. but in navigate.. what is the option?
    Thanks in advance....
    Regards,
    Kiran

    The Navigate feature can be modified to open targets in a new window by following the below steps:
    - Edit OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\b_mozilla\viewhelper.js
    - Search for function NavigateInfo()
    - Find the line with code this.sWindowTarget = "_self";
    - Replace the line as this.sWindowTarget = "_blank";
    - Clear the browser cache and reload the page.
    The navigation targets will now open in a new window.

  • New tabs are not updating the names of the sites they have loaded. When I open a new tab and load a site, the tab simply stays named "New Tab". When I open a link in a new window, it shows "Connecting..." even while its fully loaded.

    New tabs are not updating the names of the sites they have loaded. When I open a new tab and load a site, the tab simply stays named "New Tab". When I open a link in a new window, it shows "Connecting..." even while its fully loaded.

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]

  • When I start mozilla or open any link in a new window I get the desired page to load but an additional new tab page opens up along with it, fix?

    When I start mozilla or open any link in a new window I get the desired page to load but an additional new tab page opens up along with it. I've tried switching my homepage to different things (new tab, firefox home, show blank page) but I always get an additional new tab to open. How do I get only a single page to open?

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. <br>
    '''Note''': ''This will cause you to lose any Extensions and some Preferences.''
    *Open websites will not be saved in Firefox versions lower than 25.
    To Reset Firefox do the following:
    '''For Firefox versions previous to 29.0:'''
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox"[[Image:Button reset]] button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    '''For Firefox 29.0 and above:'''
    #Click the menu button [[Image:New Fx Menu]], click help [[Image:Help-29]] and select ''Troubleshooting Information''.
    Now, a new tab containing your troubleshooting information should open.
    #At the top right corner of the page, you should see a button that says "Reset Firefox"[[Image:Button reset]]. Click on it.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Open a page in a new window passing him some parameters

    Dears all,
    System used : SAP WebAs 6.20
    I have a link in my application which will open a contact form in a new window. This occurs by this mean :
    a href="#" onMouseDownMethod="pop()" class="fontNavRIS">CONTACT US
    script
    function pop() {
    window.open('order.htm', 'nom_popup',"menubar=no, status=no, scrollbars=yes, menubar=no, resizable=yes,width=480, height=680");
    /script
    When we click on the linh CONTACT US, we will open a new window with the page Order.html inside.
    In this page, we will fill a form and will send it by e-mail. All that is Ok.
    What I would like, is to be able to pass some values to the new window so that it fills some fields in the contact form. With JavaScript I don't know how to pass the parameters to another window.
    I tried too with cookies, but I don't have any knowledge in this domain.
    Thanks by advance if someone can help me.
    Regards,
    Nelson
    To post the message I was obligated to remove the "<" and ">" from my code, and rename onMouseDown to onMouseDownMethod...

    Hi,
    Sorry Arun but I don't understand one point.
    this code :
    navigation->goto_page( 'third.htm' ).
    is ABAP code right ?
    Today I use this :
    window.open('order.htm', 'nom_popup',"menubar=no, status=no, scrollbars=yes, menubar=no, resizable=yes,width=480, height=680");
    because I call my new window from a JavaScript function.
    navigation->goto_page( 'third.htm' ).
    is not javascript code, I can't replace my code by this one. This give me an error.
    Like explained, I've tried to do this :
    function pop() {
    <%
       navigation->set_parameter( name  = 'username' value =  '123' ).
    %>
    window.open('order.htm', 'nom_popup',"menubar=no, status=no, scrollbars=yes, menubar=no, resizable=yes,width=480, height=680");
    But I have this message : The field "navigation" is unknown, but there is a field with the similar name  "_m_navigation"
    I do all this manipulation always in the Layout section of my page

  • Opening a url in a new window

    Guys,
    I have a situation to open a url (url is formed dynamically) in a new window on the click of a button (command button).
    I tried to use Go button, but in go button there is no way to provide the url dynamically. I mean i form the url by reading the contents of the page. But go button doesnt allow to form the URL dynamically.
    The problem with command button is, it doesnt open the URL in a new window.
    My requirement is
    i click on the button on a page -> go to method (read the contents of the page) to form the URL -> open the URL in a new window
    How this can be acheived.

    Yes, but i need a method to do my calculation to build the dynamic URL.
    I have resolved it using command button
    public void actionlistener(actionevent event)
    String dynamicUrl = // logic to build url;
    FacesContext ctx = FacesContext.getCurrentInstance();
    ExtendedRenderKitService erks =
    Service.getService(ctx.getRenderKit(), ExtendedRenderKitService.class);
    String url = "window.open('" + dynamicUrl + "','_blank');";
    erks.addScript(FacesContext.getCurrentInstance(),url);
    this resolved my issue

  • Hi there I have updated to your lates version but every time I open up the browser and new windows I get this error message 'TypeError: Components.classes[cid] is undefined' although it does work but the message is very annoying

    Question
    Hi there I have updated to your lates version but every time I open up the browser and new windows I get this error message 'TypeError: Components.classes[cid] is undefined' although it does work but the message is very annoying

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How can I open a blob (PDF) in new window.

    The BLOB (PDF) that is in the database is being displayed by a column link. Since the field is a blob link I haven't found any way to open it in it's separate window. There have been several postings where others have asked this but I've yet found one that has an answer.

    Hi
    I do not think it matters whether your reports portlet is a default one or a customize one. I think whne you place the portlet, you can specify in the property to open up the result in new window. I think it is common feature of Portal.
    Thanks
    Rohit

  • Firefox won't open mailto links in a new window like it used to...it just opens gmail in the current tab.

    I recently upgraded firefox and now whenever I click a mailto link it opens gmail in the current tab rather than in a new window. How can I get it to open email links in a new window.

    My MAILTO problem was finally fixed on the June 29, 2012 Firefox version 14 beta 10 release.

  • When I use yahoo images and i open an image in a new window, it tweakes out firefox so that panes are distorted and exerything, the whole firefox browser looks like an F5 tornado took it apart and lumped it on my desktop... is this a known glitch?

    When I use yahoo images and open an image in a new window, the page, once I click its tab causes the entire browser to scramble graphically, making it nearly impossible to navigate further. I right-clicked and selected close tab. That regains the visual clarity of the browser. But how can I fix this to browse the images?

    Phillipp,
    I tried it again using "save link as", and this time it actually worked! I just now downloaded several more using the "save link as" option, and it works perfectly. Thanks. Problem solved.
    Littleberry

  • Firefox 7 won't allow me to switch windows; if it's up, it's on top, so if I ask it to open a site in a new window (instead of a tab) I can't get to the window without minimizing the first window. This makes it impossible to work.

    I upgraded Firefox to 7 on my Win7 Pro 64 bit desktop yesterday. Today when I try to open a site in a new window, the window opens but I can't switch to it unless I actually minimize the first Firefox instance. Clicking on the second window just shows the first window again.
    Worse, it insists on being on top of other programs. I needed to check my Norton Firewall settings against some instructions on a web site, and I couldn't switch back and forth - I could ONLY have Firefox on top. Until you fix this I'm going back to Chrome, guys. I have looked through the Options menus and I can't find an "always on top" box to uncheck.

    Dear mkunz,
    I can understand your frustration. I have elected for the option to pick up an item from a UPS location when missed upon delivery before; it is definitely a convenient option when working around a work schedule. I apologize that this option wasn’t available to you for your phone purchase.
    We do understand that people have to work and this is why we allow three opportunities for you to receive the product. I see that AWBrown has submitted an idea to ideaX page asking us to look into reevaluating this process. Using your email address you have supplied here on the forums, I was able to look up your order. Based on the tracking information, it appears that you successfully received the phone on 06/03/2014.
    If this is not the case, please let me know!
    Thanks for reaching out,
    JD|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Open that jspx page in new window using commandLink

    Hi All,
    I'm working on adf application.I'm using jdeveloper 11.1.1.5 version.I want to get the attribute value of current row and pass it to jspx page.And i want to open that jspx page in new window.I tried like following:
    <af:column id="resId1c7" align="center" width="50">
    <af:commandLink actionListener="#{bindings.setCurrentRowWithKeyValue.execute}"
    text="MSG-ID"
    disabled="#{!bindings.setCurrentRowWithKeyValue.enabled}"
    id="cl1"
    action="dialog:Confirm" windowHeight="600"
    windowWidth="800" useWindow="true"
    partialSubmit="true"/>
    </af:column>
    And in my faces-config.xml i add the navigation rule like this.
    <navigation-rule>
    <navigation-case>
    <from-outcome>dialog:Confirm</from-outcome>
    <to-view-id>/AuditLogInfo.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>
    Here my problem is i want to get the result jspx page in new window.But im not able to do it.Please help me how can i do this?
    Thanks in advance!

    Thq very much.It is working fine.
    I added the command link in my home page.When i'm clicking on that link im able to get my child.jspx page in new window.But I have added the login page to my adf application.If i run the login page im able to get my home page.But now i'm not able to get my child.jspx page when i'm clicking on command link.How can i resolve this.Please give me your suggestions.
    Thnks in advance.

Maybe you are looking for

  • Assigning data from one Table type to another structure

    Hi every one, I have a table type X sent from one function module to another Proxy generated method which has the parameter defined as a structure. I have declared a variable Y as a LINE TYPE OF X. Then I have this statement which fills up the data.

  • How do I install 8i personal and developer on the same machine?

    I'm a College student and while Oracle 8i and developer are available at school, I would like to have both available at home because of the lack of available computers during lab times. I have 8i personal currently installed and that works fine, but

  • Envelope sender domain could not be resolved

    For this error: Apr 23 18:11:07 2008 Info: ICID 815272710 Address: <nurmaria> sender rejected, envelope sender domain could not be resolved If the domain has multiple MX(es) record. I.e cardig.com has : cardig.com mail is handled by 10 mail.cardig.co

  • Mail won't stay open

    In the last 24 hours Mail has started crashing the moment I open it on my IPhone. The mail screen pops up for a second, and then closes again. I've updated my software, but it had no affect. Anyone know how to fix this?

  • 16-35 f/2.8 LII vs TS-E 17mm for Landscape photography !! What do you think?

    Hello All, What do you guys think about the 2 mentioned lenses specifically for architecture or landscape photography?  My measurement aspects are sharpness, DoF, color reproduction, distortion, lateral fringes..  I am eager to hear what mey fellow c