Revision history [back]

click to hide/show revision 1
initial version

answered 2011-10-22 03:57:51 +0800

terrytornado gravatar image terrytornado flag of Germany

http://www.oxitec.de/

only Pseudo-Code:

  void doNew() {
      School school = new School();
      setSelectedSchool(school);
}

You must told the binder to save the UI components data to the bean properties.
 (because in costas sample zul file is standing ... save-when='none'...)

  void doSave(){
       getBinder.saveAll();
       myDataBase.saveMyBeanData(getSelectedSchool());
}

best Stephan

PS: Try to debug the article module in ZKsample2. Online-demo: http://www.zk-web.de/zksample2/

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