Message (of message manager) gets lost by opening a popup window

Hi all,
On behalf of a better error/exception handling, I would like to show the stacktrace in a popup window, that means, if the application reports an error message (through the message manager in the view controller), the user (administrator, developer) can optionally click a link (LinkToAction => opening a modal window) to see the stacktrace in a separat popup window.
Unfortunately if the popup window now gets displayed, the error message on the main view (background of the popup window) will be cleared, so this - for the common user more readable - information is not anymore displayed, also when the popup will be cleared.
Of course, I could backup the error message in a context value and redisplay it after closing the popup window, but I suppose that's not a very cool solution...
Other any good ideas?
Thanks,
Stefan

Hi Stefan
Usually showing a stack-trace to the end-user of your application is not so helpful as might appear. My experience shows that the information is too technical for the end-user and does not help him/her to resolve the issue/problem. It's better to display error messages pointing him to some solution or directions that he might do in order to fix the error.
If you still want to show a stack-trace I'd advise the following. You have to prepare the UI control with the stack-trace in the same server response (round trip) which shows the message manager's messages. The messages will not disappear until a client sends a new request to the server. When you open the popup such request definitely takes place.
Maybe try to display the stack-trace in the bottom of the screen so user have to scroll down a little bit to show the trace.
Or maybe Tray control will help in the case. Try to put the trace in a text view and put the view in a tray. Then user has to expand the tray to see the trace. But do not assign any event handlers to the tray to avoid additional request to the server while it's expanding.
BR, Sergei

