ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Setting 'verdana' as default font family.

Ganeshkhakare
10 Dec 2011 08:34:28 GMT
10 Dec 2011 08:34:28 GMT

Hi,
I'am trying to set Verdana as default font-family through out my application. I put following in zk.xml


<library-property>
<name>org.zkoss.zul.theme.fontFamilyT</name>
<value>Verdana</value>
</library-property>
<library-property>
<name>org.zkoss.zul.theme.fontFamilyC</name>
<value>Verdana</value>
</library-property>

But I'm not able to set Verdana as default font-family.

When I looked at 'web\css\norm.css.dsp', I found following code.

<c:set var="val" value="${c:property('org.zkoss.zul.theme.fontFamilyC')}"></c:set>

<c:set var="fontFamilyC" value="${val}" scope="request" unless="${empty val}"></c:set>


I think problem is with ${c:property('org.zkoss.zul.theme.fontFamilyC')} line. Because there is no function mapped to c:property in core.dsp.tld.

Please tell me if it is bug or my understanding is wrong?

Thanks in advance

Ganeshkhakare
10 Dec 2011 09:21:11 GMT
10 Dec 2011 09:21:11 GMT

Also breeze theme has some hard coded references of "arial" as font-family it is not using library property for it. Is there any way to tell breeze to use verdana as default font-family