0

Macro component javascript

asked 2014-07-01 13:12:01 +0800

EverisJPL gravatar image EverisJPL
1

Is there a way to load a zk.wpd file with a macro component? If I define the macro component in the lang addon, and I assign a widget class it is not being loaded.

Thanks.

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-05-18 06:34:36 +0800

Darksu gravatar image Darksu
1991 1 4

Hello EverisJPL,

You can find information regarding wpd files as well as the supported elements at the following url:

http://books.zkoss.org/wiki/ZKComponentDevelopmentEssentials/CreatingtheConfigurationFiles/TheWidgetPackage_Descriptor

Best Regards,

Darksu

link publish delete flag offensive edit
0

answered 2015-05-29 08:15:48 +0800

vincentjian gravatar image vincentjian
2245 6

Hi,

You can define the component and widget class in custom language addon and then load this language addon in WEB-INF/zk.xml file.

<language-config>
    <addon-uri>/WEB-INF/lang-addon.xml</addon-uri>
</language-config>
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: 2014-07-01 13:12:01 +0800

Seen: 19 times

Last updated: May 29 '15

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