How to have multiple windows of same app under JSF 1.1

I know this has been addressed in JSF 1.2, but does anyone have a good solution in JSF 1.1 concerning how to allow multiple application instances to be opened in different browser windows at the same time? I work for a large financial services company and we have multiple instances of the same application up when working with more than one customer or account at the same time.
We�ve figured out a way to use a custom variable resolver and property resolver to provide an application instance scope that works with managed beans; however, we are struggling with how to handle the JSF component tree. We can replace the StateManager or ViewManager, but we will be running under a vendor implementation of JSF and do not want to outright replace their implementation. We wanted to simply define our own manager, decorate the viewId with additional information, and then pass it on to the default manager. The big issue is that while the restoreView methods take the viewId, the writeState methods do not. This seems like a pretty big show stopper to us. If we have to wait until JSF 1.2, it will be a long wait. Any ideas?
Thanks.

The way I'm thinking of doing this is to use nested beans. So for example, I'd have an "AccountBean" written as a JSF managed bean, but this is not what I'd declare in faces-config. Instead, I'd have an "AccountMgr":
<managed-bean>
<managed-bean-name>acctMgr</managed-bean-name>
<managed-bean-class>AccountManager</managed-bean-class>
</managed-bean>AccountManager would have a map of AccountBean objects. In my pages, I'd reference the acctMgr:
#{acctMgr.accts[acctEditor.acctId].firstName}If anyone has a better idea, I'd love to hear about it.

