forward problem

asked 2009-06-24 11:05:42 +0800

kgibrank gravatar image kgibrank
48 1

I've a problem:
my .zul page is:

<window id="win1" apply="MainComposer">
<window id="win2">
<button id="btn" forward="win1.onOK" label="OK"/>

It's possible forward event from button btn in win2 to win1.onOK? if no, which is the solution to call win1.onOK from btn in win2?



delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-06-25 14:34:05 +0800

james gravatar image james
255 2

You'll probably need to use the "getParent()", "getSpaceOwner()", and/or "getFellow()" methods to forward the event correctly.
Play around with those a bit, I'm not sure exactly what you'll need.

Hope this at least helps some.

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




Asked: 2009-06-24 11:05:42 +0800

Seen: 177 times

Last updated: Jun 25 '09

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