Hello,

should be fixed. Please try the next nightly build.

Regards

Bernd

H. Swaczinna wrote:
Hi Varna,

this seems to be a related bug to

https://issues.apache.org/jira/browse/TOBAGO-212

Regards
Helmut


        Hi,

I Created a new theme whose package structure is "com.mycompany.tobago.renderkit", fallback theme is speyside.

When using this theme getting the following javascript error :

Tobago.Config has no properties
Tobago.Config.set("Tobago", "themeConfig", "wintage/standard");

The reason is the wintage/ theme-config.js from my wintage theme is included before the standard/theme-config.js.

</script><
script 
src="/Store/com/mycompany/tobago/renderkit/html/wintage/standard/script/theme-config.js"
 type
="text/javascript">
</script><script src=
"/Store/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/theme-config.js" 
type="text/javascript">

Are these script includes sorted alphabetically ?? Isn't this an issue ??

I Guess the includes must be sorted based on fallback dependency !! Atleast the standard theme-config.js must be included first, Because Theme.Config property is initialized there.

Regards,
Varma

Reply via email to