Similar Messages

  • New Update (2014.1) - How to have multiple compositions on same page?

    With the latest update, it seems as though Edge now always assumes that the composition has an element ID of "Stage". Previously, I was able to have multiple compositions on the same HTML page by simply altering the default id of "Stage" for each composition to something unique. Any workarounds for having multiple compositions on the same page utilizing the 2014.1 update?

    You can use the following approach
    Dropbox - Multiple.zip
    <!DOCTYPE html>
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
      <title>Untitled</title>
    <!--Adobe Edge Runtime-->
        <meta http-equiv="X-UA-Compatible" content="IE=Edge">
        <script type="text/javascript" charset="utf-8" src="edge_includes/edge.5.0.0.min.js"></script>
        <style>
           .edgeLoad-EDGE-77458053 { visibility:hidden; }
            .edgeLoad-EDGE-77430105 { visibility:hidden; }
        </style>
    <script>
       AdobeEdge.loadComposition('2', 'EDGE-77458053', {
        scaleToFit: "none",
        centerStage: "none",
        minW: "0",
        maxW: "undefined",
        width: "550px",
        height: "400px"
    }, {dom: [ ]}, {dom: [ ]});
    AdobeEdge.loadComposition('1', 'EDGE-77430105', {
        scaleToFit: "none",
        centerStage: "none",
        minW: "0",
        maxW: "undefined",
        width: "550px",
        height: "400px"
    }, {dom: [ ]}, {dom: [ ]});
    </script>
    <!--Adobe Edge Runtime End-->
    </head>
    <body style="margin:0;padding:0;">
      <div id="Stage1" class="EDGE-77458053">
      </div>
        <div id="Stage2" class="EDGE-77430105">
        </div>
    </body>
    </html>
    -Siva

  • How can I have multiple WINDOWS (NOT tabs) with INDEPENDENT content?

    How can I have multiple '''windows''' (''not ''tabs) with '''independent''' content?
    I used to be able to open separate windows with Firefox, and the content could be completely different in each window. No matter what I did in any window, no OTHER window open at the time, nor any of the content therein, was affected. This is no longer the case and it is extremely frustrating for me.
    I do ''not ''like tabs and do not use them. I prefer multiple windows plus I am so used to using them, for so many years now! But with v9.0.1 I suddenly can no longer do what I've always done with my browser without this aggravating problem constantly reminding me that I can't have what I want in firefox anymore.
    Or can I? Does anyone have a solution I don't realize exists?
    Thanks,
    Sowelu

    AppleScriptObjC can use pretty much everything in the Cocoa API, so yes, it is possible.
    Note that a view is not the same as a window, and a window can have multiple views. There are also many ways to implement "tabs";  take a look at some of Apple's applications - they use various mixtures of toolbars, checkboxes, and radio buttons, for example.  An application such as this will be a lot more involved than what you have done so far though, using custom classes and subclassing existing ones, so be prepared to do a lot of reading and researching.

  • Since installing the latest version... when I open a new window it opens everything I have minimized too... very annoying. How can I fix this, I mimimize to go back to a window not have multiple windows open.

    since installing the latest version... when I open a new window it opens everything I have minimized too... very annoying. How can I fix this, I minimize to go back to a window not have multiple windows open.
    == This happened ==
    Every time Firefox opened
    == after installed last version...

    Well, then isn't there some way to induce Firefox to give Windows parameters that make it open the fershlugginer window in the *same* position, instead of an offset position?
    Dafydd

  • When I'm using Safari, acasionally the menu bar just disappears. I'm running the latest version of Lion and the latest version of Safari. This is not a full screen app problem. I have multiple windows open. This happens all the time! Firefox is fine! ???

    When I'm using Safari, ocasionally the menu bar just disappears. I'm running the latest version of Lion and the latest version of Safari. This is not a full screen app problem. I have multiple windows open. This happens all the time! Firefox is fine! What the ****? Please help!

    Right, like I'm trying to say, THERE IS NO SAFARI MENU bar. Example: I have multiple applications open, I click on a Photoshop window, the correct menu or title bar or whatever changes. Every other application window I click on brings up the correct "whatever" bar. If I click on the desktop, the "Finder Bar" shows up.
    Everythiing else, BUT SAFARI, works the same way since OS X came out.  This is ridiculous.
    I'm getting the vibe that Apple is trying to get rid of the finder.... this is the way wrong direction.

  • How to have multiple images on the same screen? like in the movies where you see several actions at

    how to have multiple images on the same screen? like in the movies where you see several actions at the same time ....
    i don't find  a tutorial in adobe tv....
    thanks !!

    The short answer is that you'll put the source clip(s) for each inset on a different video track, all stacked up. Then use the Scale and Position effects (under "Motion" on the Effect Controls panel) to reduce their size and place them where you want.
    If the content of an inset will involve edited content (where you're cutting among various clips or just trimming out unwanted content from a single clip), then you'll probably find it easier to do all those edits in one sequence, then nest that sequence in the master sequence, where you apply the Scale and Positioning effects. That will save the step of applying the scale and position effects to each edited track item.

  • I have apps loaded on my iPad. they show in the main screen are not available to load documents to in the window list which should appear below the main window. the same apps do appear in the sub window on my other iPad. any ideas?

    i have apps loaded on my iPad. they show in the main screen are not available to load documents to in the window list which should appear below the main window. the same apps do appear in the sub window on my other iPad. any ideas?

    From what I can see, unless you're doing things with old versions of Xcode on a Mac (in which case, the solution seems to be to upgrade to the latest version), this seems to e an iTunes issue.
    Accepting that it works fine with another iPad, I suggest trying the following:
    1. Restart the non-working iPad
    2. If that doesn't work, reinstall iTunes. If you're on a Windows PC, I suggest using Control Panel to uninstall all the Apple apps, restarting the PC, and doing a fresh install. If you're using a Mac, a repair permissions might help too.
    iTunes 10.3 is now available, and that may make a difference.

  • How can I shut off spaces so I can have multiple windows on my desktop, how can I shut off spaces so I can have multiple windows on my desktop

    How can I shut off spaces so I can have multiple windows open on my desktop?

    Hi,
    Section #2 of the Printer Ststus report will tell you. Please try:
    Printer status report
    Use the printer status report to view current printer information and ink cartridge status. Also use the printer status report to help you troubleshoot problems with the printer.
    The printer status report also contains a log of recent events.
    If you need to call HP, it is often useful to print the printer status report before calling.
    To print the Printer Status Report
    1. From the printer control panel display, touch and slide your finger across the screen and then touch Setup.
    2. Touch Print Reports and then touch Printer Status Report.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • I just want to kno how many time do I have to buy the same app?

    how many time do I have to buy the same app?

    You are going to have to articulate a little more clearly what your issue is. General statements like buying the same app every year is not helpful.
    What, exactly is your issue? What Apps are you having to buy over and over? If you cannot take the time to describe your problem fully and clearly, then we can't help you.
    GB

  • Is there a way to un-minimize multiple windows in an app simultaneously?

    If I have multiple windows minimized in an application, it is tedious to have to click on each one to un-minimize them. Is there a short cut to un-minimize many files in one move?
    I'm in Snow Leopard.
    Thanks.

    Yes.
    Hold down the Option key while clicking one of them in the Dock.
    This is one of several variants of Option used in conjunction with window controls -
    Hold down Option while clicking the Close button, and all windows for that app will close. Applies to a bunch of Finder (folder) windows, too.
    Hold down Option while clicking the Minimize button, and all windows for that app will be minimized.
    Hold down Option while in one program and click the window of another app (desktop counts as Finder for this purpose). The windows for the first app will be hidden and focus will be moved to the second app. The first app can be unhidden by clicking its icon in the Dock.
    Hold down Option while clicking a folder in a Finder window, and the parent folder's window will be closed at the same time the second folder is opened.

  • Switch between fullscreen windows of same app

    I have Safari open and have multiple windows that are opened as fullscreen.  I want to be able to switch between the fullscreen windows of Safari with a keyboard keystroke.  When not in fullscreen I can use Cmd-` to switch between windows of the same app but I am unable to do this in fullscreen mode and perfer to use the keyboard as much as possible.  Any help would be great.

    So far I've found that I can use ctrl-left and ctrl-right to switch back and forth between widgets, desktop, and fullscreens but I would rather use cmd-tab to switch to the app and then switch between windows in that app.

  • How to distribute my windows phone 8 app and windows store app without publishing in the store

    How to distribute my windows phone 8 app and windows store app without publishing in the store
    any business license or enterprise license needed..
    I am a windows developer talking behalf of my company i.e  wipro
    I have a question about the enterprise license   and  we are building an app for the limited users i.e our company employees and users and we do not want to publish in the store
    How to release the app?
    what are licenses etc needed?

    Hi,
    for developers distributing apps without Publishing in the Store, the sideloding Enterprise key license through volume licensing is required.
    Starting May 1, 2014, customers who want to enable sideloading will be able to purchase an Enterprise Sideloading key for $100 through the Open License program. 
    An unlimited number of devices can be enabled for sideloading using this key.
    thanks
    diramoh

  • How to create multiple instance on same database

    Hi ,
    I would like to know how to create multiple instance on same database . I know that some people use database configuration assistant to do this but i could not figure out how they did it.
    Any how if some one can help me with this and can give me links of this it would be great help for me.
    Thank you for reading my problem and helping me !
    Amil
    please if possible mail me on [email protected]

    How to create multiple instance?????Do you mean multiple instances on the same database, or multiple databases on the same machine ?
    I m new to this field....
    Willin to learn a lot about oracle....Then it wouldn't be bad reading a bit of Database Concepts

  • TS4006 can you have multiple phones on same user email

    can you have multiple phones on same user email

    If you mean can they share the same iCloud account, yes.  Just be aware that when multiple devices share the same iCloud account, any data they sync with the account will be merged and the merged data will appear on all of the devices.  Also, any action taken on one device (such as adding or deleting contacts) will also be taken on all other devices sharing the account.  Finally, the iCloud backups of all the devices will share the same iCloud storage space.

  • How to have multiple orders for a single contract

    Hi all, my question is:
    How to have multiple orders with respect to a contract which is valid for many years? The orders are given periodically over the lifetime of the contract. Once the order is given, the order quantity needs to be confirmed and then the order needs to be billed.
    Thanks in advance.

    Hi Bappaditya,
    To get multiple orders from a contract, you can either create an order as a follow up document from the contract
    Or
    Maintain the contract determination settings.
    In such a case, everytime you create an order the contract determination happens, for the particular business partner and product.
    For this to happen you need to maintain the customizing settings:
    1. Copy Control between contract and order
    2. Contract determination setting in the order transaction type
    The qunatity confirmation can be done by standard setting at itme category level.i.e. If the quantity is more than that stated in the contract an error is raised.
    For billing of order you will have to maintain the billing setings like billing type, biliing item category, billing item determination.
    Hence every time your order is created it comes in the billind due list from where you can create the blling document.
    Wish the information is helpful.
    Regards,
    Shalini Chauhan

Maybe you are looking for

  • Location services shows wrong location

    I have an iPhone 5 with latest iOS. I live in Kennesaw GA. I installed xfinity Internet at my new home. When my phone is connected to wifi, it shows the current location as charleston SC.   This is for any app that uses the GPS. My wife has an iPhone

  • What uptime do you expect from your Mac?

    Hey everyone... I was having an issue with kernel panics, usually after about a week of uptime. My MBP (2010) would slow up and about an hour or two later, it'd panic and I'd have to restart. After troubleshooting the RAM and my external devices, I d

  • XSLT usage with JDOM problem

    When I try to do an XSL transformation on a JDOM tree using Oracle's xml classes from xmlparserv2.jar (includes the javax.xml.transform api) I get the following: java.lang.ClassCastException: org.jdom.transform.JDOMSource$DocumentReader      at oracl

  • Smart Web Printing cursor

    On some web sites, when I go to select a portion of the page the cursor, instead of being the normal cross hairs, remains as a hand and therefore any movement up and down just moves the page accordingly.  I am using Windows XP SP3

  • How do I export a 98 min video edited in FCP 7 to IDVD for single disc DVD burning?

    How do I export a 98 min video edited in FCP 7 to IDVD for single disc DVD burning?