Applet"

From Documentation
(6 intermediate revisions by 4 users not shown)
Line 6: Line 6:
 
*Java API: <javadoc>org.zkoss.zul.Applet</javadoc>
 
*Java API: <javadoc>org.zkoss.zul.Applet</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.med.Applet</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.med.Applet</javadoc>
 +
*Style Guide: N/A
  
 
= Employment/Purpose =
 
= Employment/Purpose =
A generic applet component
+
 
 +
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 =
 
= Example =
Line 18: Line 32:
 
</source>
 
</source>
  
=Supported events=
+
=Supported Events=
  
 
{| border="1" | width="100%"
 
{| border="1" | width="100%"
Line 27: Line 41:
 
| None
 
| None
 
|}
 
|}
 +
*Inherited Supported Events: [[ZK_Component_Reference/Base_Components/HtmlBasedComponent#Supported_Events | HtmlBasedComponent]]
  
 
=Supported Children=
 
=Supported Children=
Line 32: Line 47:
 
  *NONE
 
  *NONE
  
=Use cases=
+
=Use Cases=
  
 
{| border='1px' | width="100%"
 
{| border='1px' | width="100%"
Line 43: Line 58:
  
 
=Version History=
 
=Version History=
 
+
{{LastUpdated}}
 
{| border='1px' | width="100%"
 
{| border='1px' | width="100%"
 
! Version !! Date !! Content
 
! Version !! Date !! Content
 
|-
 
|-
| 5.0.2
+
| 5.0.3
| 5/18/2010
+
| June 2010
| Initialization
+
| The archive, myscript, align, hspace, and vspace properties are supported
 
|}
 
|}
  
 
{{ZKComponentReferencePageFooter}}
 
{{ZKComponentReferencePageFooter}}

Revision as of 03:26, 29 July 2011

Applet

  • Demonstration: N/A
  • Java API: Applet
  • JavaScript API: Applet
  • Style Guide: N/A

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

ZKComRef Applet Examples.PNG

    <applet codebase="img/" code="ticker.class" msg="ZK is Simple and Rich!" width="580px" />

Supported Events

Name
Event Type
None None

Supported Children

*NONE

Use Cases

Version Description Example Location
     

Version History

Last Update : 2011/07/29


Version Date Content
5.0.3 June 2010 The archive, myscript, align, hspace, and vspace properties are supported



Last Update : 2011/07/29

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.