Design Studio 1.2 SDK - How can standard UI5 themes be loaded for custom components?

The SAPUI5 library that is embedded in the Design Studio framework includes standard themes such as the Blue Crystal theme.  When developing UI5-based SDK components with DS 1.2 SP00, I was able to successfully load the built-in Blue Crystal theme by simply including the following statement in the component.js file:
sap.ui.getCore().applyTheme("sap_bluecrystal");
However, as of DS 1.2 SP01 this approach no longer seems to work.  I don't receive any error messages either.  The theme simply doesn't load like it used to or sometimes might just load partially.
The only difference I can see between SP00 and SP01 in terms of the UI5 framework is that it has been upgraded from version 1.12.7 to 1.14.6 but this shouldn't impact the validity of the above statement.
I'd appreciate it if anyone has any ideas about why the applyTheme() method no longer works and how this issue might be fixed.
Of course there is the workaround of manually including the theme files with a <cssInclude> tag in the contribution.xml file but this seems like a waste of resources given that technically, the theme is already included in the Design Studio framework.

The SAPUI5 library that is embedded in the Design Studio framework includes standard themes such as the Blue Crystal theme.  When developing UI5-based SDK components with DS 1.2 SP00, I was able to successfully load the built-in Blue Crystal theme by simply including the following statement in the component.js file:
sap.ui.getCore().applyTheme("sap_bluecrystal");
However, as of DS 1.2 SP01 this approach no longer seems to work.  I don't receive any error messages either.  The theme simply doesn't load like it used to or sometimes might just load partially.
The only difference I can see between SP00 and SP01 in terms of the UI5 framework is that it has been upgraded from version 1.12.7 to 1.14.6 but this shouldn't impact the validity of the above statement.
I'd appreciate it if anyone has any ideas about why the applyTheme() method no longer works and how this issue might be fixed.
Of course there is the workaround of manually including the theme files with a <cssInclude> tag in the contribution.xml file but this seems like a waste of resources given that technically, the theme is already included in the Design Studio framework.

