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}} | |
+ | |||
+ | '''Syntax:''' | ||
+ | <package> | ||
+ | <package-name>''a_JS_package_name''</package-name> | ||
+ | </package> | ||
[Default: <i>none</i>] | [Default: <i>none</i>] | ||
− | + | {{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 < | + | 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 ] | ||
− | + | =Version History= | |
+ | {{LastUpdated}} | ||
+ | {| border='1px' | width="100%" | ||
+ | ! Version !! Date !! Content | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |} | ||
+ | {{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
Version | Date | Content |
---|---|---|