Quantcast
Channel: ZK Forum - Individual question feed
Viewing all articles
Browse latest Browse all 9640

Pass information between zul (include) using Include.setDynamicProperty Problem

$
0
0
Hi guys, I am trying to pass information from one zul to another using Include.setDynamicProperty and ${requestScope.} but it nos working properly. I have being checking the forum but I did not find an answer. I tried with Should I add another command or is a problem with my configuration?. I tried with and ${param.some} and is working, but I need to pass objects. My codes are really simple since I am just focusing in this issue right now. Thanks for your help. index.zul first.zul ${requestScope.abc} ${param.test} MyViewModel.java public class MyViewModel extends SelectorComposer { private static final long serialVersionUID = 1L; @Wire private Include test1; @Listen ("onClick = #button") public void testing() { test1.setDynamicProperty("abc", new String("test1")); } } First.java public class First extends SelectorComposer { private static final long serialVersionUID = 1L; public First() { } }

Viewing all articles
Browse latest Browse all 9640

Trending Articles