0

java file access the parent zul file's associated class

asked 2009-04-23 16:24:25 +0800

james gravatar image james
255 2

I have class that I am applying to a page. I am also using a rowRenderer, and I wan to be able to change a variable in that class. From the rowRenderer.java file, how would I access the parent page's class?
I want to add an onClick event that will change a specific variable in that page's class.

Can anyone help me with this please?
Thanks beforehand for any advice I can get.
-James

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-04-24 03:47:56 +0800

kindalu gravatar image kindalu
255

I guess you can assign the page id to each zul and use the path component to get it.

http://docs.zkoss.org/wiki/Component_path_and_accesibility

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-04-23 16:24:25 +0800

Seen: 119 times

Last updated: Apr 24 '09

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