Can you open a second jsp page as popup/new window?

Hi all gurus!
I have a question regarding popups/new windows in an iview application. Instead of starting with a question let me instead describe what I want to do.
We have a jsp page that presents a search and then the search result in a table where one column is "clickable". When the user clicks a cell a server round trip retreives data specific for that cell value. This is standard functionality and already fixed so here is what differes: we want a new jsp window to open like a popup, with the data retreived from the server round trip and at the same time the first page with the table shall still be there so that you just can close the popup and click the next cell which creates a new server round trip and a new jsp popup and so on.
My solution which doesn't work yet: In application "a" I have a JavaScript for the clicked cell which opens another iview application "b" in a new window, by window.open("navurl_to_the_iview"), and that works fine.
At the same time the value of the clicked cell is written to the data bean and the bean is put in the http session (since component session does not reach between applications).
The second iview "b" retreives the bean from the http session and fills the jsp page with data.
Here is now the problem: no data is displayed and this because the iview "b" retreives the bean BEFORE iview "a" has been able to put the bean/value into the http session. How do I know this for sure? Simple, if I do a refresh of iview "b" the value is displayed.
I could do a JavaScript that recursively checks if the value in the bean is null or not but then I have to do a method that retreives the bean from the http session each time.
This could work but I wonder if this is the most simple solution. So my question for you gents and madams is: do you know of a more simple solution?
Best regards
Benny Lange
Edited by: Benny Lange on Oct 6, 2009 11:33 AM

Hi you all.
In this case the solution was to pass the id in the url to the second iview and let that iview use the id to retreive data from the backend system.
But I still think the question is interesting, if it's possible to open a second jsp window after a server round trip and still have the first one open.
All the best
Benny

