Applet"

From Documentation
Line 8: Line 8:
  
 
= Employment/Purpose =
 
= Employment/Purpose =
A generic applet component
+
 
 +
A generic applet component.
 +
 
 +
If the properties are not enough, you can use [http://docs.zkoss.org/wiki/ZK5:_Client_Computing_with_ZUML#The_Client-Attribute_Namespace:_http:.2F.2Fwww.zkoss.org.2F2005.2Fzk.2Fclient.2Fattribute the Client-Attribute namespace] to specify them.
 +
 
 +
<source lang="xml">
 +
<applet  xmlns:ca="http://www.zkoss.org/2005/zk/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 shall not encode it again.
  
 
= Example =
 
= Example =

Revision as of 09:08, 29 June 2010

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="http://www.zkoss.org/2005/zk/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 shall not 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

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



Last Update : 2010/06/29

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