The package Element"

From Documentation
(Created page with ' {{ZKConfigurationReferencePageHeader}} [Default: <i>none</i>] [since 5.0.0] It defines a client package (JavaScript) and all of its sub packages that are provided by this se…')
 
m ((via JWB))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ZKConfigurationReferencePageHeader}}
+
{{ZKConfigurationReferencePageHeader}}
 +
 
 +
'''Syntax:'''
 +
<package>
 +
    <package-name>''a_JS_package_name''</package-name>
 +
</package>
  
 
  [Default: <i>none</i>]
 
  [Default: <i>none</i>]
[since 5.0.0]
+
{{versionSince|5.0.0}}
  
 
It defines a client package (JavaScript) and all of its sub packages that are provided by this server. Use this configuration if some client packages might be loaded from different servers, such as Ajax-as-a-Service.
 
It defines a client package (JavaScript) and all of its sub packages that are provided by this server. Use this configuration if some client packages might be loaded from different servers, such as Ajax-as-a-Service.
  
For example, if this server provides the client packages for <tt>foo.fly.*</tt>, then the following shall be specified to enable Ajax-as-a-Service.
+
For example, if this server provides the client packages for <code>foo.fly.*</code>, then the following shall be specified to enable Ajax-as-a-Service.
  
 
<source lang="xml">
 
<source lang="xml">
Line 19: Line 24:
 
** [http://blog.zkoss.org/index.php/2009/08/16/experiment-on-eai-mashup-and-ajax-as-a-service Experiment on EAI, Mashup and Ajax-as-a-Service ]
 
** [http://blog.zkoss.org/index.php/2009/08/16/experiment-on-eai-mashup-and-ajax-as-a-service Experiment on EAI, Mashup and Ajax-as-a-Service ]
  
{{ZKConfigurationReferencePageFooter}}
+
=Version History=
 +
{{LastUpdated}}
 +
{| border='1px' | width="100%"
 +
! Version !! Date !! Content
 +
|-
 +
| &nbsp;
 +
| &nbsp;
 +
| &nbsp;
 +
|}
 +
{{ZKConfigurationReferencePageFooter}}

Latest revision as of 08:52, 14 March 2022


Syntax:

<package>
   <package-name>a_JS_package_name</package-name>
</package>
[Default: none]

Since 5.0.0

It defines a client package (JavaScript) and all of its sub packages that are provided by this server. Use this configuration if some client packages might be loaded from different servers, such as Ajax-as-a-Service.

For example, if this server provides the client packages for foo.fly.*, then the following shall be specified to enable Ajax-as-a-Service.

<client-config>
	<package>
		<package-name>foo.fly</package-name>
	</package>
</client-config>

Version History

Last Update : 2022/03/14


Version Date Content
     


Last Update : 2022/03/14

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