-
21 Jul 2009 2:53 AM #21
Good Work
Good Work
Good Work

Can you please let me know where can I find all themes zip files?
can you please let me know the location?
Thanks in advance.
Srinivas
-
28 Jul 2009 8:31 AM #22
Cypher
-
1 Aug 2009 5:28 AM #23
I am facing a problem on IntelliJ8 for not finding the theme classes.
I am using Intellij8 as the IDE for development. I have renamed the ZIP files to jar and added the jar files to the classpath of my project.
I my project *.gwt.xml when i am trying to inherit the class names as mentioned below:
The IntelliJ8 is showing them in red color and complains that class not found in the package.
Can anyone help me on the same. It looks like i am missing something as i know from the above forum replies that this works.
<inherits name='ext.ux.theme.black.Black'/>
<inherits name='ext.ux.theme.darkgray.DarkGray'/>
<inherits name='ext.ux.theme.purple.Purple'/>
<inherits name='ext.ux.theme.olive.Olive'/>
<inherits name='ext.ux.theme.slickness.Slickness'/>
-
11 Aug 2009 9:36 AM #24
Hey Cipher,
Does they work on GXT 2.0?
If not, what are the changes that need to be made?
TIA,
R.
-
11 Aug 2009 11:52 PM #25
For the few test I have done,
They seems to work.
-
14 Aug 2009 6:07 PM #26
What steps did you followed to configure the same on Intellij8 IDE to make it work?
1) Download the ZIP files for the themes?
2) Rename them to Jar.
3) Place the Jar files in the lib directory of the project.
4) Configure the same in the *.gwt.xml file as below
<inherits name='ext.ux.theme.black.Black'/>
<inherits name='ext.ux.theme.darkgray.DarkGray'/>
<inherits name='ext.ux.theme.purple.Purple'/>
<inherits name='ext.ux.theme.olive.Olive'/>
<inherits name='ext.ux.theme.slickness.Slickness'/>
Is all the above steps correct.

-
22 Sep 2009 11:05 AM #27
Well, rgalvao, then seem to work fine also with GXT 2.0.
Cypher
-
30 Sep 2009 7:52 PM #28
Jar files
Jar files
Hi there. I'd apprecite it if anyone can help me with problems:
I dowloaded the zip files, renamed them as jar files, and put them into classpath. Both NetBeans and Eclipse can not process the jar files "Error processing classpath URL ...gxt-black.jar" is what Eclipse said.
And in NetBeans, it seems still know it is a zip file after renamed as jar.
Would Cypher kindly zip the jars, thanks.
George
-
21 Oct 2009 4:24 AM #29
Hi,
For those wondering if these themes are working with GXT2.0 :
Answer is : Yes, quite out-of-the-box after a trick.
... but some new widgets arent styled.
1)
A theme provides a "filename" so that ThemeManager can automatically bind theme'css in host page when loading theme...
Threre is a little issue as theme filename is just "olive.css" so css cannot be found directly by browser (in fact theme's css is located inside the theme module 'public'/'css' folder, so generated to module's baseurl/css/.
Of course you can hardcode theme's stylesheet path inclusion in host page but loading theme from ThemeManager will produce a 404 error.
To ensure theme is loaded correctly, i suggest you to do this for registering theme :
Code:Theme theme = Theme.OLIVE; String filename = theme.getFile(); theme.set("file", GWT.getModuleBaseURL()+"css/"+filename); ThemeManager.register(theme);
2)
Some widgets arent styled yet by these themes : depends.... GroupButtons, Tooltip, Info display...
-
13 Nov 2009 3:04 PM #30
Add themes
Add themes
You need to do 2 additional things. For example, in order to include the 'slickness' theme:
1) Copy the content of the 'public' folder of you theme-jar to ${war-root}/resources/themes/slickness
2) Add the corresponding css to your main html:
<link rel="stylesheet" type="text/css" href="resources/themes/slickness/css/xtheme-slickness.css" />
Then changing theme works.


Reply With Quote