0

No theme in zul file

asked 2012-12-14 10:04:56 +0800

yohann gravatar image yohann
57

updated 2012-12-14 10:05:31 +0800

Hi,

I'am using my own theme with the following code in zk.xml:

	<desktop-config>
		<theme-uri>/css/mytheme.css</theme-uri>
	</desktop-config>

But I need to include zul file without using my theme, so is someone knows how to specify no theme in a zul file ?

Thanks,

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-12-19 07:00:19 +0800

benbai gravatar image benbai
2228 6
http://www.zkoss.org

Hi yohann,

The included page still in the same web page and can access custom theme
I'll suggest you use the Sclass attribute, e.g.;

<zk>
	<style>
		.custom-theme button {
			color: red;
		}
	</style>
	<!-- assume the two div are two included zul pages -->
	<div sclass="custom-theme">
		<button label="button one" />
	</div>
	<div>
		<button label="button two" />
	</div>
</zk>

Regards,
Ben

link publish delete flag offensive edit

answered 2012-12-19 14:44:49 +0800

yohann gravatar image yohann
57

Hi Benbai,

Many thanks for your answer, i have tried your suggestion and it works perfectly !

Regards,
Yohann

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-12-14 10:04:56 +0800

Seen: 66 times

Last updated: Dec 19 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More