-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I want dynamic change mold of all control, because i call:
Library.setProperty("org.zkoss.zul.Button.mold", "trendy");
Library.setProperty("org.zkoss.zul.Menupopup.mold", "trendy");
Library.setProperty("org.zkoss.zkmax.zul.Navbar.mold", "trendy");
Library.setProperty("org.zkoss.zul.Paging.mold", "trendy");
Library.setProperty("org.zkoss.zul.Panel.mold", "trendy");
after refress i see no effect. how to dynamic change mold?
Hello hiepgau,
Please look at the link below:
http://books.zkoss.org/wiki/ZKDeveloper'sGuide/ZKinDepth/Style_Customization/Mold
You could dynamically change the mold by use of the setMold method in the Component interface.
Best Regards,
Darksu
Hi @Darksu, thanks for your help. My wish is make easy way to support muilti theme. when user1 login he can select a theme1 when user2 login he can select other theme2. because mold must maintain per session. Component.setMold just change mold per component object.
Asked: 2014-04-29 16:10:16 +0800
Seen: 32 times
Last updated: Sep 12 '14
composite component help [closed]
EL in a forEach @command not working?
Different template for each grid row
Cardlayout animation is broken
Grid RowRender slow using 6.5.1 and sizable=true
setVisible(false), component will load or not
Decimalbox and doublebox value rounded on iPad
history management with page status