0

Is ii possible to access to a view model from a java script defined in a ZUL page?

asked 2012-12-23 18:37:39 +0800

thrane gravatar image thrane
43 3

Is it possible to access the view model for a ZUL page (e.g. vm):

<window id="modulePanelWindow"
apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('com.alpha.pineapple.web.zk.viewmodel.ModulePanel')"
hflex="1" vflex="1" border="none" >

for at java script defined in a <script> element on the ZUL page?

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2012-12-26 14:53:57 +0800

mhj gravatar image mhj flag of Brazil
806 1 7

hi thrane!
look at http://www.zkoss.org/forum/listComment/18875-Javascript-ZK?lang=en
maybe help you...

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: 2012-12-23 18:37:39 +0800

Seen: 55 times

Last updated: Dec 26 '12

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