Access to add and change pages is restricted. See: https://cwiki.apache.org/confluence/display/OFBIZ/Wiki+access

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This tutorial explains how to use a "rich client" web UI, inside OFBiz, via the ZK Rich framework (http://potix.com).  That is,

Prerequisites

  1. Comfortable with installing and running OFBiz weekly build at the Windows Command Line
  2. JDK 1.5, with JAVA_HOME environment variable set correctly
  3. A webapp (either your own or one of OFBiz's) already working, that you are happy to mess around with as a sandbox
  4. [Part 3 only] Familiarity with the Spring Framework, at least ApplicationContext and WebApplicationContext

Preparation

  1. Download the latest stable binary (2.3.1 at the time of this writing) of ZK from here: http://potix.com/download/
  2. Unzip this binary to a temporary directory, which we will call ZK_DIR
  3. Make a shortcut to the PDFs in ZK_DIR/doc - the zk-devguide.pdf is the most useful

Installing ZK framework in your OFBiz webapp

  1. Copy all jars from ZK_DIR/dist/lib (but not the subdirs) onto your OFBiz classpath.  See step 2 for how to do this
  2. Decide at what level you want ZK to be available....
  • This webapp only: put them in webapp/WEB-INF/lib
  • All webapps in this OFBiz component: put them somewhere relative to the root dir of this component, then refer to them in your ofbiz-component.xml like so....
  • No labels