Hi
Would do I need to add themes to my java app?
I add this here to my gwt.xml file
<inherits name=“com.smartgwt.SmartGwtNoScript”/>
<inherits name=“com.smartclient.theme.enterprise.EnterpriseResources”/>
<inherits name=“com.smartclient.theme.blackops.BlackOpsResources”/>
<inherits name=“com.smartclient.theme.silverwave.SilverWaveResources”/>
<inherits name=“com.smartclient.theme.treefrog.TreeFrogResources”/>
<inherits name=“com.smartclient.theme.fleet.FleetResources”/>
What did I need to do to change the theme in runtime like in the showcase.
In the Showcase.java are this lines:
selectItem.addChangeHandler(new ChangeHandler() {
public void onChange(ChangeEvent event) {
Cookies.setCookie(“skin”, (String) event.getValue());
com.google.gwt.user.client.Window.Location.reload();
}
});
I did sad the cookie and reload the app but the layout didn’t change.
Did someone has a idea?
Thanks for help.