Skip to main content

Creating the Application Class

The first step in creating our Zen Contacts application is to create the Application class for the application. Here are the steps:

  1. Open Studio. On the menu bar click File–>New. This opens the New dialog:

    generated description: newapp1 20142

  2. Click the Zen category. Next, click the Zen Application icon and then click OK. This launches the Zen Application Wizard:

    generated description: newapp2 20131

  3. Enter the following information:

    • Package Name: ZenTutorial

    • Class Name: Application

    • Application Name: ZenContacts

    Click Finish. The Studio editor displays the following new Caché Zen class:

    generated description: newapp3 20101

  4. Notice that the HOMEPAGE parameter has no value. Assign it the value ZenTutorial.HomePage.cls. This is the main page and home page of our application. The following tutorial page contains instructions for creating it.

    
    Parameter HOMEPAGE="ZenTutorial.HomePage.cls";  
    
    

    Compile ZenTutorial.Application by clicking Build–>Compile on the Studio menu bar.

FeedbackOpens in a new tab