Themes with 5.0.4
The theme breeze does not work. Any ideas?
Thank you very much. Suppose that zk themes for 5.0.3 to 5.0.4 are not compatible. Right?
Exactly.
Cheers, Maik
not compatible for FL version, but in official version, it will be compatible.
Hello,
I test a theme that works with 5.0.3 and 5.0.4 does not work. What should I change?.
Thank you very much
http://www.zkoss.org/download/premium.dsp#demo
Breeze theme for ZK 5.0.4 and later, available to all ZK members.
OK, but I need to use a theme generated with zkthemer and than works correctly with 5.0.3. What changes should I do?
Thank you very much.
Is necessary change the structure from files?
Because zkthemer simply do some color code transform and png/jpg color transform.
Therefore you should not have to change structure from files.
Thank you very much.
I've solved, the problem is with the file layout.css. This file is not properly processing by the ThemeProvider generated by zkTheme.
@acrv
Can you explain more about not properly processing?
Of course.
The code generated by zkTheme is:
public String beforeWidgetCSS(Execution exec, String uri)
{
String fileName = uri.substring(uri.lastIndexOf("/") + 1);
if(fileList.indexOf(fileName) >= 0)
uri = (new StringBuilder("~./")).append(themeName).append("/").append(uri.substring(3)).toString();
return uri;
}And the code correct is:
public String beforeWidgetCSS(Execution exec, String uri)
{
String fileName = uri.substring(uri.lastIndexOf("/") + 1);
if(!fileName.equalsIgnoreCase("layout.css.dsp") && fileList.indexOf(fileName) >= 0)
uri = (new StringBuilder("~./")).append(themeName).append("/").append(uri.substring(3)).toString();
return uri;
}@acrv : huge credit for you ;). May be somebody needs to update the code in Here as well.
Thank.
ZK - Open Source Ajax Java Framework
Hello,
I have an theme generated with ZKThemer and works perfectly with 5.0.3, but with 5.0.4 does not work. I have to do to use it.
Thank you very much.