-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have multiple listeners for an event (using mvc) and I would like to specify the order in which they are executed. In the sample code, if the user changes the type radio selection the changeSearchType method should be executed BEFORE the search method. Is there a way to specify the order of execution? I am using zk 6.5.2.
@Listen("onCheck = #typeRadio")
public void changeSearchType() {
// change the search type
}
@Listen("onCheck = #typeRadio; onClick = #searchButton")
public void search() {
// execute the search
}
Hi
Try the following sample.
@Listen("onCheck = #typeRadio")
public void changeSearchType() {
// change the search type
search();
}
@Listen("onClick = #searchButton")
public void search() {
// execute the search
}
Asked: 2013-07-18 09:28:53 +0800
Seen: 22 times
Last updated: Jul 22 '13
my login/index zul page is loading twice, where as i am only calling it once
Sign out all desktops in a Session
ZK how to stop OnClick event of tab? [closed]
Execute Javascript on component visible
ZK Clustering, Session Replication Question [closed]
Problem binding values to a composite component