Create the basic product list and form

In this section of the tutorial you will create the basic product list and form using NeXTensio.

First, create the product list:

  1. Open the index page in Dreamweaver.

  2. Go to the MX Kollection tab of the Insert bar and click on the Create NeXTensio List Wizard icon. The wizard is divided into four steps which must be configured.

  3. In the first step configure table details:


                               

  4. In the second step of the wizard define the columns to be displayed in the list. Use the default values, as all fields will be displayed from the current table. Configure the options as you can see in the image below (the fields order):


     

  5. In the third step define what form element will each column use for the list filter. Remove the filter element for the product image:


                               

  6. In the last step define general list options:


                    

  7. When you have finished configuring all steps of the wizard, click Finish to close it and apply the changes to the page.

The wizard will add HTML elements and server behaviors to the page in order to build the list. Save the page and upload it to the remote server.

 

Next you will build the NeXTensio form that implements the operations in the list:

  1. Open the form page from the site root in Dreamweaver.

  2. Go to the MX Kollection tab of the Insert bar and click the Create NeXTensio Form Wizard icon. The wizard is divided into four steps which must be configured. Because MX Kollection uses the user interface persistence, part of the field options are already set up.

  3. The first step of the wizard is completely configured with the database connection and product table:


                                

  4. In the second step configure what form elements will each field use:


                                 

  5. In the third step you can define validation rules for each field used in the form:


                              

  6. In the last step of the wizard define form specific options:


                           

  7. When you are done configuring the form options click the Finish button to close the wizard and apply the changes. Save the page.

 

If you want, you can even test the list and form in a browser, but the image upload will not work. You will be able to add or edit products, but without any file operations.

In the next topic you will enhance both the list and the form to enable the use of product pictures.