Similar Messages

  • How can you opening the tree.jsp page to a specific folder?

    I am trying to pass a query string into the viewer.jsp page so that I can open the appropriate folder relating to that query string. I can't find a way to do this as of yet. A lot of the code doing the work is only .class files so it is challenging.
    If you have any ideas as to how to begin to tackle this problem please let me know. Basically the querystring would contain the folder I want the tree to open to.
    Thanks,
    Simon

    See:
    *https://mike.kaply.com/2012/02/09/integrating-add-ons-into-firefox/

  • Can you open a  seperate photo page?

    Hi all, I recently ran across a website where the images were able to open in a seperate page as well as the usual photo gallery and slideshow. Does anyone have any insight as to how this is done?
    This is a link to that website
    http://www.francoiskalife.com/FRANCOISKALIFEPHOTOGRAPHY/PORTFOLIO.html
    My website is: http://www.richardgardnerphotography.com/Richard_Gardner/home.html
    Richard

    There are probably many ways to do accomplish this, but you should post your question on a forum dedicated to web design as they would be geared more toward your question then an forum that focuses on installation and setup issues of OS X.
    www.webdesignforums.net
    www.webforumz.com
    www.webdevforums.com

  • Opening a HTML or JSP page in a new Window

    Hi ,
    I want to open a jsp or HTML page from OPA screen. For this I have created a custom button, upon clicking on this button OPA is throwing ScreenNotFoundException Invalid screen Id.
    Is there any other way to accomplish this?
    Regards,

    I am trying to open a jsp page on which i am fetching some information from data base. User can select the displayed data, on that jsp page, by a radio button and can return to opa with that selected data. How the page opens with exception mentioned above.

  • Opening one of my pages in a new window.

    Hi there, i'm trying to create link that opens a larger version of an image in a new window. So far i've created a hyperlink from the original (small) image to a larger version of the same image on a new page but it doesn't look like i can get that new page to open in a new window. Is there anyway to make this happen? Thanks in advance.

    Toby:
    This is what Alancito is referring to:
    Click to view full size
    Or you can use one of these methods:
    Opening Item in a New, Precisely Sized Window
    Fancy Zoom
    OT
    Message was edited by: Old Toad

  • Can I open dock folders in tabs instead of new windows?

    Hey, guys!
    I'm using OX 10.9 and in Finder Preferences I have "open folders in new tab instead of new window" box checked. However, when I click on "open in FInder" in a folder I have in my Dock, such as Dwonloads or Documents, it pops up in a new Finder window. In other words, I'm looking for the TotalFinder behaviour without using the app. Any help?
    Thank you all!

    Hi, John, welcome to Apple's user-to-user discussion forums.
    Does anyone here know of a way to open new windows without using command click in a tab?
    If you want links on a web page to open in a new tab, you need to command-click on them. This will work both for links set up to open in the same window and those set up to open in a new window. There is no setting in Preferences to make links on a web page automatically open in a new tab.
    There is a preference setting to open links from other programs, such as Mail, in a new tab. In Safari's Preferences, click on the General icon. Towards the bottom where it says "Open links from applications", check "in a new tab in the current window".

  • Can you change the default code that targets a new window to change the content in a div tag instead

    I created a database for store locations.  I was able to display the list of stores.  Here though I don't want the list to show the number in front of it...  I still need to find the CSS to edit my results for this one.  However, more importantly, I don't want to open my results in a new window, I want to be able to target a DIV tag instead.
    This is the code that is created to display the list of stores.
    {module_webapps,5665,a,,,_blank,,50,,1}
    Currently it opens a blank window.  I'd like to target a div tag on the right of the list area where the store info can appear.
    Perhaps the gurus at adobe can upgrade this feature?  Target DIVs instead of new or blank windows, or using frames. Below is the screen of the links created from the DB.
    Below is the blank window that it opens.
    Would like to make it open in a div to the right of the list.  Not sure how to change to core code that was created to make that change.

    I'm doing something wrong.  I have the list showing the stores in CA
    <div class="flip" id="woodcontainer" style="width: 160px; height: 23px;">
    <h1>CALIFORNIA</h1>
    </div>
    <div class="panel">
    <script>
      $("#infochange").load("{module_webapps,5665,c,41140}"); /* this creates the list of stores in CA where #infochange is the DIV I am targeting.
    </script>
    </div>
    <br />
    The code for the DIV where I want the details to load.
    <div id="infochange"></div>
    This doesn't make sense because I need to have something in the DIV as a holder of some sort? 

  • Can you open an iCloud account without creating a new or using an old AppleID?

    Got a new iPhone and had to skip the part of establishing an icloud account till later, cause I was having internet trouble, so it asked me to continue and go back later, then I saw that as I went into icloud in settings later that it is asking for me to creat another Apple ID if I want to set up an icloud account or use one I have for me? Very confusing and not very user friendly.  What options do I have?  Must I have an a new Apple ID to open an icloud account. I already have an iTunes account that is associated with my iphone and my mac and my AppleID.
    My daughter is the one I want to set up an icloud account for so she can back up to it and to use the other features, but I dont want her items to be backed up on my icloud account. The issue is that I don't want her to be able to have her own iTunes account to make purchases, as she is too young, I will need to monitor them for a couple of years yet. I am not sure what to make up of the set up process. The set up instructions are telling me that for that phone to get a new icloud account, I must create a new Apple ID for it or use an existing one. The problem with creating a new one, is she will then be able to set up her own iTunes and appstore accounts and make her own unsupervised purchase I believe?
    Presently as its setup now using her old iPod touch and now new iPhone, I create her a playlist in my iTunes account and we then sync her ipod touch or phone to it and she can then get those features and apps, photos that we assign to just her phone.
    What is my best option for this situation or do I even have any? I didn't understand the supports page steps in getting an iCloud account and using it in my scenario. it states:
    Using the same Apple ID for Store purchases and iCloud is recommended for most users. To use the same Apple ID, follow these steps:  iPhone, iPad, or iPod touch:   When you first set up your device running iOS 5 or later, enter the Apple ID you use for iTunes in the setup screens. It will be used for Store purchases and iCloud.  If you skipped the setup process, enter your Apple ID in Settings > iCloud and Settings > iTunes and App Stores.iPhone, iPad, or iPod touch:   or  You can use different Apple IDs for iCloud and Store purchases and still get all of the benefits of iCloud. Just follow these steps:  iPhone, iPad, or iPod touch:&#8232;  When you first set up your device with iOS 5 or later, enter the Apple ID you want to use with iCloud. If you skipped the setup assistant, sign in to Settings > iCloud and enter the Apple ID you’d like to use with iCloud. In Settings > iTunes and App Stores, sign in with the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match). You may need to sign out first to change the Apple ID.  So must I now create a new Apple ID or can I just set up an iCloud account without any AppleID associated with her phone. And if I need a new AppleID, do I need to link it to a credit card?

    go to the store and get an iTunes gift card.
    you can create an account using that instead of a credit card.

  • How do you open previous versions of Pages docs on new MBP?

    Besides the fact that it is absolutey rediculous that I am even having this issue, can someone please tell me there is a simple solution to opening documents made on a mac, with mac software that I am now being told "is too old and needs to be saved in '09" which I didn't have nor am running on my new computer.
    How could Apple actually release software that isn't able to communicate with an older version of itself.  Im baffled.  Someone please tell me how I can atleast extract the information and turn it into a text file.
    Thank you

    I am trying to open documents that were created in Pages '08 in the most recent version of Pages that came with my MacBook Pro.
    I think I may have figured out a work around. I found a trial version of iWorks '09 so I downloaded it and am in the process of saving the documents in '09 as the alert message stated.  Hopefully this will allow me to open them and edit them in the most recent version of Pages. 

  • How to redirect a page to a new window instead of the current one

    Can someone please tell me how to redirect a page to new window.
    I mean I am running a JSP with a button and on clicking it i am opening a new window (thru javascript offcourse),
    Now response.sendirect("New.jsp") should be opened in that new window opened.
    I tried it but the New.jsp page is opened in the current page (Even though new window is opened ! ).
    Please help.

    Hi,
    U can use the following code to Pop up in new window
    Jsp1.jsp
    <%
    if(action != "")
    response .sendRedirect("Jsp2.jsp");
    else
    %>
    <html><head><title>JSP 1</title>
    <script language="JavaScript">
    function View()
    window.open("Jsp1.jsp?action=view","View","");
    </script>
    </head><body>
    <form name="frm" method="post">
    <input type="button" value="View" onclick="View()">
    </form>
    </body>
    </html>
    <%

  • Can you set a second "Open with:" application for a file?

    Hi all,
    I was wondering if something like this exists for OS X Lion or greater: you can set a default application to open a type of file, say Safari for all .html files, but can you set a second default application for a file?
    I usually open files using command + o or command + down arrow from the Finder and I've often thought how good it would be to hit an alternate keyboard shortcut to open the selected file in a secondary default application.
    For example, if I'm making a web page and have the .html selected in the finder I can hit command + o (or command + down arrow) to open it in Safari and if the file isn't open in my editor and is selected in the Finder I can hit, say command + option + o (or command + option + down arrow) to open the .html file in my editor.
    Does anyone know if this can be achieved in OS X Lion or greater?
    Any advice is greatly appreciated.
    Thanks.

    Hi all,
    If anyone's interested in a partial solution, I've rigged up the following.
    I ended up using an Automator action coupled with Spark to capture a keyboard key combination. Spark: http://www.shadowlab.org/Software/spark
    I've used Spark before with good results, and although it's from 2008 it still works on Lion.
    I created an Automator action that does two things:
    gets the selected Finder items
    opens finder items in the text editor I'm using.
    I then saved the workflow as an application so that Spark could run it.
    I've set up a keyboard shortcut that Spark picks up and calls my Automator workflow. It all seems to work nicely.
    So, I've created a specific "open selected file with <text editor>" keyboard shortcut that should do for the time being.

  • Can you open word doc. In pages? (Opening a doc. From the web) in the iPad or iPod tuch?

    Can you open word doc. In pages? (Opening a doc. From the web) in the iPad or iPod tuch?

    NH,
    This may seem a fine point, but iWork apps don't actually Open Office apps. They Import them. The reason I make this distinction for you is that when you view the result of the import, you may see some variations from what was in the Office document because of an imperfect translation, and when you make edits, you are editing an iWork document, not the original Office document.
    Jerry

  • Can you open with Pages documents that were created in a 2004 version of Microsoft word for Mac?

    Can you open in Pages documents that were created in a 2004 version of Microsoft Word for Mac?

    Pages '09 will open .doc files from Word 2004. The Mac OS is not what is in question. Pages '09 opens Word 2004 documents and if the same version of Pages will run in Lion and in Mountain Lion ..... Thats all that matters.
    I trust you were using MS Office 2004 and would now like to buy Pages?

  • Can you open a word document in pages 08

    Quick question however stupid it is
    can you open a word document from a pc in pages 08?
    sorry in advance if i have posted this in the wrong discussion area
    cheers
    Message was edited by: Lama323

    The answer is as above wrote yes. Does it do it perfectly, the answer is no. Opening a .doc/.docx in Pages'08 will generate a frame warning message I find. I find text and symbols are preserved well, but formatting is not perfect. An example of my own is in the screenshot below. Same page 28 on a .docx but formatting of the document is not exactly preserved as you can clearly see. Where preservation of formatting is critical Pages is good, but not perfect alternative to Word '08.
    http://img225.imageshack.us/img225/2461/docxcu2.png

  • Can you open a powerpoint presentation in pages?

    I have a powerpoint presentation sent to me from a client that needs to be editable in pages. There are no animations and the size is 8.5 x 11. Can this be opened in pages in a editable format?

    Kelley,
    No, you can't open PPT files in Pages. If you plan to do this often, purchase Keynote. The other option is to use OpenOffice or LibreOffice.
    Jerry

Maybe you are looking for

  • My ipod touch 5th gen is not charging!

    so basically my ipod has been charging fine...but a wille ago it started to get inconsistant, i thought it was the cable (it was really chewed up and stuff )and it now only worked when i wetted  the end... so i got a new one... hey presto it worked!

  • AR Invoice has different currency than that of Sales Order.

    SR 3-3082378321, Release 11.0.2. Customer is reporting 3 Invoices (autoinvoiced at 3 different times) are having USD currecny_code where their (internal) sales order are in JPY. All other internal orders and invoices are fine. This problem is not rep

  • RAC Oracle 10.2.0.1 - Turning off software raid.

    Hello to everyone ! I have a RAC installed on Windows Server 2003 Oracle 10.2.0.1. with ASM option. I am running out of space and need to free some. My database is 230 GB but my storage space is about 500 GB. I have used all the space with my tablesp

  • Fill and Save PDF Form within Safari

    I know I can download, fill out a PDF Form and save. But we need to fill out PDF Forms online and have those forms saved on our server (within our Student Information Server). I cannot see any possible way of doing this, and it could be a reason our

  • How to insert new record or update existing record using a complex view?

    Currently I created this screen, there is no problems on display data, only on the update funtionality (it means insert / update / delete on the table for which the view is based on). I have a table and a complex view in order to display the informat