-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4847794
By: dmrzh2
It would be good to make injecting spring beens in subclasess of org.zkoss.zk.ui.Component with spring.
for example
public class MyWindow extends Window{
@Resource
private MyDao myDao;
onCreate(){
myDao.findAll()...
...
}
}
In our application tag @BindToWindow used to mark model and later bind to AnnotateDataBinder.
Similar feature implemented in Wicket Framework(wicket.apache.org) using
InstatntiationListener: in Component constructor list of InstatntiationListener s notified.
Asked: 2008-03-19 11:37:44 +0800
Seen: 173 times
Last updated: Mar 19 '08