Package org.zkoss.zk.ui.ext
Interface DynamicTag
- All Superinterfaces:
DynamicPropertied
- All Known Implementing Classes:
HtmlNativeComponent
Represents a component is used to represent a broad range of tags.
For example, org.zkoss.zhtml.Raw is used to generate any HTML tags that doesn't have the ZK counterpart. Reason: there are too many HTML extended tags available and developers might choose to use them.
How to use:
- First, extends a class from
AbstractComponentand implements this interface - Declares the class in lang.xml by enclosing it with <dynamic-tag>. Then, any tag that ZK doesn't understand, will use the class.
- Author:
- tomyeh
-
Method Summary
Methods inherited from interface org.zkoss.zk.ui.ext.DynamicPropertied
getDynamicProperties, getDynamicProperty, hasDynamicProperty, setDynamicProperty
-
Method Details
-
setTag
Sets the tag name.- Throws:
WrongValueException
-
hasTag
Returns whether the specified tag is allowed.
-