0

how do i define WPD?

asked 2016-11-02 09:55:22 +0800

liuyu6u gravatar image liuyu6u
1

Hi there,

Following 《ZK Client-Side Ref》 , i wonna define my project's WPD. But get 404 error for my package wpd.

Anyway i doubt some settings are wrong in the doc or incomplete.

Any success practise on this problem?

Thank you very much

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2016-11-06 08:46:13 +0800

Darksu gravatar image Darksu
1991 1 4

Hello ,

Please refer to the following documentation:

https://www.zkoss.org/wiki/ZK%20Component%20Development%20Essentials/Creating%20the%20Configuration%20Files

Also from the error code looks like it can not be found, so keep in mind that the file should be placed in the same directory as the widget classes.

An example wpd file is the following:

<?xml version="1.0" encoding="UTF-8"?>
<package name="mycomp" language="xul/html" depends="zul" >
    <widget name="TestDiv" />
</package>

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2016-11-02 09:55:22 +0800

Seen: 18 times

Last updated: Nov 06 '16

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More