Multiple skin in the same application

We applied a class skinn to our entire application as
Trininad-config file. XML
----------------------------
< trinidad-config xmlns = "http://myfaces.apache.org/trinidad/config" >
ShipmateSkin < skin-family > < / skin-family >
< / Trinity-config >

In trininad - skins.xml
---------------------------
< skins xmlns = "http://myfaces.apache.org/trinidad/skin" >

< skin >
Sample < id > < /ID >
< Home > ShipmateSkin < / family >
org.Apache.MyFaces.Trinidad.desktop < render-kit-id > < / render-kit-id >
< extends > blafplus - rich.desktop < / extends >
css/ShipmateStyle.css < name-sheet-style > < / style sheet name >

< / skin > < / skins >


Can you give a class of skin more within the same Application?

pls advice

Yes, you can

Trinidad - skins.xml



 
  abc.desktop
  abc
  oracle.adf.desktop
  skins/abc.css
 
 
  test.desktop
  test
  oracle.adf.desktop
  skins/test.css
 

Trinidad - config.Xml


#{sessionScope.currentSkin}

Change skin to test

FacesContext context = FacesContext.getCurrentInstance();
Map sessionMap = context.getExternalContext().getSessionMap();
sessionMap.put("currentSkin", "test");

Change skin to abc

FacesContext context = FacesContext.getCurrentInstance();
Map sessionMap = context.getExternalContext().getSessionMap();
sessionMap.put("currentSkin", "abc");

Tags: Java

