Is it possible to have Multiple Browser Windows for a Faces App

I have just read from another thread
http://forum.java.sun.com/thread.jsp?forum=427&thread=308725
that states:
..the RI only keeps state for one URL at a time (in the words of the spec: "if the JSF implementation has saved state information for a tree identifier /foo in the user�s session, but receives a request with URI /faces/bar, the saved state information will be thrown away.").
That means that if you hit the /faces/ servlet with anything (e.g. /faces/css/mainX.css) after it has rendered your .jsp page, all the state necessary to process your form will be lost.
This must mean that I cant have more than one browser window with a faces
app at a time, I think that it is necessary to provide the funcionality.
My application is showing database tables and allows the user to edit them, but to restrict the user to one window doesnt seem feasable.
If you cant have more than 1 window then command_hyperlinks have serious drawbacks in that the user could be tempted to right click and open another window, then the application would not
work when changing from one window to another.
I have an idea but I cant see how to get it to work.
a hidden page-thread id that identifies which browser window/tab the user is on and that identifies a page-thread map that stores values such as the component tree and other things like list iterators, the problem is that if the user "clones" the window you would need to clone the map and change the hidden page id.
Does javascript know a window id that it could send?
Any bright ideas.
How do uSoft manage this?
Is http the right protocol????
As I understand faces apps should be run in a browser window with no back/forward buttons and without any command-hyperlinks to /faces/... so that the user can never break the program, is this correct?
Andy

