|
Project Information
Members
Featured
Downloads
Wiki pages
|
ZK addon for Spring ROOThe ZK addon for Spring ROO enables rapid RIA development using plain Java, ZK, Spring and Hibernate/JPA with Spring ROO. The build script is simply a Maven's POM file. Spring ROO makes you develop your Java applications faster and the most important aspect is that you are in-control of everything in the app. This ZK addon helps you setup a ZK project quickly. It automatically scans .ZUL files and injects id-based ZK components into the associated ZK Composer every time you change the .ZUL files. Would like to try this similar functionality for the Grails framework? Try ZKGrails. Getting StartedIf you have an older version of the addon installed, please remove it first: osgi uninstall --bundleSymbolicName org.zkoss.zk.roo.addon Then, try these commands in the Spring ROO shell step-by-step. osgi start --url http://zk-roo.googlecode.com/files/org.zkoss.zk.roo.addon-1.0.0.M3.jar project --topLevelPackage org.my.project persistence setup --provider HIBERNATE --database H2_IN_MEMORY entity jpa --class ~.entity.MyData field string --fieldName name web zk setup // // Please use: composer --class ~.web.IndexComposer --zul index.zul // for the current snapshot build. // composer --name ~.web.IndexComposer --zul index.zul // // open index.zul file and add <button id="btnOK">OK</button> here. // listen to --event onClick --selector button#btnOK --methodName btnOKClicked Commands
News
|