what is the correct way of letting the user change dynamically the skin if using SmartGwtEENoScriptNoTheme ?
My gwt.xml file:
<inherits name="com.smartgwtee.SmartGwtEENoScriptNoTheme" />
<inherits name="com.smartclient.theme.tahoe.Tahoe" />
<inherits name="com.smartclient.theme.tahoe.TahoeResources" />
<inherits name="com.smartgwt.RealtimeMessagingNoScript"/>
My html bootstrap file:
...
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/initsc.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Core.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Foundation.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Containers.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Grids.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Forms.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_RichTextEditor.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Calendar.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_DataBinding.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/skins/Tahoe/load_skin.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Drawing.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Charts.js"></script>
Here, I replaced the line:
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/skins/EnterpriseBlue/load_skin.js"></script>
with
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/skins/Tahoe/load_skin.js"></script>
For letting the user select the skin dynamically, as in the showcase, what is the correct way to do it (using NoScriptNoTheme)?
Using smartgwt 6.1p power
My gwt.xml file:
<inherits name="com.smartgwtee.SmartGwtEENoScriptNoTheme" />
<inherits name="com.smartclient.theme.tahoe.Tahoe" />
<inherits name="com.smartclient.theme.tahoe.TahoeResources" />
<inherits name="com.smartgwt.RealtimeMessagingNoScript"/>
My html bootstrap file:
...
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/initsc.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Core.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Foundation.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Containers.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Grids.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Forms.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_RichTextEditor.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Calendar.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_DataBinding.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/skins/Tahoe/load_skin.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Drawing.js"></script>
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Charts.js"></script>
Here, I replaced the line:
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/skins/EnterpriseBlue/load_skin.js"></script>
with
<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/skins/Tahoe/load_skin.js"></script>
For letting the user select the skin dynamically, as in the showcase, what is the correct way to do it (using NoScriptNoTheme)?
Using smartgwt 6.1p power
Comment