I have just read from another thread
http://forum.java.sun.com/thread.jsp?forum=427&thread=3
8725
that states:
..the RI only keeps state for one URL at a time (in
the words of the spec: "if the JSF implementation has
saved state information for a tree identifier /foo in
the user�s session, but receives a request with URI
/faces/bar, the saved state information will be
thrown away.").
This used to be the case until EA4 because it has been fixed. Future release will also support necessary API that gives you control over what to save or what not to.
-Jayashri

Similar Messages

  • If I have multiple browser windows open (not tabs, windows) and I close 1 of them, why do ALL browser windows close?

    If I have multiple browser windows open (not tabs, windows) and I close 1 of them, why do ALL browser windows close?

    How are you closing the window?
    Are you using the File menu or the close X on the title bar?
    Use Alt + F to open the File menu with the Close Tab entry visible (doesn't work with the mouse).

  • When I have multiple browser windows open - but in the "minimized" mode - and I want to open up one of them for viewing, ALL of the windows automatically open as well. How do I prevent this annoying function. I cannot find it anywhere in the options.

    This does not appear to be a system issue, but rather a functional aspect of the browser windows. E.g., if I have 7 browser windows open to different sites... and all are Minimized, and I decide to open one to study, THEY ALL POP OPEN automatically. I am using Firefox v3.6.8 on Windows 7. This is an annoying behavior of the browser, and I am sure it can be somehow "turned off" but cannot determine how to do that. I have looked through all options. I am not a techie, but have reasonable proficiency with software apps.

    This can happen if you drag a tab slightly down in the browser window while clicking.
    Firefox has a feature called tear-off tabs
    You can detach a tab from the current window and open it in a new window by dragging a tab in the browser window.
    You can also do this via the right-click context menu of a tab: Move to New Window
    You can drag that tab back to the tab bar in the original window to undo that detaching.
    * https://addons.mozilla.org/firefox/addon/bug489729-disable-detach-and-t

  • Best way to approach... Wizards and Multiple Browser Windows?

    How have others got / would others get around the following problem?
    I have a 4 page custom-built wizard to collect information about people and then, on the final step, insert that information into my PERSONS table. I use the same 4 pages as an Update wizard as well (I have a hidden item which is set either to 'CREATE' or 'UPDATE' depending on whether the wizard is in CREATE "mode" or UPDATE "mode" which I can then use in conditions to tell the app which process to run.) This works nicely and by using the same 4 pages for both my update and create wizards it means I need half as many pages.
    When a user enters page 1 of the wizard in UPDATE mode, pages 1, 2, 3 and 4 are populated with details of the person record they are updating. They can then change the values they wish, navigate to the end of the wizard with the "Next" button and then save the changes.
    When a user enters page 1 of the wizard in CREATE mode, I clear the cache for pages 1, 2, 3 and 4. The user can then navigate through the pages using the Next button and then click "Save" to save the new person (perform the INSERT into the DB).
    The problem comes when the user is half way through an update wizard and then, for some reason known only to the user, decides to open a new browser tab/window and start a Create Wizard in this new tab. Starting the Create Wizard has the effect of clearing the cache for the 4 pages which is an issue for when the user goes back to his other tab and tries to continue with the Update Wizard he was half way through (because all the items will have been NULLed). This problem occurs essentially whenever the user initiates one wizard (CREATE or UPDATE) when he is already half way through another one: One of the wizards is always going to get "messed up".
    I would be interested to hear how others have dealt with this problem in the past? Somehow limit the user to having one Wizard open at a time? Or something else?
    All/any comments/thoughts/suggestions much appreciated,
    Thanks
    Andy

    Hello,
    Well the easiest way around it is user education. Just put an information blurb on the right that says.
    >>
    Running this wizard in multiple browser windows or tabs will/could cause malformed data to be saved.
    >>
    Just like when you do online credit card transactions and they tell you not to click twice or you get charged twice.
    The problem is that the same browser , if in different windows or different tabs, will share the same session.
    You could maybe store all your information in a collection or something and not save or clear cache till the end, but that seems like overkill, just put some text in there that says don't do this!
    Carl

  • Creating multiple browser windows in Flash or Dreamweaver

    I created a Flash site with several scenes. Is there a way to
    command and code in Flash via Action Script and/or Javascript the
    creation of multiple browser windows each holding one of the scenes
    upon the release of a button corresponding to a respective scene?
    Can this be done in Dreamweaver alternatively? If so how? Can it be
    done at all?
    Thanks so much.
    Jody W

    Hi Gorka:
    I’m finally able to focus on your suggestions and
    hopefully finally finish my site. Just to make sure I’m clear
    on your advice using a scene called “paintings” as an
    example, I discard my earlier code such as <PARAM name =
    “FlashVars” value = “jodysite_paintings.swf =
    paintings”>, and replace it with the code you suggest that
    would look like this once completed (below)?
    <PARAM name = “FlashVars” value =
    “jodysite_paintings.swf =<?php echo $_GET[' paintings
    '];?>”>
    <EMBED FlashVars = "jodysite_paintings.swf=<?php echo
    $_GET['paintings'];?>"></EMBED>
    And in the Actions window for the button that would open a
    new browser window upon release for the “paintings”
    scene, the Actionscript for that button would read:
    getURL("javascript:window.open('
    http://www.jodywidelitz.com?scene=paintings','Paintings',
    toolbar = no, menubar = no, scrollbars = yes, location = no,
    fullscreen=yes, width=1024,height=768); void(0); "_blank", "GET");
    if(paintings != undefined){
    gotoAndStop(paintings, 1); 1 is for frame 1
    This is the way I have the code now, but I developed a glitch
    as soon as I changed the code. My preloader stays caught up in a
    continual load that won’t finish, and won’t advance to
    the next scene. It was working before I entered any FlashVars
    coding. So the Flash movie embedded in Dreamweaver stays blank.
    Also, I am using the original Flash MX and Dreamweaver MX from
    2002-2003. By some chance, does this earlier version of Flash MX
    not recognize FlashVars? I do have the DOCTYPE as <!DOCTYPE HTML
    PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> to allow any
    deprecated code, etc.
    Thanks again,
    Jody

  • Is it possible to have multiple search results page using one Search Enterprise Center site?

    Hi,
    We're using SharePoint 2013 and I'm trying to modify the search results page for one site collection. By default, it uses the search results page from the parent site which is the search center being used by default for the web application. I need to make
    sure that the site collection will only retrieve search results within the site collection (search everything has to be disabled). I found a way but I had to create another search center site to accomplish this, otherwise, it will affect the search center
    site of all other site collections on the web app.
    Now is it possible to have multiple search results page using one Search Enterprise Center site?

    Hi,
    According to your description, you want to retrieve the search results within the site collection.
    As a workaround, you can create a custom result source for the site collection and you will retrieve the search result within the site collection.
    More information about how to create result source in SharePoint 2013, please refer to :
    http://technet.microsoft.com/en-us/library/jj683115(v=office.15).aspx
    http://techmikael.blogspot.com/2013/04/limiting-search-results-in-sharepoint.html
    Best regards

  • Is it possible to have multiple locations in the Google Maps widget?

    Hey folks,
    Lets say you're designing a website for a client with multiple stores, you just want to point them all out, right?
    Just want to know if it is possible to have multiple locations in the Google Maps widget. I guess it shouldn't be that difficult, but I can't figure it out..
    any help would be highly appreciated!
    thanks,
    Thom

    It seems that you can only use one address for this widget.
    For this to work you will need to create the map in Google Maps with all your points and then copy the embed .html from Google into Muse.
    Example of an embed google map with multiple points imported into Muse:
    (Object/Insert HTML)

  • Is it possible to have multiple links in single page?

    Is it possible to have multiple links in single page for
    linking in different slides like in a websites? My deadline is
    nearing in. Adobe folks please help me.

    > Is it possible to have multiple links in single page for
    linking in
    > different slides like in a websites? My deadline is
    nearing in. Adobe
    > folks please help me.
    >
    Add multiple click boxes to the page.
    Steve
    Adobe Community Expert: eLearning, Mobile and Devices
    European eLearning Summit - EeLS
    Adobe-sponsored eLearning conference.
    http://www.elearningsummit.eu

  • Is it possible to have multiple users on a single ipad

    Is it possible to have multiple users on a single ipad

    Once a device or computer is associated with your Apple ID, you cannot associate that device or computer with another Apple ID for 90 days.
    http://support.apple.com/kb/ht4627

  • Is it possible to have multiple "ATI HD 3870" in a macpro?

    is it possible to have multiple "ATI HD 3870" in a macpro?
    thinking of getting me a mp but want more videocards with more vram (more more more)
    now there is the option to get 4 ati2600 can i also install 4 3870's?
    -mj

    Power limit on the video card power supply is 350 watts. A 3870's maximum power consumption is 170 watts.
    There are slots for up to four video cards. That's all. If the four cards don't require more power than the power supply can provide, then you could install four cards. For example you could install four 7300s since each card only requires 50 watts..
    As I said more video cards just gets you more monitors. There is not improvement in video performance nor amount of video RAM.

  • Is it possible to have multiple pause the require view to click "continue" button to proceed?

    Is it possible to have multiple pauses the require view to click "continue" button to proceed?

    1. Turn the video into a symbol.
    2. Set stage, symbol and video to not autoplay.
    3. Set play in the video playback at the start of the video timeline.
    4. Set pause in the video playback at the prefered time on symbol timeline.
    Once I convert it to a symbol , the pause funtion is not showing on playback.
    5. Zoom in as much as you can on symbol timeline and set trigger "stop all" for the symbol right after the pause playback marking.
    6. Set play in the video playback right after the "stop all trigger" marking.
    7. Create button with action play symbol.
    You can now play a video which will stop at a pre set pause, and make it countinue to run by clicking the play button again.

  • Is it possible to have multiple different texts conversations with the same two people?

    In iOS 8.1.3 is it possible to have multiple different text conversations with the same person? I'm looking for a way to set an old conversation aside to talk about something new.
    Is this possible?

    speculation is agaisnt the ToS here, but you never know (I was shocked when we got 8 track recording in GB2)
    best thing to do is to send Apple some Feedback and let them know what features you want (they really do read what's sent):
    http://www.bulletsandbones.com/GB/GBFAQ.html#sendfeedback
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Is it possible to have multiple time machines on the same password protected network?

    is it possible to have multiple time machines on the same password protected network?  any insight would be helpful  thanks

    Youshould set one of them up to extend the wireless network. That one would not need an Ethernet connection and would allow your network to cover a broader area.

  • Aperture: two browser windows for same project?

    I know that I can have two browser windows, each showing a different project; I want to have two browsers windows for SAME project. Is there a way to do this?

    Can't be done as far as I know. Here's a link to some tips on multiple tabs in Aperture. http://www.apertureexpert.com/tips/2010/9/7/aperture-has-tabseasily-compare-proj ects.html

  • Some artists don't qappear in browser window for a playlist

    I've been struggling to find a way to browse a large library of classical music. The browser window is a great idea but I can't find a way to add a browser window pane for the Composer tag. So I selected all the tracks with composer=beethoven and made a playlist.
    I notice that some artists for tracks in the playlist don't appear in the Artist browser pane. (For example, Szell/ Cleveland Orchestra.) I don't know how many Artist names are missing from the Browser's Artist but there are at least 2 missing.
    I can see the Artist name "Szell..." in the track listings for the playlist. If I'm browsing the library, I see "Szell ..." in the Browser window Artist pane. I just don't see "Szell ..." in the Artist Pane of the browser window for the Beethoven Playlist.
    I tried deleting the Beethoven playlist and re-creating it. I get the same problem again.
    I'm using iTunes for Windows v 4.7.1.30. I haven't upgraded to the latest iTunes for Windows because I see reports of problems after the upgrade.
    Bill

    My quess on weather or not an artist's name appears
    depends on the nature and quality of the CD. On my CDs
    of Beethoven symphonies or piano concertos Beethoven's name
    will appear.
    As I said in my first message, the artist name appears in the track listing. I have edited the tags to show the correct composer ("Beethoven" in this case) and to show the soloist then conductor and then the orchestra in the artist tag. ("Szell/ Cleveland orchestra" in this case.)
    I see the "Szell..." in the artist field for the tracks for the symphonies conducted by Szee in my library. When I select Library in the source list, I see "Szell..." in the Artist Browser list. However, when I select the Beethoven playlist, I don't see "Szell ..." in the Artist Browser list. I see the tracks listed and the Artist field says "Szell ..." as expected.
    This isn't a problem with the information in the CDDB database iTunes uses to get the tag values it assigns to tracks from a CD. I've edited the tags to fit my conventions.
    Bill Hunt

Maybe you are looking for

  • This application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem.

    I recently tried to download the latest version of iTunes, but an error occured during the process. It was recommended that i reinstall iTunes to attempt to correct that problem. After I attempted to reinstall, an error came up with the title "iTunes

  • How to find Special Characters in a table ?

    Hi, I have a problem, during a data upload by the client, some special characters were uploaded in the database. Sample data : " AC Power Cord Denmark " I want to find all records containing such special characters and update them. TOAD is able to di

  • Asset accounting-QUESTIONS

    Hi Gurus, I got some questions for asset accounting request all of you to kindly extend your help my questions are     What is Asset History? ( OAOA) 2)     How the data flows from Asset Accounting to Controlling? 3)     When the asset value is zero

  • File sharing via NFS - permissions problem? SOLVED

    I'd like to share files between my two linux boxes, a desktop (DT) and a laptop (LT).  DT runs Xandros 3, LT runs Arch.  They are connected via a router. NFS works all right, up to a point.  Using NFS, I can access all filesystems on DT from LT but t

  • Quicktime program to show up in my system preferences?

    I just bought the new Quicktime Pro application-  for $30.   I have been sitting here for over an hour and Cannot find out how to download it.   The "downloading steps" first instruct me to go to my APPLE ICON, Select SYSTEM PREFERENCES, and then sel