Similar Questions

  • How to switch between multiple windows in the same application?

    Hello

    I use OS X Capitan version 10.11.13 and I'm trying to find an easy way to switch between multiple windows in the same application by using CTRL + alt or different keys.

    Here is what I feel...

    Let's say I have Outlook, Google Chrome, Safari, iTunes and apps 'about this Mac' open.

    I open the new message window in Outlook and another Chrome window. I have therefore 2 separate windows in Outlook and Chrome.

    With that, I'm unable to move the composition and the window main outlook which is so annoying. Let's say I want to read the emails by the prospect main window and transfer of the content of the compose window! The command + tab doesn't take me to the main window of Microsoft outlook! Even if there were the last visited / applications window. This constraint is not intuitive, unless it can be configured in the settings?

    Strangely, I can't switch to the "about this Mac" window.

    The work around is to use the function (F3) mission button and click on the window, that I want to use or click the "Outlook" application on the dock icon and choose the window in the list.

    Does anyone know how switch between different windows in the same application by using a key combination or one another method other than listed above?

    Thank you

    Avinash

    In general, an Application that can open multiple windows provides a "Windows menu" you can choose the window you want.

  • Multiple PhoneListeners in the same application

    Hi all

    I'm trying to add two PhoneListeners in the same application and find that the other will not get invoked. I have an application that has two entry points in one of them being a module system and start-up of the unit. Which will record an instance of the class with Phone.addPhoneListener a. Then the user starts the user interface of the application that, at some point, also recorded a PhoneListener, this time a failure of class B. The recording goes, class static fields B get initialized I see in newspapers (which is still quite a strange story...) but this second listening port methods are never called, while the first will be. Now, if I Uncomment the a-class record in the background then case process, auditor of class B in the user interface will receive reminders... What is happening here?

    Thank you

    Laszlo

    I was pulling my hair. I just redid my request so that the daemon starts listening when the GUI is finished to do. Now for some strange reason, that it works always, although I tried several times commenting on the listener in the daemon and then put it again and it showed that the problem is caused by several headphones. Then after refactoring it still does not work...

    and then I found this thread http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=23282 that describes the same problem. Mark Sohm replied that it was a known issue and it has been fixed in the latest versions of 4, 5-7. It is what explains why it manifests for me not in 4.6 and 4.7 and 4.5 I downloaded most recently.

    In fact, he illuminates it is better because it seems that the problem is to have several applications to listen. I was not sure if the same main method with entries multiple points count as one or more applications. And fits in your comments, because you seem to be OK with having more listeners in a single application. The posts above also shows (and that's what I lived just know) that the problem is with the method of callInitiated only.

    And the solution to why my application has not worked despite the refactoring was I tried an app called "Black & Whitelist" a few days ago on the emulator. But "of course" it did not work from my previously installed application and was, therefore, receive notifications. However after that the other application refactoring stole the notifications, so the GUI of mine still did not. This is a very nasty bug . BTW is there a db official bug somewhere? Bugs like this shouldn'tbe forgot that even if they are fixed with the new OS releases they will survive for years in millions of handsets than ever (or rearly) will receive an update.

    Thus, it would be nice to know the version, in that it appeared and that fixed it. (Same for the other bugs of course.) Then there might be a database that can be queried for the class names & method and it could even be integrated with the IDEs popular to display popup messages when you type the code or with static analysis tools, etc. Integration is the easy part and can be made by the community, effective maintenance of the db. probably need to RIM.

  • OAM - map multiple URLS for the same web application

    Is OAM, posible to map multiple URLS to the same web application? When the user access to a different URL, it passes to the same application but set up with different strategy?

    In this case, this is the scenario that describes ROISSAC - as he says OAM cannot protect the same resource with two different strategies.

    Perhaps you could do this at the level of the network - if the two companies access the application through different proxy servers, you can use different identifiers to host for the two WebGates on proxy servers. This solution is easier to apply when there is a physical separation of users (for example, the internal/external users) rather than different users coming through the same path.

    Kind regards
    Colin

  • Can perform you several tasks at the same application on both screens?

    Hello

    Is it possible to split view the same application such as Photos on my two screens? It would be useful to compare photos between them instead of dragging through the multiple photos every time.

    Thank you

    N °

  • IMac is not able to share multimedia files with multiple users on the same computer.

    We just bought a new IMac that we were very excited.  We have phones Apple and iPads, replacement and ten year with a new Mac old PC made since.

    Now, the trouble begins. For more than ten years Windows had several usernames on the same machine and have been able to have a shared folder only for music, pictures and video that my iTunes program and others could acsess and share from several user names. This kept all in one place for new photos families by me or my wife and our 30 gigabytes of music that comes from our CDs was available at bolt of us. Now in train to implement on IMac should be easy but is impossible.  after transferring the music to my login information, it cannot acsess all files on my login. I am not even able to share or provide his acsess. I can move the iTunes folder to my shared folder. She can get acsess now but iTunes says that the library file is locked. I worked with care from Apple on the phone for that sold, but they believe it will not be possible without creating two copies of the 30 gigabytes of music for each of us. who would take more hard drive when it failed too.  Sharing is not any help. These files were before iTunes. I'm not pay 30 dollars a month to store in icloudcor use a google reader slow to the Internet connection when everything's fine here. Apparently Applow programmers do not believe in sharing of multimedia files between two users on the same device, even if a PC does that very well. My choice here is so far have duplicates of all the photos, music and videos loaded on the disc for me and my wife, charge all the media for an external hard drive which for some reason any all Apple programs will share, or return the mac to another PC that will be able to make several connections with sharing music and photos. Apple if you are reading this you are 10 years behind on that. Not everyone is born in the last five years and bought their music on iTunes to be able to use home sharing. Home sharing cannot help this. your applications should be able to be told to use the media files shared without import copies to readers of the user. I am very disappointed. Someone else has any ideas for that?  I have pictures, not iPhoto. I have a week more to be able to return it. I'm not interested in making a fake account that is always connected to share or maintaining of me constantly connected. It should have been easy, I had to be happy to play with new software.

    Photos, iPhoto and iTunes libraries must appear on an external hard drive that is formatted as shown below to be used by multiple users on the same Mac:

    So get a properly formatted external HD and move your iPhoto/pictures of her as well as your iTunes library.  This way all your iMac users can access and use both libraries.

    An alternative to the external HD method is to partition your internal hard drive into two partitions, one for libraries.  It is formatted as shown above and be large enough to contain the libraries and allow the expansion of libraries.

  • How to select multiple messages in the messaging application in Windows RT?

    How to select multiple messages in the messaging application in Windows RT?

    For contact:

    1) press the first mail

    (2) then drag the 2nd mail left or right a little bit.

    Repeat 2) for all other mails you want to select. You can use the same way to deselect.

    For the mouse:

    Use the ctrl and shift keys, like the Windows desktop version

    I don't know if there is a way to make the selection of the beach of 'shift' by touch only.

  • I use Thunderbird on multiple computers to the same gmail account but I have a laptop with little memory, so I need this laptop only to download a few files

    I use Thunderbird on multiple computers to the same gmail account. I have a small laptop with very little memory and it runs out of disk space when it downloads all my folders. I would only download some of my file on the laptop, but keep all the folder on my other computers because they do not have problems with disk space. When I unsubscribe records in 'manage folder subscriptions' then he cancels his subscription on all my computers, not just the laptop. When I go to 'Properties' on the folder and sets 'retention individual police' these settings are not applied at all. What can I do?

    All of the messages in each folder will appear in your message list. But this does not mean all the bodies of messages are downloaded, if you have properly configured the parameters of the disk. If what I described above stuck in your settings then Message body should be downloaded only 'on demand' when you click on each message.

    To confirm this install the addon glodaquilla, which has a column "on the disk" that indicates if a message is on the disk. If you want, after you have installed the addon set Thunderbird to work offline, so it does not download message body when you click in the list of messages.

  • Multiple copies of the same mail and "unresponsive".

    I have fought with Thunderbird for about a week now and have had no chance to solve my problems. Any help would be greatly appreciated! I tried all the suggestions on the FAQ page.

    Here are my symptoms:
    -Make multiple copies of the same email with the same time stamp.
    -Not pulling new e-mail messages.
    -Whenever I try to navigate upwards or downwards in the Inbox or open an email TB will does not.
    -J' got warnings from the following script:
    Script: resource://gre/modules/XPCOMUtils.jsm:323
    Script: chrome://messenger/content/mailWindow.js:179

    Here is what I tried:
    -J' completely removed and reinstalled TB (and recovered my profile).
    -J' have compressed files.
    -J' rebuilt the database world.
    -From TB in safe mode does not seem to make a big difference.

    Fortunately, I have access to webmail via my ISP and it works fine.

    Thank you!

    McAfee has released a faulty update, please contact them for support on changing the setting to something that actually works.

    I saw a poster here today who used their support chat and they 'fixed a few adjustment' and now all is good.

    Not good was not what I wanted to say

  • Firefox does not work for multiple instances of the SAME user account on Windows Multipoint Server 2011

    We have a PC HP of MulitSeat MS6200
    It runs Microsoft Windows MultiPoint Server 2011 (which seems to be a twisted version of Windows 7)
    It is implemented in a laboratory of computer science and students connect you using their account for shared room - IE multiple instances of the same user accounts are currently running on the PC at the same time.
    The first student to run Firefox can work with it without a problem.
    However, when another student try to start firefox they get the following message:
    Firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    Cannot start Firefox using a profile that is already used by someone else.
    Each Firefox instance needs its own profile or you will get this error message.

    Use-no.-line switch remote control to open another instance of Firefox with its own profile and to different instances of Firefox running concurrently.

  • Firefox open multiple tabs of the same site at the same time, why

    some site that I visit - when I try to use yahoo or facebook, messaging - multiple tabs of the same pop up and open and bring me to this last open tab - never let me finish what I'm doing. Why is this happening?

    I had this problem (when I opened Firefox, Facebook kept several tabs open, even when I was on other sites such as Google).

    After you restart Firefox with modules disabled (via the Help menu Firefox), I enabled first of all Plugins, then the Extensions, on-to-one.

    The problem is back only when I activated Facebook Toolbar 1.7.3 and disappeared when I disabled it again.

    This extension has been updated on 3 August 2011, which is probably when the problem started to appear (worse gradually). The extension tries to integrate some utilities of Facebook with the browser, but it's something that I can easily live. If you are having similar problems, try disabling Facebook Toolbar 1.7.3

  • Multiple accounts with the same email

    I have an account I can not connect to after my daughter it has disconnected. I tried to reset the password, but I get an email on my account to other girls: S (same email)
    I guess I have 3 accounts with the same email, but only the latter can created recover!
    Not even my main Skype has a chance

    I'm not 100% sure but it is most likely that I used the same email to whoever I have to reset - what can I do?

    In fact, this morning I managed to log on to the account of an iPad without frills but the pc refuses to sign ^ ^ ^? "Skype cannot connect" - what is happening?

    I also discovered that I could connect via a browser, but not via the Skype program... So I uninstalled and installed again and it's working now...
    I've now changed the email so I have 3 accounts with the same email address as Skype seems not to be able to manage multiple accounts with the same email!

  • How to select multiple cells at the same time?

    Hello

    How to select multiple cells at the same time? What is the keyboard shortcut?

    Thank you to.

    Flo, a french guy.

    Hold down the CMD key when you select the cells.

  • recently to message this application memory is exhausted when I use the same applications as always before

    iMac running OS 10.9.5, suddenly getting alerts that my application memory is running out / has run out; I use the same applications that I used throughout and never had these alerts. I close all except an application but still get the message. This just started happening.

    HI there are Selia,

    Looks like you get this error message concerning the exhaustion of the memory of the application no matter how little you actually run. I would like to start by resetting your PRAM first:

    OS X El Capitan: reset PRAM your computer

    https://support.Apple.com/kb/PH21876?locale=en_US

    1. Choose the Apple menu > shut down.

    2. Look for the following keys on the keyboard: Option, command, P and r. you need to hold these keys down simultaneously in step 4.

    3. Turn on your Mac.

    4. Immediately press on and hold down the command-Option-r-P. You must press these keys until the black screen with the Apple logo to appear.

      Continue to hold the keys down until you restart your Mac, and you hear the tone of starting for the second time.

    5. Release the keys.

    After resetting the PRAM on your computer, you may need to update your speaker volume, screen resolution and startup disk preferences.

    Then test the question a bit. If it persists, I would then start mode safe so that the system can check for disk errors and clear a few caches of system level.

    OS X El Capitan: start in safe mode

    https://support.Apple.com/kb/PH21875?locale=en_US

    You can also use the activity monitor to see if there is a runaway process eating all your memory or put too much pressure on her:

    Use the monitor activity on your Mac.

    https://support.Apple.com/en-us/HT201464

    Thank you for using communities of Apple Support.

  • [Q] can Vision track multiple objects in the same area - objects that might cross?

    Hello

    Sorry for this long title, but this is my question.

    Can Vision track multiple objects in the same area - objects that could cross?

    Because I'm able to do, extraction of XY, but it seems that "IMAQ County objects ' don't follow framework after but framework opposed, but extract the coordinates XY always in the same way, as for example from top and whenever he sees an object, it retrieves the XY, but if the objects pass through (then it will extract XY without worrying that the objects was the earlier but just based on"scan from top to bottom").

    That's why I open this topic in the forum of Vision no part: http://forums.ni.com/t5/LabVIEW/Sort-XY-by-closest/td-p/2440428

    Thank you

    Sébastien

    Thank you for your response.

    My problem is that we work with very small insects and the shape/color is the same for all.

    Then the solution is: Let's wait for "IMAQ County objects 3 ' then .

    Thank you

    Sébastien

Maybe you are looking for