HTML Tags"
From Documentation
m |
|||
Line 2: | Line 2: | ||
Here we discuss how to use HTML tags directly in a ZUML document. There are several ways as described in the following sections, and you could choose one based on your requirement. | Here we discuss how to use HTML tags directly in a ZUML document. There are several ways as described in the following sections, and you could choose one based on your requirement. | ||
+ | |||
+ | {| border='1px' | width="100%" | ||
+ | ! What to consider !! [[ZK Developer's Reference/UI Patterns/HTML Tags/The html Component|html component]] !! [[ZK Developer's Reference/UI Patterns/HTML Tags/The native Namespace|native namespace]] !! [[ZK Developer's Reference/UI Patterns/HTML Tags/The XHTML Component Set|XHTML components]] !! [[ZK Developer's Reference/UI Patterns/HTML Tags/JSP|JSP]] | ||
+ | |- | ||
+ | | Update Content Dynamically | ||
+ | | Yes | ||
+ | | No | ||
+ | | Yes | ||
+ | | No | ||
+ | |- | ||
+ | | Mix with ZUL components | ||
+ | | No | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | Yes/No<ref>You could mix HTML tags with ZK components, if [http://www.zkoss.org/product/zkjsp.dsp ZK JSP Tags] is used. Otherwise, you could only have a JSP page to include other ZUL pages, or vice versa.</ref> | ||
+ | |- | ||
+ | | Memory Footprint | ||
+ | | Small | ||
+ | | Small | ||
+ | | Large | ||
+ | | Small | ||
+ | |||
+ | |} | ||
+ | |||
+ | In additions, you could use [[ZK Developer's Reference/UI Patterns/HTML Tags/The iframe Component|iframe]] to embed a complete HTML document which might be from a different website with different technology. | ||
{{ZKDevelopersReferenceHeadingToc}} | {{ZKDevelopersReferenceHeadingToc}} | ||
+ | |||
+ | <blockquote> | ||
+ | ---- | ||
+ | <references/> | ||
+ | </blockquote> | ||
+ | |||
{{ZKDevelopersReferencePageFooter}} | {{ZKDevelopersReferencePageFooter}} |
Revision as of 02:14, 11 November 2010
Here we discuss how to use HTML tags directly in a ZUML document. There are several ways as described in the following sections, and you could choose one based on your requirement.
What to consider | html component | native namespace | XHTML components | JSP |
---|---|---|---|---|
Update Content Dynamically | Yes | No | Yes | No |
Mix with ZUL components | No | Yes | Yes | Yes/No[1] |
Memory Footprint | Small | Small | Large | Small |
In additions, you could use iframe to embed a complete HTML document which might be from a different website with different technology.
- ↑ You could mix HTML tags with ZK components, if ZK JSP Tags is used. Otherwise, you could only have a JSP page to include other ZUL pages, or vice versa.