Applet"
From Documentation
Tmillsclare (talk | contribs) m (Created page with 'init') |
|||
(11 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{ZKComponentReferencePageHeader}} | |
+ | |||
+ | {{Deprecated_Content}} | ||
+ | |||
+ | = Applet = | ||
+ | |||
+ | *Demonstration: N/A | ||
+ | *Java API: <javadoc>org.zkoss.zul.Applet</javadoc> | ||
+ | *JavaScript API: <javadoc directory="jsdoc">zul.med.Applet</javadoc> | ||
+ | *Style Guide: N/A | ||
+ | |||
+ | = Employment/Purpose = | ||
+ | |||
+ | A generic applet component. | ||
+ | |||
+ | If the properties are not enough, you can use [[ZUML Reference/ZUML/Namespaces/Client Attribute| the Client-Attribute namespace]] to specify them. | ||
+ | |||
+ | <source lang="xml"> | ||
+ | <applet xmlns:ca="client/attribute" | ||
+ | ca:whatever_name="whatever_value"/> | ||
+ | </source> | ||
+ | |||
+ | |||
+ | === Archive and Codebase === | ||
+ | |||
+ | Since 5.0.3, both <code>archive</code> and <code>codebase</code> properties are encoded with the application's context path and URL rewriting, so you don't and should not have to encode it again. | ||
+ | |||
+ | = Example = | ||
+ | |||
+ | [[Image:ZKComRef_Applet_Examples.PNG]] | ||
+ | |||
+ | <source lang="xml" > | ||
+ | <applet codebase="img/" code="ticker.class" msg="ZK is Simple and Rich!" width="580px" /> | ||
+ | </source> | ||
+ | |||
+ | =Supported Events= | ||
+ | |||
+ | {| class='wikitable' | width="100%" | ||
+ | ! <center>Name</center> | ||
+ | ! <center>Event Type</center> | ||
+ | |- | ||
+ | | None | ||
+ | | None | ||
+ | |} | ||
+ | *Inherited Supported Events: [[ZK_Component_Reference/Base_Components/HtmlBasedComponent#Supported_Events | HtmlBasedComponent]] | ||
+ | |||
+ | =Supported Children= | ||
+ | |||
+ | *NONE | ||
+ | |||
+ | =Use Cases= | ||
+ | |||
+ | {| class='wikitable' | width="100%" | ||
+ | ! Version !! Description !! Example Location | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | =Version History= | ||
+ | {{LastUpdated}} | ||
+ | {| class='wikitable' | width="100%" | ||
+ | ! Version !! Date !! Content | ||
+ | |- | ||
+ | | 5.0.3 | ||
+ | | June 2010 | ||
+ | | The archive, myscript, align, hspace, and vspace properties are supported | ||
+ | |} | ||
+ | |||
+ | {{ZKComponentReferencePageFooter}} |
Latest revision as of 01:44, 23 August 2023
Applet
Employment/Purpose
A generic applet component.
If the properties are not enough, you can use the Client-Attribute namespace to specify them.
<applet xmlns:ca="client/attribute"
ca:whatever_name="whatever_value"/>
Archive and Codebase
Since 5.0.3, both archive
and codebase
properties are encoded with the application's context path and URL rewriting, so you don't and should not have to encode it again.
Example
<applet codebase="img/" code="ticker.class" msg="ZK is Simple and Rich!" width="580px" />
Supported Events
None | None |
- Inherited Supported Events: HtmlBasedComponent
Supported Children
*NONE
Use Cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|
5.0.3 | June 2010 | The archive, myscript, align, hspace, and vspace properties are supported |