PDA

View Full Version : CSS File Migration problem to 2.0



FireGlow
7 Jul 2009, 2:39 PM
Hey!

I just changed my project from 1.2.4. to 2.0

After a few hours of migration a screen finally appears :)

Problem is now, that I don't see my form and for example my buttons aren't in the style of gxt, they are just like normal html buttons...

is there anyting to change in the XYZ.html/XYZ.gwt.xml about including the extjs-all.css?

sven
7 Jul 2009, 2:41 PM
You need to include the new css file and resources. please read the setup guide.

FireGlow
7 Jul 2009, 3:03 PM
http://www.extjs.com/deploy/gxt-2.0/2.0_migration_guide.html says

ext-all.css renamed to gxt-all.css. Both images and css folder moved into new gxt folder.


but if i change to

<link rel="stylesheet" type="text/css" href="css/gxt-all.css" />

it doesn't work!

The_Jackal
14 Jul 2009, 5:09 PM
Sven means the Quick setup guide. It lives in the gxt-2.0 zip.

Here's an excerpt:


Copy the contents of the /resources folder in the download to a {foldername} location with your war folder.
Substitute {foldername} with the name of the folder you've created for resources within your war folder. I don't think the "migration guide" is very guidy.. to me a guide steps you through a process - this is just a list of breaking changes.