Similar Messages

  • How can I select a smaller font for all components of a Swing application?

    The default size of font in Java Look and Feel is 12, how can I change it to 10 globally for my Swing application ?
    Thanks for your help.
    Helen

    It is not very simple because all components don't use the same fonts and if you don't want to subclass the l&f you can do this :
    after setting the l&f (in the main for example)
    Font f = new Font("dialog", Font.PLAIN, 11);
    UIManager.put("MenuItem.font", f);
    UIManager.put("Menu.font", f);
    UIManager.put("MenuItem.acceleratorFont", new Font("dialog", Font.PLAIN, 10));
    UIManager.put("Label.font", f);
    UIManager.put("Button.font", f);
    UIManager.put("ToggleButton.font", f);
    UIManager.put("ToolTip.font", f);
    UIManager.put("List.font", f);
    UIManager.put("Table.font", f);
    UIManager.put("TextField.font", f);
    UIManager.put("ComboBox.font", f);
    UIManager.put("RadioButton.font", f);
    UIManager.put("CheckBox.font", f);
    UIManager.put("RadioButtonMenuItem.font", f);
    UIManager.put("CheckBoxMenuItem.font", f);
    UIManager.put("TableHeader.font", f);
    UIManager.put("Spinner.font", f);
    UIManager.put("Panel.font", f);etc...
    Denis

  • Deleted my messages during iOS update - how can I recover them without paying for apps/ software (already sync'd after losing them though)?

    I updated my iOS, and when I was typing out a message to someone via imessage (as it forced it on) and I deleted the last one I sent (definitely not delete all, I didn't 'fat finger' it either) but for some reason it deleted the whole entire message trail, which had a couple of years of messages in it, some of which I wanted to keep - annoyed feeling commenced!!
    I've since figured out how to totally turn off imessage as I hate how it looks/ feels, and have reverted to SMS messages, but have lost all of my old messages to that one person.
    I've used a 3rd party bit of software and it found all the messages for me, but I have to pay for them to restore them and I'm not paying what they're trying to charge.
    Given that iTunes has already sync'd since this nightmare, is there another free way to recover them and get them back on my phone though?
    Thanks in advance for any help!!

    I know of no way to remove encryption on iTunes backups if you've forgotton the password.  If you've used the 4 digit PIN code to lock your iPhone in the past that can sometimes default as your "password" for this encryption in iTunes.  Try that PIN or any PIN you've used in the past.  If you don't use a lock maybe you played around with that feature once when you first got your phone....try "1,2,3,4" or anything you could have possibly tried.
    As far as accessing older unencrypted backups you can try this software.  I do not have any experience using it but it seems like it's what you need and is probably the easiest route for both voicemail and texts:
    http://deciphertools.com/products.html
    If you want to try to find voicemails using Terminal, I found this link as well:
    http://mikereys.wordpress.com/2011/10/18/iphone-backup-restoring-visual-voice-ma il/
    I know with AT&T, voicemails are only stored on their servers for 30 days so any voicemail older than that you would not have been able to access again.
    Best of luck.

  • How can I use the same session for different components acroos application ?

    I am trying to include the components(chat, filesharing, whitboard) in different parts of my application. User should be able to access any of the component. We would like to have a single "ConnectSessionContainer" so that we don't see same user creating a seperate session for each component.
    Is there a better way of dealing with this other than declaring the "ConnectSessionContainer" in the main application ? Is there a way to check if we have a "ConnectSessionContainer" session already established ? Please help . Thanks.

    Thanks for the response. Let me explain what I am trying to do..
    I am trying to create components at different places(screens) of the flex application (not in the same .mxml file).
    Each time I create a component, I am using a "AdobeHSAuthenticator" and "ConnectSessionContainer" which is resulting a new participant in the room.
    For example
    screen1.mxml -
    <mx:Panel>
    <rtc:AdobeHSAuthenticator id="auth" authenticationSuccess="onAuthSuccess(event);" authenticationFailure="onAuthFailure(event);" />
    <rtc:ConnectSessionContainer id="mySession" >
            <rtc:Roster id="myRoster" width="100%" height="100%" />
            <rtc:Chat id="mychat" width="100%" height="100%" />
    </rtc:ConnectSessionContainer>
    </mx:Panel>
    screen2.mxml (in the same application) -
    <mx:Panel>
    <rtc:AdobeHSAuthenticator id="auth" authenticationSuccess="onAuthSuccess(event);" authenticationFailure="onAuthFailure(event);" />
    <rtc:ConnectSessionContainer id="mySession" >
            <rtc:SharedWhiteBoard id="wb" width="100%" height="100%" />
    </rtc:ConnectSessionContainer>
    </mx:Panel>
    Here, I open a screen1 and authenticate as UserA and when I try to open screen2 flex is considering me as another user though I am in the same application.
    1) How can I use different components which are in different flex files as a same User ?
    2) Should I place my <rtc:AdobeHSAuthenticator> and <rtc:ConnectSessionContainer> in the main application which calls the screen.mxml?
    3) What is the best way to do it ?
    Thanks for your time !

  • I purchased 3 ringtones from itunes.  It did not put them under ringtones on my phone.  It is under purchases.  How can I get them under ringtones for iphone 5?

    I purchased 3 ringtones in Itunes.  It put one under ringtones and the others listed under music icon as recently purchased.  How do I get them under ringtones?

    Tones is the new name for Ringtones. If the entry is missing in the left-hand column of iTunes then enable it from Edit > Preferences > General tab.
    If your existing tones are not syncing properly to your iOS device then uncheck the option to Sync Tones from the Tones tab when the device is connected, sync the device, check the option and sync again.
    tt2

  • How can i disable "browser-auto-load" for different iframe-contents in a composite widget?

    Hey there,
    i´ve got a lil topic going on with a Website (One-Site-Layout with anchors), created with muse
    i putted 20 iframes (each one routed to its own trigger) in a composite widget. Everything is working perfect for me and the users, but :
    The deliverer of the iframe-contents (pretty big picture galeries) told me, his server crashes, because every single time, someome enter the Website, the browser i loading every single iframe-content in this widget automatically > so the traffic is way to large, and i need a solution that simply load every single content after a click on the right trigger, not before.
    thank you so much!
    Werner
    Gonna let you see the the "trouble-area" http://werner-ag.com/#produkte

    That is not possible.
    You can look at this extension:
    *https://addons.mozilla.org/firefox/addon/toggle-mixed-active-content/
    *https://developer.mozilla.org/Security/MixedContent

  • Since I uploaded IOS6 I am not asked to sign into my apple ID when loading Apps. As a result the Apps are listed as 'waiting' but not loading... How can I get them to load?

    I don't seem to be able to see my account details Ono my iPad, can't sign in or out and can't load any Apps, they are. Just stuck waiting.... Which is annoying as I have a dissertation partner in Ireland who I now can't Skype as I selected upload for the upgrade to the App...

    Here is a list of things that you can try for the "waiting" downloads. These have worked for other users in the past, but YMMV. I'm not sure what account details that you want to see - but it is much more comprehensive using iTunes on your computer in order to view account details. You should be able to see the basic stuff in the Settings (iTunes & App Stores), or the App Store by tapping on your ID in the features tab and then tap View Apple ID, and enter your password.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your app preferences and device settings again.
    If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

  • Why do I lose my "Groups" after I exit Firefox? How can I get them to remain for my next session. I exit the program through the Firefox tab.

    I am running Windows 7 on my laptop, and lately when I close Firefox (under the Firefox tab with 'exit' ), the groups I have created do not reboot the next time I sign onto Firefox. What do I need to do?....I have even checked the "History" options but I can't find a way except to reload ezch page individually. Help!

    Are using "Clear history when Firefox closes" ?
    *Tools > Options > Privacy: History: [X] Clear history when Firefox closes > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    *http://kb.mozillazine.org/Session_Restore
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created

  • We had a power surge the other day and ever since, my bookmarks in Safari do not display their respective logos, i.e., New York Times logo rather than the generic blue circle.  How can I restore them?

    We had a power surge the other day and ever since, my bookmarks in Safari do not display their respective logos, i.e., New York Times logo rather than the generic blue circle.  How can I restore them?
    Thanks for any help.

    One way to add Facicons back is to visit those sites again.
    It is time consuming if you really want to have all those back.

  • Before designing cube/ODS in BW how can weknow that the datasource is delta

    HI All
    Before designing cube/ODS in BW how can we know that the datasource in source R/3 is delta enable or not? I mean what type of datasource is this?
    And aslo what do we mean by Standard Extractors? will this mean like for this there wont be any datasource or table? Iam nill in this part? can anyone explain me regarding this
    Regards
    Balji

    Hi Balaji,
    To find whether a datasource is delta enabled or not goto R/3 -> se11/se16 -> roosource table -> your datasource -> check the "DELTA" field value. If it is blank then no delta is supported.
    All extractors would have a datasource and extract structure associated with it. It does not matter whether it is business content or custom.
    Bye
    Dinesh

  • In xcode i deleted my default.png file and know my app says 0 target and missing base sdk how can i fix this please

    please help mw fix my app i deleted my default .png file the one that displays an image when u first run the the and after i deleted my app wont run and says at the very top 0 target , missing base sdk. how can i fix this please help.

    hello , i did exactly the same thing , and my app store icon look like this :
    http://i.imgur.com/FIrph.png
    so can you tell me how did your friend send the app store for you? please

  • How can i set the alternating colors for a table rows

    Dear All,
    Please any one help me how can i set the Alternating colors for Table Rows.
    i created a theam there i set the background alternating color to brown and i set the table design properity to alternating. but it is not reflecting.

    Hi,
    The design property in Table properties should work for your requirement. Select "alternating" value for design.
    Please see the API below:
    design
    Determines the appearance of the table. The property design can take the following values and is represented by enumeration type WDTableDesign.
    alternating - The table rows are displayed alternately in a different color.
    standard - The table background has one color. The individual table rows are displayed with grid net lines.
    transparent - The table background is transparent. The individual table rows are displayed without grid net lines.
    Check whether you have changed the right property or not? Also table should contain more than one rows to test this scenario.
    Regards,
    Jaya.
    Edited by: VJR on Jun 17, 2009 6:43 PM

  • HT1373 So i bought music on a different computer but oAn the same itunes account and on the same ipod and when i get on my original computer and i sync my ipod my purchases that were on the other computer didnt show up. How can i put them on my computer/i

    So i bought music on a different computer but oAn the same itunes account and on the same ipod and when i get on my original computer and i sync my ipod my purchases that were on the other computer didnt show up. How can i put them on my computer/ipod

    Download them to the computer to which the iPod is synced, re-sync.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not available in all countries; apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this). Movies currently available in the USA only. Downloading previously purchased movies and TV shows requires iTunes 10.6 or later.  Discontinued items not available. For items not included in the iCloud list, or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid.  Apple notes it is your responsibility to back up your purchases.
    Select the store on the left side of iTunes.
    Click on Purchased on the right side under Quick Links.
    You can re-download your available previous purchases.

  • My Apple ID and rescue email are reversed. How can I change them both at the same time

    My Apple ID and rescue email are reversed. How can I change them both at the same time?

    I'd already used this standard tool (exhaustively!), but for the problem encountered it operated in Catch 22 mode - you had to do two things but neither order was permitted. I did find an answer eventually, but am not sure what it was I did that solved it! Thanks, anyway.

  • How can we maintain multiple payment terms for a customer

    how can we maintain multiple payment terms for a customer?

    Hi,
    You can leave the Payment terms field in the sales area data tab blank. and you can enter the payment terms at line item level while creating the sales order. By that you will achieve multiple payment terms for the same customer in the same sales order. but the invoice will be split by standard SAP based on the payment terms.
    Also difference between the "Payment Terms" field in Company code tab and the sales Area tab is.
    Company code tab payment terms are used only for the documents that are posted directly in FI module. for example credit and debit memos posted directly in FI and as a leading practice this should always be "payable Immidiately"
    Sales area Tab payment terms are the one which are copied on to the sales order header data which are valid for all the line items unless you specifically mention different payment terms at line item level.
    Regards,
    Shantanu

