I've just changed maven's version of SmartGWT, rebuld my project and run it. As result I cant see any presence of theme. Rollback on previous version helps, but what is happened with new version?
Announcement
Collapse
No announcement yet.
X
-
I had same problem with version 2.2 from http://www.smartclient.com/maven2. It cannot locate the sc/ dir on the public path, I havent tried setting isomorphicDir yet, but previous versions worked without it...
-
module's xml:
Code:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.0.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.0.0/distro-source/core/src/gwt-module.dtd"> <module> <!-- Inherit the core Web Toolkit stuff. --> <inherits name='com.google.gwt.user.User'/> <inherits name="com.smartgwt.SmartGwt"/> <inherits name="com.google.gwt.i18n.I18N"/> <inherits name="com.smartgwt.SmartGwtPluginBridges"/> <inherits name="com.smartclient.theme.graphite.Graphite"/> <inherits name="com.smartgwt.ofcchart.OFCChart4SGWT"/> <!-- Specify the app entry point class. --> <entry-point class='pages.main.client.Main'/> <!-- Properties --> <extend-property name="locale" values="en"/> <extend-property name="locale" values="ru_RU"/> <!-- Specify the app servlets. --> <servlet path='/pages.main.Main/MainService' class='pages.main.server.MainServiceImpl'/> </module>
Code:<html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"/> <title id="title">Cells management</title> <style type="text/css"> a { font-size: 12px; } .grayLink { cursor: pointer; color: gray; text-decoration: underline; font-size: 12px; } </style> </head> <!-- --> <!-- The body can have arbitrary html, or --> <!-- you can leave the body empty if you want --> <!-- to create a completely dynamic ui --> <!-- --> <body> <iframe src="javascript:''" id='__gwt_historyFrame' style='position:absolute;width:0;height:0;border:0'></iframe> <!-- --> <!-- This script is required bootstrap stuff. --> <!-- --> <script type="text/javascript" language="javascript" src="pages.main.Main.nocache.js"></script> </body> </html>
Comment
-
Originally posted by sjivanThe com.smartgwt.SmartGwt module includes the Enterprise theme by default. Inherit the SmartGwtNoTheme module instead since you're explicitly inheriting com.smartclient.theme.graphite.Graphite.
SanjivCode:<inherits name='com.google.gwt.user.User'/> <inherits name="com.smartgwt.SmartGwtNoTheme"/> <inherits name="com.google.gwt.i18n.I18N"/> <inherits name="com.smartgwt.SmartGwtPluginBridges"/> <inherits name="com.smartclient.theme.graphite.Graphite"/>
http://localhost:8080/pages.main.Main/pages.main.Main/sc/skins/Graphite/images/ListGrid/header_menu.png
Failed to load resource: the server responded with a status of 404 (Not Found)
Somehow "pages.main.Main" duplicates :(
Comment
-
Originally posted by smartgwt.devModify the helloworld-2.0 sample in the distribution to inherit SmartGwtNoTheme and com.smartclient.theme.graphite.Graphite. You'll see that it works fine.Last edited by Metallic; 21 May 2010, 06:19.
Comment
-
You configuration was invalid in the fist place. You cannot inherit SmartGwt and the Graphite modules since the SmartGwt module inherits the default Enterprise skin and there are bound to be conflicts.
Only you know the details of your environment. We have no idea what
Somehow "pages.main.Main" duplicates
Comment
Comment