Zen Form Wizard
We can use the Zen Form Wizard to create the Zen page. Here are the steps:
-
In Studio click File–>New (as if we are creating a new class). Click the Zen tab and then double-click New Zen Form
-
Enter the following information on the wizard's first screen:
-
Package Name: ContactDB
-
New Class Name: ContactForm
Click Next.
-
-
Enter the following information on the wizard's second screen:
-
Package and Class for Form Data: ContactDB.Contact
-
Form Title: Contacts
-
CSS Files: Leave Empty
-
Description: Whatever documentation you like
Click Finish.
-
This creates and compiles a new class named ContactDB.ContactForm, which defines a Zen page. We can use this page to create and update contacts.