Packing as a Jar"
From Documentation
Line 79: | Line 79: | ||
== Widget Resources == | == Widget Resources == | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! style="width: 70%" | | ||
+ | ! style="width: 30%" | | ||
+ | |- | ||
+ | | | ||
===File Structure=== | ===File Structure=== | ||
*/web/ | */web/ | ||
Line 110: | Line 116: | ||
− | + | | | |
+ | '''Example for box from zul.jar ''' | ||
[[File:Jar_File_widget1.jpg]] | [[File:Jar_File_widget1.jpg]] | ||
+ | |||
+ | |} | ||
== Static Resources == | == Static Resources == |
Revision as of 02:46, 20 September 2010
Jar Files
Packing a component as a Jar file will make it easy to deployment, this article is telling you steps and requirements of it.
- Requirements of a component Jar
- Configurations
- Component classes
- Widget Resources
- Static Resources
Configurations
File Structure
File descriptions
|
Component classes
File Structure
File descriptions
|
Widget Resources
File Structure
File descriptions
|
Static Resources
File Structure
- /web/
- <component-package> /
- css /(optional)
- <css files>(optional)
- zk.wcs(optional)
- img /(optional)
- <img files>(optional)
- css /(optional)
- <component-package> /
File descriptions
- /web/
- <component-package>/
- css/
- <css files>
- For some static css file you might need.
- zk.wcs
- Let you can config the CSS file for a particular language
- <css files>
- img/
- <img files>
- This is a folder for some image files , and you can access them in xxx.css.dsp files through ${c:encodeURL('~./img/<component-package>/xxx.png')}
- <img files>
- css/
- <component-package>/
- For exmaple.
Exmaple