0

I can't use <?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?> in page.zul

asked 2009-12-09 22:59:44 +0800

best0032001 gravatar image best0032001
69 2

this is code for call window popup form

Window win = (Window) Executions.createComponents(
"/page/typecost/typecostADD.zul", null, null);
win.setMaximizable(true);
win.doModal();


so if page typecostADD.zul add this code <?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?>

it error
็How can i do to use <?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?> in this page ?

delete flag offensive retag edit

2 Replies

Sort by » oldest newest

answered 2009-12-10 07:23:19 +0800

fmcypriano gravatar image fmcypriano
612 1 7
http://felipecypriano.com...

Maybe you need to tell to the binder who is it's space owner. Something like that in typecostADD.zul:

<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="./wndTypeCostAdd" ?>
<window id="wndTypeCostAdd" ... >
  All your components goes here
</window>


Regards

link publish delete flag offensive edit

answered 2009-12-11 09:38:43 +0800

best0032001 gravatar image best0032001
69 2

thx

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2009-12-09 22:59:44 +0800

Seen: 302 times

Last updated: Dec 11 '09

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