Sclass
From Documentation
Revision as of 02:28, 8 September 2010 by Elton776 (talk | contribs) (moved ZK Style Guide/Sclass to ZK Style Guide/ZK Class Concept/Sclass)
The purpose of the Sclass is to lightly change the CSS of the component.
For example,
<zk>
<style dynamic="true">
.mydb {
border: 1px solid blue;
}
</style>
<textbox sclass="mydb" value="having Sclass"/>
<textbox value="Without Sclass"/>
</zk>
As you can see, the above example has two Textbox, one has the Sclass property, and the other has no the Sclass property. Most of the time we need to customize a style with a special field without influencing others, we can specify the Sclass property instead.