0

Problem with onCreate and SelectorComposer

asked 2016-08-23 18:51:45 +0800

vicnetepc gravatar image vicnetepc
96

How to use the onCreate event window in a control with SelectorComposer with zk 7? Please introduce a code example.

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-08-27 19:50:21 +0800

yanto1234 gravatar image yanto1234
1

ran your code and Its seem to be working fine. Please show the stacktrace of the error. You should also once refresh and clean the project before running it again. un the Maven build with "clean" & "package" build. It wil make a .war file in your target folder. Copy it in webapps folder of Tomcat and run it. Make sure that you choose your archtype as "maven-archtype-webapp" while creating the maven project. I am also learning ZK but this setup works fine for me.

link publish delete flag offensive edit

Comments

Yanto, did you replied on the wrong post?

chillworld ( 2016-08-28 05:05:58 +0800 )edit
0

answered 2016-08-28 14:22:54 +0800

Darksu gravatar image Darksu
1991 1 4

Hello vicnetepc,

You can find the required information at the following documentation:

https://www.zkoss.org/wiki/ZKDeveloper'sReference/MVC/Controller/Composer

Specifically check the section which refers to the doAfterCompose

Reference: https://www.zkoss.org/javadoc/latest/zk/org/zkoss/zk/ui/select/SelectorComposer.html#doAfterCompose(T))

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
2 followers

RSS

Stats

Asked: 2016-08-23 18:51:45 +0800

Seen: 18 times

Last updated: Aug 28 '16

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