on 2018 Jun 18 9:01 AM
Hi,
I have a problem with the zkex-8.0.5.jar that's used by backoffice (we are using hybris 6.6). When you make a page request, this jar adds an external link to every backoffice-page:
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans"/>
The communication between the browser and the firewall/loadbalancer/whatever is over https, from there to the hybrisserver its over http. The zkex-8.0.5.jar now includes the external link with http and not https (thats my problem a http-link in a https-site). The zkex-8.0.5.jar has a property
DONT_USE_GOOGLE_FONT = "org.zkoss.theme.atlantic.useGoogleFont.disabled"
Is there a way to set this property?
BR
Request clarification before answering.
Hi,
According to https://www.zkoss.org/wiki/ZK_Configuration_Reference/zk.xml/The_Library_Properties/org.zkoss.theme.... you can disable this property in zk.xml. Unfortunately this file is located in cockpitframework.jar (hybris\bin\ext-backoffice\backoffice\web\webroot\WEB-INF\lib\cockpitframerk.jar/metainfo/zk/zk.xml). So you can modify this xml in .jar file :
<library-property>
<name>org.zkoss.theme.atlantic.useGoogleFont.disabled</name>
<value>true</value>
</library-property>
Moreover, I see that the newest version of backoffice has this property set to true by default.
Regards,
Lukasz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.