-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I knew I can pass parameters through self-defined attributes of <include>
in ZUML,
or by Executions.createComponents("mypage.zul", args)
in ViewModel command method, but I want to know if there any way to set parameters into request attributes in ViewModel and retrieve it from another ViewModei's @Init
method via @ExecutionArgParam
?
You can pass through a dynamic attribute of <apply>
like:
<apply templateURI="@load(vm.templateName)" myparam="@load(vm.param)"/>
Inside the template, bind it with the attribute name like:
<label value="@load(myparam)"/>
Asked: 2018-06-29 09:59:36 +0800
Seen: 11 times
Last updated: Jul 17 '18
[Announcement] ZK 8.5.1 is now available!
Highlight new release changes/new features in demo app
How can I make a button change its image by clicking on the same button?
Problems calling function 'sec:isAnyGranted' with zkspring 3.2 and Spring Security 4
webapp folder of ZK spring boot?
Can I set in runtime a new value to library property: org.zkoss.zk.ui.processMask.enabled:
Package ZK Eclipse Tomcat Project For Deployment
AImage org.zkoss.zk.ui.UiException: java.io.FileNotFoundException