Form editing work flow

Here is a sample work flow one may use as a guide to developing forms in ZEPRS:

  • Start up mysql
  • Open eclipse
  • Start tomcat - in servers pane, click on tomcat6 and press debug button
  • Open Firefox and proceed to your local version of zeprs. Login with zepadmin user
  • Go to Admin and to Form Admin. Create new form. Add some fields.
  • Deploy the changes:
    • After previewing form, restart tomcat. The service notices the new form and generates the required files. If you try to view the form now, the server will have an error. You need to refresh ZEPRS and restart tomcat again from eclipse to deploy the newly-rendered source code. First, right-click on the zeprs project in the Project explorer view and select refresh. This copies all of the files over. Then restart tomcat.
    • Another way to do this is after previewing your form, go to the Admin page and click Generate Form changes. It's the same process that happens when the server is re-started. Then in Eclipse, right-click on the zeprs project in the Project explorer view and select refresh. This copies all of the files over. Then restart tomcat.