-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi, I'm using ZK from a few days and I'm facing a problem.
I don't know if it's actually a bug or if it's my fault (I think it's the second), but I can't change the widgets id.
For example the following code:
<window id="aWindow"/>
Thanks for help and sorry for my english and for this probably stupid question!
Every component with an id has a GUUID generated for it. Why do you want to change your window's id?
Really I need to change the id of elements like input text, div and so on to use an existing stylesheet!
I've also tried to change the id defined in the css to match the GUIID of the widget, but then I've add another widget before it and the first widget's GUUID is obviously changed!
So I don't understand how it's possible to customize a widget using an external stylesheet if the GUUID it's not fixed!
Check the style example in demo >> here <<.
The simplest (but limited way) is to override via style-attribute:
<label id="msg" value="Hello, ZK" style="color:white;background:black"/>
You can use the <style> tag to override existing components or create sclass-overrides.
Check the link and the docs (Styleguide).
/Robert
Asked: 2010-08-24 14:36:57 +0800
Seen: 193 times
Last updated: Aug 24 '10