Skip to end of metadata
Go to start of metadata

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

Compare with Current View Version History

« Previous Version 8 Next »

Overview

This lesson is focused on how we can create new Pages in Wayfast. Like we explained in other lessons, Pages are the main unit to build User Interfaces in Wayfast. Even if we are building Web or Mobile applications the life of our end users inside our app is going to happen between pages. You can think of a page as an application screen. Pages are made of controls, datasets and actions. The visual structure of a Wayfast page is defined by its layout.

How to create a new Page in a Project?

Once we generated a Project and built the structure connecting a database (DB), let’s work on create new pages and associate them to the project.

Click on “Project Pages” button at the top menu

“Pages” dashboard displays all the Pages for this Project. It contains a grid that shows the amount of Datasets, Controls and Actions associated to each page.

First let’s click on the “New Page” button.

A popup is displayed with the “General” information to be completed for new page.

There are two page types:

  • “Form” type is used to create screens or standard pages.

  • “Include” type is meant to create composite controls that can be embedded in other pages.

“Is Initial Page” checkbox allows you to set a page as the starting point of your application. This means this page will be the first to be displayed when you run your application.

If we focus on the “Layout” dropdown field, we can pick one of the layouts associated to the Project, this option will organize the controls that we add to this page.

More layouts can be created or added to your project from Wayfast library in the Layouts menu in “General Options” screen.

Now let’s click on “Submit” button to save the changes and verify the new page is created on Page’s dashboard.

We can remove any new page item clicking on “Cross” red icon under the “Delete” column.

Recap

During this lesson, we learnt how to create new pages in our new project. You can think of a page as an application screen. In the next lessons, we will work on how we can add visual controls to a page, connect it with a data source and add behavior to it through actions.

  • No labels