Similar Messages

  • Table events lost after opening a popup window

    In an advanced table , I have a column which shows a link. If this link is clicked , a new window opens which displays a popup window.
    If the link is not clicked , I can traverse through the advanced table.
    If I click on the link, I cannot navigate through the Advanced Table, The show hide does not work.
    The new Window is being shown for the link using
    a. A OALinkBean
    b. The link bean Destination property is set using OA.jsp?xxx
    c. The target frame is set to _blank.
    Any suggestions on what could be the problem?

    The pop up page is a read only page or ur doing some action events on the pop up page?Are you simultaneuosly doing action on pop up and base page?
    --Mukul                                                                                                                                                                                                                                                                                                                                                       

  • Yosemite, messages, preferences are grayed out. It opens but the window for messages is blank.

    Yosemite, messages, preferences are grayed out. It opens but the window for messages is blank. Can't click on anything.

    Hi,
    You appear to have the wrong end of the stick as they say.
    Just starting your computer needs certain Fonts to be present to display the text you are likely to see.
    Most of those needed to do this are in the Hard Drive icon/System/Library/Fonts.
    Some apps require different Fonts  and in the case of Messages this is AppleGothic (all one word) and is found in Hard Drive/Library/Fonts.
    You would normally use the Apple App called Font Book to check these Fonts are working properly.
    Prior to the Yosemite version of Messages (still called Messages 8 like th Mavericks version) you could change the Font use in the actual Messages in the app.
    On a Character or word or Sentence basis there was the Format Menu.
    There was also a Pane in th Preferences called Messages that let you choice the Font, the colour of the text and the  colour of the balloons for Out going Messages and also Overriding the incoming ones.
    You can no longer do this as the Preferences Pane and the Format Menu have gone.
    7:20 pm      Thursday; December 11, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • How do I get firefox to open a new window when i click on a link in a webpage ?

    When I click on a link in a webpage in Firefox, generally it opens the new page in the window i am in (though some times it does not). How do I get it to open a new window (or tab) each time I click a link.
    For example, on www.bbc.co.uk if I click on a link, the new page opens in the same window, if I then click another link in the new window, again, it opens in the same window. To get back to the original window, I have to use the back button twice. Surely there is a setting so that all 3 windows can be open on separate tabs or separate windows.
    I have been to the tabs window in options, but doesn't seem to make a difference.

    Open link/bookmark in new tab in same window:
    *Middle-click (press the mouse scroll wheel) the link
    *Ctrl+left click the link
    *right-click the link, choose "Open Link in New Tab"
    Open link/bookmark in new window:
    * Shift+Enter on the link
    * Shift+left click on the link
    See: http://www.7is7.com/software/firefox/shortcuts.html

  • I have iTunes 11.0.1 and no matter what I do I cannot get it to open any extra windows.  Double clicking does Nothing.  Help Pleez.

    I have iTunes 11.0.1 and no matter what I do I cannot get it to open any extra windows.  Double clicking does Nothing.  Help Pleez.

    I certainly agree. You can comment to Apple on the matter via their feedback page, if you wish:
    http://www.apple.com/feedback/itunesapp.html
    Perhaps if enough of us request it, they'll put that feature back.
    Regards.

  • I am having trouble with my mac book air. I think I have a virus because everytime i click on a link it openes up popup windows and other things. How do I reset teh computer?

    I am having trouble with my mac book air. I think I have a virus because everytime i click on a link it openes up popup windows and other things. How do I reset teh computer?

    Please post a screenshot that shows what you mean. Be careful not to include any private information.
    Start a reply to this message. Click the camera icon in the toolbar of the editing window and select the image file to upload it. You can also include text in the reply.

  • Dynamic Action on "Get Focus" After Closing a Popup Window

    Hi,
    From one of APEX Application Pages I am calling a Popup Window where users can create a new record. In the Popup Window once the record is created and window is closed, I want to refresh the region on the main page to show the record created in the popup window.
    How do I create a dynamic action which will fire when the main APEX window gets the focus (after the popup window is closed). ?
    Any pointers will be greatly appreciated.
    Thanks & Regards,
    Ashish Agarwal
    http://www.asagarwal.com

    Assuming that you have a dynamic action in the parent page which refreshes the region
    <li> Make a note of the event which triggers your dynamic action, lets call this event A.
    <li> Create a JS function in parent page which triggers event A when called.
    For example if your Dynamic Action trigger is a button(id ="P100_REFRESH") press event
    Your JS function could be
    function Trigger_refreshRegion()
      $('#P100_REFRESH').click();
    The way in which you simulate the Dynamic action deoends on the firing event that you have used, so modify it appropriately.
    <li>Now in the pop up page, if you are closing the page in JS using smthing like window.close() or so,
    just call the parent page's refresh JS function there using the
      opener.Trigger_refreshRegion(); //whatever was the name of the function that you created.

  • Action to open a popup windows?

    Hi experts,
    In a view I want to have a button which has an action 'search' to open a popup window. So how to write this action code?
    Thanks!

    hi,
    pop up is a new window.
    so make a new view for the pop-up.
    make a window for this pop-up view.
    you will be calling this window as a pop-up.
    make a context element for your window of IWDWindow type.
    write the following code in the action of the event when you want the popup...
    //     IWDWindowInfo objWindowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("<Window name here>");
    //     IWDWindow objWindow = wdComponentAPI.getWindowManager().createModalWindow(objWindowInfo);
    //     objWindow.setWindowPosition(300,150);
    //     objWindow.setTitle("Choose Manufacturer");
    //     objWindow.setWindowSize(300,400);
    //     objWindow.show();
    //     wdContext.currentPopupNodeElement().setCtxManuPopup(objWindow);
    regards,
    -Amol

  • How to open a popup window ?

    Hi,
    I try to open a popup window it does't throgh any exception but it will not show the popup window
    I want open popup window when i enter in url of the parent window.
    Thanks & Regards,
    Merlin Roshina

    Tested successfully with the following code ...
    <html>
    <head>
    <SCRIPT>
              function openindex()
              var OpenWindow=window.open("http://yahoo.com", "newwin","height=300,width=300");
              <%     System.out.println("inside the script"); %>
    </script>
    <%     System.out.println("outside script"); %>
    </head>
    <body onload="openindex()">
    <p>Hello,</p>
    </body>
    </html>NOTE:
    The System.outs will be printed during interpretation by browser during page load and not during javascript invokation.
    Cheers
    -Rohit

  • Can't get URL to open in same window

    I am using Flash ActionScript3 - My banner has 3 images, each
    displays for ~5 seconds. I have each image linked to a web page
    with more info about each image. The problem is that I can't get
    the URLs to open in the same window! Each click opens another
    browser window. All attempts to resolve this using suggestions
    found in my googling for the answer results in error messages. Any
    help would be greatly appreciated!
    Here's my script for one of the images:

    In getURL you had a method parameter _self, look URLRequest
    definition in Flash help to see if it receives a similar parameter.
    _self is for link to open in same browser window, _blank is used
    for a new window.

  • When I click on an email link it opens in the email window instead of opening a new window, how to get it to open a new window instead

    It's Comcast email, most links are to articles from the Wall Street Journal. Lately an email from Charles Schwab broker with a link to a pdf file has been doing the same. When I click on the link, it opens within the email frame, which is about 1/3 filled up with the toolbar, mailboxes, headings etc. If it opens with 2 bars on the right side to move down, I can see the whole article, but often it opens with only one bar on the right side which will not let me get all the way to the end of the page.
    It's been happening for several weeks. I got a new computer and it's still happening. Comcast sounds like they've never heard of it. Most recently happened today. I tried the same email link with IE and it opened a new window.

    Firefox sent an email to me to confirm that I had asked the above question. The email had a link to click. When I clicked it from Firefox, nothing happened. Then I opened IE, signed into Comcast, opened the email, clicked the link, and it brought me here.

  • Can't get pdf to open in lyteframe window

    I am using lytebox in my updated website, and one of the lyteframe boxes was to open and frame a pdf file. I had it working in IE, but couldn't get it to work in firefox. It was always forcing me to save the file and wouldn't let me open it.
    I gave up on FF and redownloaded Reader 9 to see if I could get it fixed. I still couldn't get the pdf to open inside the frame in FF, but at least it opens in a new window now. Unfortunately now I can't get it to open inside the frame in IE. The javascript works and a frame opens up, but as soon as it opens, the pdf opens in a new window, leaving a blank, white filled empty frame below.
    In Reader I have "display PDF in browser" selected, and in IE I have "reuse windows for launching shortcuts" selected in the advanced options settings selected. I don't know what else to do. I have deleted and reinstalled Reader 9, and I still have the same problem, and I also reset IE7 in case it was the problem. It still keeps doing the same thing.
    If I can't get this fixed, I'm just going to switch it to html text with a pdf link at the bottom to print, but I would much prefer to just have it link to the original pdf.
    thanks in advance for any help you can offer.

    You might look at the following somewhat related thread to see if any of the solutions work for you.
    http://www.adobeforums.com/webx/.59b5b772/96

  • Opening a popup window with fade effect

    Hi,
    I have a scenario where I want to open a pop up title window with some nice effect.
    Can you please suggest how do I achieve it?
    I have a repeater that repeats set of Text UI comps and I want to show a pop up window on MouseOver or MouseClick of each of these Text UI comps.
    Please help.
    Thank you,
    Amey

    if you want to open an title Window with a smooth fade effect there are more than one possible ways.
    1. Declare Fade Effect
         <s:Fade id="windowFade" target="{_titleWindow}" alphaFrom="0.0" alphaTo="1.0" />
    2. Execute the fade effect on openening
         2.1 start the effect after the PopUpManager.addPopUp
         PopUpManager.addPopUp(_titleWindow, this);
         windowFade.play();
         2.2 start the effect on added-Event
         protected function titlewindow1_addedHandler(event:Event):void
              windowFade.play();
    3. Make sure the effect is stopped before you start the animation with windowFade.stop()

  • Open a popup window in the maximaize mode

    Hi All,
    I want to open a pop-up window in maximize mode, so that it fitted to my application window
    properly.
    Is there any method for maximizing pop-up window available?
    Regards,
    Praveen

    IWDWindow externalWin = wdComponentAPI.getWindowManager().createNonModalExternalWindow("http://www.google.co.in/", "External");
    externalWin.setWindowPosition(WDWindowPos.CENTER);
        externalWin.setWindowSize(1280,850);
        externalWin.show();
    the dimension given above opens the external window in the maximum size

  • Opening a popup window from another popup

    Hi,
    I want to know if a popup window can be opened from another popup window??
    Iam trying to do this from a JSP page
    <td><a href="../common/help/Help_FAQ.html" onClick="return popup(this, 'FAQ','width=900,height=500,scrollbars=1')">FAQ.Now I have another link in FAQ page, which when clicked , rather than opening a separate full size window, overlays on the FAQ window with the FAQ window width and height.
    Any help is appreciated.

    Thanks.
    It was a mistake on my end.
    Instead of having <script type ="text/javascript"> I had only "javascript"
    and the page was not picking up the function .
    Now,, It is solved.

Maybe you are looking for