-
18 Jul 2008 3:28 PM #1
ext.ux.theme.slate.Slate
ext.ux.theme.slate.Slate
Recent Update : 2008-12-18 slate theme now included in ExtGWT download
Recent Update : 2008-07-26 fixed CSS progressbar bugs
Slate theme bundled in an easy to use jar file... credit and lic goes to http://extjs.com/learn/Extension:SlateTheme
Warning : GWT/GXT users, don't follow instructions in credit link above - instructions below are for correct use...
Just addto your gwt.xmlCode:<inherits name='ext.ux.theme.slate.Slate'/>
and add the jar file to your classpath
Enable in code by adding this before rendering (ie top or close to onModuleLoad)
enjoy !!Code:ThemeManager.register(Slate.SLATE);
-
22 Jul 2008 6:26 AM #2
Thanks!
Thanks!
Thanks alot. That is very helpful. And it serves as a nice model for packaging custom themes in general.
Much appreciated.
-
22 Jul 2008 6:36 AM #3
+1, gslender, I just tested it and it works great!
I have just 2 (minor) notes:
- the attached file is "JAR in a ZIP in a ZIP" kind of file...nevermind...we got it;
- in order to use this theme, one has to also add the following line to java code:
import ext.ux.theme.slate.client.Slate;
-
22 Jul 2008 1:01 PM #4
-
25 Jul 2008 5:18 PM #5
recent update 26/7 - fixed CSS bug regarding progressbar
-
17 Dec 2008 10:38 AM #6
Invalid zip file?
Invalid zip file?
If you have trouble opening the .zip on Windows (if you used MSIE 7 to download it) try Firefox. I was unable to extract the SlateTheme.jar file using Windows Vista, 7-Zip or even gunzip/java (on Linux). At least gunzip gave some useful output:
Archive: slate.zip
warning [slate.zip]: 20 extra bytes at beginning or within zipfile
(attempting to process anyway)
file #1: bad zipfile offset (local header sig): 20
(attempting to re-compensate)
file #1: bad zipfile offset (local header sig): 20
However using Firefox I was able to get the file. Perhaps IE is inserting extra characters?
-
17 Dec 2008 1:04 PM #7
the slate theme is now included in the ExtGWT release - so this extension is no longer needed
GXT JavaDocs: http://extjs.com/deploy/gxtdocs/
GXT FAQ & Wiki: http://extjs.com/learn/Learn_About_the_Ext_GWT_Library
Buy the Book on GXT: http://www.apress.com/book/view/9781430219408
Follow me on Twitter: http://twitter.com/gslender
-
30 Dec 2008 7:36 AM #8
How to use slate theme
How to use slate theme
So, If I wanted to use the slate theme that is now included in ext gwt, how would I go about doing so?
-
30 Dec 2008 1:37 PM #9
include this in your gwt.xml
include this before any GXT codeCode:<inherits name='com.extjs.gxt.themes.Themes' />
Code:ThemeManager.register(Slate.SLATE); GXT.setDefaultTheme(Slate.SLATE, true);
GXT JavaDocs: http://extjs.com/deploy/gxtdocs/
GXT FAQ & Wiki: http://extjs.com/learn/Learn_About_the_Ext_GWT_Library
Buy the Book on GXT: http://www.apress.com/book/view/9781430219408
Follow me on Twitter: http://twitter.com/gslender
-
30 Dec 2008 11:16 PM #10
Hi gslender,
Is this the official word from ExtGWT or just a speculation? We convinced management / legal to go with ExtGWT after a great deal of pursuing (in light of all the controversies at the time). The request finally went through and we're well on our way and are happy with the results.
Please for the love of god do not introduce any other possible licensing issues!! I don't care if CCA is allowed with GPL or not. It's a gray area and we will have to immediately cease using ExtGWT if this or any similar change is made.
On this thread Darell mentions the explicit removal of Slate due to licensing issues.
http://extjs.com/forum/showthread.php?t=40807
Why on earth would you re-introduce it into ExtGWT now. It's a separate user created bundle unaffiliated with ExtGWT currently. Users who are confident on using it with ExtGWT can do so. I don't see the problem with this. We (our company) simply cannot afford to be put in a position of liability unless ExtGWT's license explicitly covers us from indemnification. GPL certainly doesn't cover this.
Can we please have the official word from Darell. At this stage in our development we cannot have a stop-start effort or any such distractions. If we need to back out today, then so be it.
Please do not spring any surprises.
Tony


Reply With Quote