Maybe you are looking for

  • One Webi Report with multiple Cascade Prompts

    HI          I have a requirement to create Cascading prompts on WebI reports. I have two questions. 1) Can one Webi report have two or more sets of Cascading prompts. 2) The universe is used by several groups of business useres. But only one group ne

  • How to use iterator in standard BSP application BT115QIT_SLSQ

    Hi experts, I am new in BSP and my requirement is to put a checkbox icon beside the actions column (that has 2 existing icons already) of BT115QIT_SLSQ enhancement. I read a lot of article about iterators but I believe most of them are used in custom

  • ERR  = -50

    I have a ton of .avi movies and recently I cannot access them animore with QT. I have the Divx doctor and I get the error= -50 message everytime I try to open a movie. Does anybody know what this means?

  • SHOWING ERROR IN T.Code VTWABU

    Dear Experts, I cant do PGI through the Transaction Code VTWABU . When i put the transaction code into the command Field system show me a error message... "DELIVARY DOES NOT EXIST" . Corresponding message no is    " Message no. VL302". I need your he

  • EP6 SP9 - Client Certification doesnt work. Exception in SAPMLogonCertServl

    Hi, when I setup X509 client certificate logon for EP6 SP9, the user does not get logged in. Instead it goes to the standard logon screen. Can anyone help to fix this problem? Thanks! <b><u>The security log has this error.</u></b>        Guest     |