PDA

View Full Version : ext.ux.theme.slate.Slate



gslender
18 Jul 2008, 3:28 PM
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 add
<inherits name='ext.ux.theme.slate.Slate'/> to your gwt.xml

and add the jar file to your classpath

Enable in code by adding this before rendering (ie top or close to onModuleLoad)

ThemeManager.register(Slate.SLATE);

enjoy !!

mindstream
22 Jul 2008, 6:26 AM
Thanks alot. That is very helpful. And it serves as a nice model for packaging custom themes in general.

Much appreciated.

Cypher
22 Jul 2008, 6:36 AM
+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;

gslender
22 Jul 2008, 1:01 PM
- the attached file is "JAR in a ZIP in a ZIP" kind of file...nevermind...we got it;

the reason for that is - the forum doesn't let you attach JAR files.... darrell, if you can get that changed it would be nice ;-)

gslender
25 Jul 2008, 5:18 PM
recent update 26/7 - fixed CSS bug regarding progressbar

jadrake75
17 Dec 2008, 10:38 AM
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?

gslender
17 Dec 2008, 1:04 PM
the slate theme is now included in the ExtGWT release - so this extension is no longer needed

tbadger
30 Dec 2008, 7:36 AM
So, If I wanted to use the slate theme that is now included in ext gwt, how would I go about doing so?

gslender
30 Dec 2008, 1:37 PM
include this in your gwt.xml


<inherits name='com.extjs.gxt.themes.Themes' />

include this before any GXT code


ThemeManager.register(Slate.SLATE);
GXT.setDefaultTheme(Slate.SLATE, true);

tnyugen
30 Dec 2008, 11:16 PM
the slate theme is now included in the ExtGWT release - so this extension is no longer needed

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

darrellmeyer
1 Jan 2009, 5:15 PM
The Slate theme was donated to Ext JS by the theme author J.C. Bize (http://extjs.com/forum/member.php?u=3697). The Slate theme was added to Ext GWT in the 1.1 (http://extjs.com/blog/2008/09/18/ext-gwt-11-released/) release.

tnyugen
4 Jan 2009, 6:38 PM
The Slate theme was donated to Ext JS by the theme author J.C. Bize (http://extjs.com/forum/member.php?u=3697). The Slate theme was added to Ext GWT in the 1.1 (http://extjs.com/blog/2008/09/18/ext-gwt-11-released/) release.

I must have somehow overlooked this. Can you please elaborate on "donate"? Is it safe to assume that the Slate theme is now licensed under GPL?

Tony

darrellmeyer
4 Jan 2009, 6:39 PM
Yes.