Sclass"
From Documentation
m |
|
(No difference)
|
Revision as of 02:28, 8 September 2010
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.