CF9 and Ext JS - has anyone applied a different theme?

Has anyone had any luck applying Ext JS themes to override the built-in theme that ships with CF 9? If so, which theme did you apply, where did you get it, and what was your method?
My guess is that i can put any Ext JS 3.0 theme into my web site and then include the ext-all.css file and it should work. CF 8 allowed us to switch between themes (at least for some of the Ext JS functionality), which was cool because you could (in theory) add new themes on the server level and allow each of your applications to quickly choose. But this seems to be scrapped.
Ideas?

I was able to apply a different theme as follows:
First, I downloaded one of these: (very simple modifications of the default CF theme)
http://extjs.fudini.net/
Then I used the csssrc attribute in cfajaximport to specify where I want CF to look for the styles. You will have to rearrange the folders of your downloaded extjs theme to be exactly like the one that ships with CF. Look at the documentation for cfajaximport.
If you have control over your server, you could try putting new themes in the ColdFusion folder so they can be accessible by all your applications.
If anyone knows how to find some really cool extjs themes, please share!

Similar Messages

  • CF9 and Amazon S3 - Has anyone got this to work?

    I've now sorted my other issues and thanks to everyone who helped me with them - I've now moved on to trying to create a set of services that will connect to the S3 cloud and post and retrieve pdf files in our buckets - We need to be able to supply vast amounts of files to client and the cost of that currently is exorbitant in server disk space compared to with using the cloud
    I've searched all over the net and picked up a number of ways of doing this - None of which seem to be able to generate the correct signature- I'm currently using the cf_hmac stuff from Adobe
    This is my code
    <cfobject component="AmazonWebServices.amazons3" name="amazonS3">
    <cfset s3ServiceKeys = structNew()/>
    <cfset s3ServiceKeys.accessKey = "<MyKey>"/>
    <cfset s3ServiceKeys.secret = "<MySecretKey>"/>
    <cfset s3ServiceKeys.bucket = "<MyBucketName>"/>
    <cfset s3serviceKeys.pdfContentType = "application/pdf"/>
    <cfset s3serviceKeys.gifContentType = "image/gif"/>
    <cfset s3serviceKeys.jpegContentType = "image/jpeg"/>
    <cfset s3serviceKeys.requestType = "cname"/>
    <cfset deliverDir = "<MyDeliverDir>"/>
    <cfset s3Service = amazonS3.init(awsKey="#s3ServiceKeys.accessKey#",awsSecret="#s3ServiceKeys.secret#")/>
    <cfdirectory action="list" directory="#deliverDir#" name="TheFileList" sort="dateLastModified" recurse="no" type="file">
    <cfoutput query="TheFileList">
    <cfset result = s3Service.putFileOnS3(localFilePath="#deliverDir#\#TheFileList.name#",
                                          contentType="#s3serviceKeys.pdfContentType#",
                                          requestType="#s3serviceKeys.requestType#",
                                          bucket="#s3serviceKeys.bucket#",
                                          objectKey="#TheFileList.name#")/>
    <cfdump var="#result#"/>
    </cfoutput>
    This is the AmazonS3Service - more or less a direct copy from here http://www.barneyb.com/barneyblog/projects/amazon-s3-cfc/
    <cffunction name="init" access="public" output="false" returntype="amazons3">
             <cfargument name="awsKey" type="string" required="true" />
             <cfargument name="awsSecret" type="string" required="true" />
             <cfargument name="localCacheDir" type="string" required="false"
                 hint="If omitted, no local caching is done.  If provided, this directory is used for local caching of S3 assets.  Note that if local caching is enabled, this CFC assumes it is the only entity managing the S3 storage and therefore that S3 never needs to be checked for updates (other than those made though this CFC).  If you update S3 via other means, you cannot safely use the local cache." />
             <cfset variables.awsKey = awsKey />
             <cfset variables.awsSecret = awsSecret />
             <cfset variables.useLocalCache = structKeyExists(arguments, "localCacheDir") />
             <cfif useLocalCache>
                 <cfset variables.localCacheDir = localCacheDir />
                 <cfif NOT directoryExists(localCacheDir)>
                     <cfdirectory action="create"
                         directory="#localCacheDir#" />
                 </cfif>
             </cfif>
             <cfreturn this />
         </cffunction>
    <cffunction name="putFileOnS3" access="public" output="false" returntype="struct"
                hint="I put a file on S3, and return the HTTP response from the PUT">
            <cfargument name="localFilePath" type="string" required="true" />
            <cfargument name="contentType" type="string" required="true"  />
            <cfargument name="bucket" type="string" required="true" />
            <cfargument name="objectKey" type="string" required="true" />
            <cfset var gmtNow = dateAdd("s", getTimeZoneInfo().utcTotalOffset, now()) />
            <cfset var dateValue = dateFormat(gmtNow, "ddd, dd mmm yyyy") & " " & timeFormat(gmtNow, "HH:mm:ss") & " GMT" />
            <cfset var signature = getRequestSignature(
                "PUT",
                bucket,
                objectKey,
                dateValue,
                contentType
            ) />
            <cfset var content = "" />
            <cfset var result = "" />
            <cffile action="readbinary"
                file="#localFilePath#"
                variable="content" />
            <cfhttp url="http://s3.amazonaws.com/#bucket#/#objectKey#"
                method="PUT"
                result="result">
                <cfhttpparam type="header" name="Date" value="#dateValue#" />
                <cfhttpparam type="header" name="Authorization" value="AWS #variables.awsKey#:#signature#" />
                <cfhttpparam type="header" name="Content-Type" value="#contentType#" />
                <cfhttpparam type="header" name="x-amz-acl" value="public-read">
                <cfhttpparam type="body" value="#content#" />
            </cfhttp>
            <cfset deleteCacheFor(bucket, objectKey) />
            <cfreturn result />
        </cffunction>
    <cffunction name="getRequestSignature" access="private" output="false" returntype="string">
            <cfargument name="verb" type="string" required="true" />
            <cfargument name="bucket" type="string" required="true" />
            <cfargument name="objectKey" type="string" required="true" />
            <cfargument name="dateOrExpiration" type="string" required="true" />
            <cfargument name="contentType" type="string" default="" />       
            <cfset stringToSign = "#trim(ucase(verb))#\n#contentType#\n#dateOrExpiration#\n/#bucket#/#objectKey#"/>
                <!--- Replace "\n" with "chr(10) to get a correct digest --->
                <cfset fixedData = replace(stringToSign,"\n","#chr(10)#","all")>
                <!--- Calculate the hash of the information --->
                <cf_hmac hash_function="sha1" data="#fixedData#" key="#variables.awsSecret#">
                <!--- fix the returned data to be a proper signature --->
                <cfset signature = ToBase64(binaryDecode(digest,"hex"))>
            <cfreturn signature>
        </cffunction>
    I don't appear to have any problems with what is being passed in - just the signature that is being created - All the code I've found is for earlier than CF9 and I'm therefore wondering if something has changed - although its more likely that I'm doing something I shouldn't be
    I need to be able to get stuff up there programatically before I start creating URL's so - this is a big first step to overcome

    I've actually found a work around for this problem - I took the Amazon S3 Library for Rest in Java http://developer.amazonwebservices.com/connect/entry.jspa?externalID=132&categoryID=47 and compiled the files below com into a jar - Which was dropped into the coldfusion server/lib
    I then used the examples to build the following coldfusion function
    <cffunction name="putFileOnS3" access="public" returntype="any">
            <cfargument name="localFilePath" type="string" required="true" />
            <cfargument name="contentType" type="string" required="true"  />
            <cfargument name="bucket" type="string" required="true" />
            <cfargument name="objectKey" type="string" required="true" />  
            <cffile action="read"
                file="#localFilePath#"
                variable="content" />  
            <cfscript>
                s3conn = CreateObject("java", "com.amazon.s3.AWSAuthConnection");
                s3conn.init("#variables.awsKey#","#variables.awsSecret#");
                s3object = CreateObject("java", "com.amazon.s3.S3Object");
                s3object.init(content.GetBytes());
                headers = createObject("java","java.util.TreeMap");
                contentTypeArray[1] = "#contentType#";
                headers.put("Content-Type",contentTypeArray);
                response = s3conn.put(bucket, objectKey, s3object, headers).connection.getResponseMessage();
                return response;
            </cfscript>  
        </cffunction>
    Which works perfectly - At last - I've just got to build the rest of the suite now so that we can upload, delete, create URLs etc
    Very relieved I found a work around and part of me is very pleased that good old Java provided the solution having spent 9 years as a Java programmer before starting work in Coldfusion

  • Note 1304803 reports can change transp requests? has anyone applied note?

    Found the following notes
    1304803 Security breach.  Certain reports that do not have authorization check can create or change transport requests  and change the piece list of a request
    and
    12988160 - Ability to execute undesired source code in the system using a special call of an RFC module (no further details as to what the 'undesired source code is'  has been defined)
    Has anyone applied these notes? if so how do you check if the hole exists and then after the note has been applied how does one verify that the security breach has been corrected?
    Please advsie
    Maria

    >
    Maria Graziano wrote:
    > Found the following notes
    > 1304803 Security breach.  Certain reports that do not have authorization check can create or change transport requests  and change the piece list of a request
    > and
    > 12988160 - Ability to execute undesired source code in the system using a special call of an RFC module (no further details as to what the 'undesired source code is'  has been defined)
    >
    > Has anyone applied these notes? if so how do you check if the hole exists and then after the note has been applied how does one verify that the security breach has been corrected?
    >
    > Please advsie
    >
    > Maria
    Via the corrections of the note, you will often be able to put the puzzle pieces together to be able to "test" whether it is corrected and how... The fact that there are sometimes follow-on notes to such program corrections is evidence of this. Some knowledge and creativity will be required for this.
    If you want to be carefull of side affects (or find the guilty ones...) then try where-used-list look-ups on the objects being corrected to see where and how they are being used. Not 100% reliable because of dynamic coding techniques, but a good indicator for auditable development work...
    Expressions such as "undesired source code" generally refer to remotely definable but internally executable source code, without appropriate checks in between.
    If you cannot test it yourself and SAP releases the note as a "Security Note", then these are generally implementable without SAP standard consequences. If something in the z-custom world is bothered by it, you can normally be sure that you already have the problem "in da house"...
    Cheers,
    Julius

  • Since the Mountain Lion OS update today I've had issues with internet connection and e-mail, has anyone else?

    Since the Mountain Lion OS update today I've had issues with internet connection and e-mail, has anyone else?

    That's what I would have thought, but even after saving the setting, as soon as I shut down my computer or log out of Mail, it automatically defaults back to 25. It's a bit frustrating.
    Now I just need to figure out how to get rid of those horrible pop-up banners but still have my glass sound and number of emails in the red dot when I get an email...
    These little tweaks are the only thing I HATE about upgrading my OS.

  • Under the iCloud portion of settings on my iPhone, I have always gotten the message "account not verified". The email matches and is in fact the same for my accounts on iCloud and iTunes. Has anyone had this problem, and how have they resolved it?

    Under the iCloud portion of settings on my iPhone, I have always gotten the message "account not verified". The email matches and is in fact the same for my accounts on iCloud and iTunes. Has anyone had this problem, and how have they resolved it?

    Hello megalina23
    You need to verify the email address associated with the Apple ID. Check out the article below on how to do this.
    Associating and verifying email addresses with your Apple ID
    http://support.apple.com/kb/HE68
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Has anyone applied pagination to a tree

    Has anyone applied pagination to a tree using jsf or any of its implementations... if yes how?
    thanks.

    Your model does not have a user-upgradeable SSD. You can check at OWC to see if they have replaceable SSDs for your model with instructions on how to install them. Note that this will void your warranty that has not yet expired.

  • Has anyone applied Jan 2008 CPU yet?

    I patched all the nodes successfully, came to the post-installation instructions which said
    Select one node to execute the post installation steps. Follow the same set of instructions as mentioned in the Section 3.3.3, "Post Installation Instructions for a Non-RAC Environment".
    Users can continue to access the database during the post-installation steps.
    Now the script view_recompile_jan2008cpu.sql that has to be run
    1) cannot be run unless it is in startup upgrade mode
    2) I cannot open a node in startup upgrade mode while other nodes are open, makes sense
    What would you do?
    I took out the startup upgrade check out of the script but this was only a play system, I don't really want to do this to prod or to shut down all nodes just to start one in upgrade mode

    Users can continue to access the database during the post-installation steps.
    Now the script view_recompile_jan2008cpu.sql that has to be run
    1) cannot be run unless it is in startup upgrade mode
    2) I cannot open a node in startup upgrade mode while
    other nodes are open, makes sense
    As per readme
    You must recompile views for all databases except the following:
    * Databases created with Release 11.1.0.6 or later
    * Databases created with any release (for example, 10.2.0.3, 10.1.0.5, or 9.2.0.8) after CPUJan2008 or a later CPU has been applied
    So in above case Users can continue to access the RAC database during patching

  • My notes just disappeared from IPOD and Mail.  Can anyone help me recover them?

    My Notes just disappeared from IPOD and Mail.  It may have been after a sync.  Can anyone help me recover them?

    Looks that something has gone wrong with the reset as you still have Firefox profile folders with a date/time stamp that a reset creates, but are using a regular default profile.<br />
    Such a new default profile is likely to have been created because of a problem with the profiles.ini file (if profiles.ini is missing the Firefox will create a new default profile).
    Which security software (firewall, anti-virus) do you have?
    You can look at the time stamps or check the name of the JSON backups in the bookmarkbackups folder.
    *1380653879423: Tue, 01 Oct 2013 18:57:59 GMT
    *1381239881575: Tue, 08 Oct 2013 13:44:41 GMT

  • IOS 7.0.4 on iPhone 4S has caused sound to go on and off? Has anyone else experienced this? Is it fixable?

    Also the animation of the bell with a sound bar underneath is not working properly. Sometimes it pops up with the bar under the bell and sometimes the bar is missing and just the square with the bell is all you see. The side sound buttons are still functioning, just an animation glitch. When head phones are plugged in there is no change in the strange sounds going in and out. Videos are the worst and not only do they not play sound but thy also pause themselves??? The typing has intermittent sound. I have hard reset and rebooted my phone about 8 or 10 times with only temporary relief. I connected to iTunes and toatlly reset everything once, still no change??

    Are you connected to wifi?
    If you can't do it on the phone, you can most certainly do it via itunes.

  • After upgrading to OS lion 10.8.2 my macbook crashed when upgrading iPhoto, Aperture and MS Office. has anyone simular problems?

    since I did an upgrade yesterday (sept 20th 12) my macbook crashed and does an autoantic restart when doing a upgrade. It occurs doing so for iPhoto, MSoffice or Aperture.
    Can someone help me on this issue?

    My late 2009 13" Macbook is now very laggy. For example, the cursor won't respond until many seconds after I place a finger on the touchpad. When I use the keyboard to increase or decrease volume or screen brightness, there is a noticeable lag between my inputs and what I see. Every time I pause between typing words, I find the keyboard won't respond until I wait a few more seconds. This is very disappointing. I need to roll back until Apple are able to look into any potential issues. I didn't have any such problems prior to upgrade.

  • HT201272 Recently I received a notice to update "pages". Now it is frozen on a page that says "Whats New In Pages". At the bottom it says continue. When I push continue the page freezes and nothing happens Has anyone else experienced this? Trying to conta

    Is there any way to get a person to help with an app problem. I have a ton of music in "Pages" on my Ipad which I use for gigs. I cannot get to my fake book sheets with pages locked up after an upgrade

    Hi AP_In_Surbiton,
    I am really sorry that you have had so much trouble getting your Caller ID up and going.  I'll be happy to help you out with this and get it working for you.
    Could you drop me in an email please? Use the 'contact us' form in my forum profile under the 'about me' section. You can find it by clicking on my username.
    Thx
    Craig
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)”
    td-p/30">Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Why does my 4s keep freezing,closing apps and internet. Has anyone had this problem before and know how I can fix it, all info welcome thanks

    This just started two weeks ago, I don't know how or if it can be fixed,

    Probably memory fragmentation. While on the Home screen double-press the HOME button. Then swipe the screen image of each open app up to close the app. When all of the apps have been closed press HOME again, then reset the phone by holding HOME and SLEEP at the same time until an Apple logo appears. You will not lose any data.

  • When I go into Ibooks under categories the text is upside down and backwards.  Has anyone had this happen?  How do I correct?

    When I go into Ibooks under categories the text is upside down and backwards.  Any idea how to correct?

    The Cookie section is in the 'Privacy'-Tab now.
    Not sure when this happened...
    Stefan

  • Has anyone else downloaded iOS 7 on a 4S and found the WiFi and Bluetooth don't work anymore?

    I'm used to Apple products that "just work", but I'm not seeing it with the installation of iOS 7 on my phone (4S). I installed it earlier today, and the Wi-Fi and Bluetooth worked for about an hour, then just quit working altogether. The WiFi button is grayed out in Settings, and Bluetooth dosen't even display a button (all I get is a throbber that continuously spins). Trying to activate them through the "swipe-up" command center doesn't do the trick, and resetting the network settings also accomplishes nothing. Several reboots later, and I still don't have WiFi and Bluetooth.
    Has anyone else experienced this, and is there a solution? I may just decide to eschew iOS 7 and restore my pph

    After multiple attempts to restore and reboot, I finally decided to take a trip to my local AT & T store. They contacted Apple, and I explained the situation. I ended up moving to the iPhone 5, as my 4S was in the renew period. The 4S is still under warranty, so all I have to do is bring it to an Apple Store, where they will either fix or replace the phone. Looks like one of my kids will be getting a 4S :-)

  • HT2305 I'm always reading and hearing that the updates cause a lot of problems and people wish they hadn't updated, has anyone successfully updated their software?

    I'm always reading and hearing that updating software causes problems with lost data, non communication between ipod/phone and computer. Has anyone sucessfully instyalled the latest update, I'm afraid to?

    It will help people to advise you if you specify which update you are considering.
    charlie

Maybe you are looking for