The Login Page
When you launch your application, your web browser displays the Direct to Web login screen:
The login page is the default implementation of your Main component, Main.wo . It contains text fields to enter a name and password, as well as two submit buttons. To continue with the application, click one of the submit buttons. (You don't need to enter a name and password, because the default application provides no password-checking logic.) They both take you to the application's default first page. If you use the Login button, you won't have access to the WebAssistant.
You can modify this page to provide any behavior or appearance you like. For example, you can add your own password-checking logic if necessary. See See Modifying Your Application's Code for more information.
Besides the login page, there are four types of pages in a Direct to Web application:
- A query page that allows the user to construct a query for a particular entity; see See Query Pages .
- A list page that displays one or more records of a particular entity in tabular form; see See List Pages . The result of a query is always a list page.
- An inspect page that displays a single record of a given entity; see See Inspect and Edit Pages .
- An edit page that displays a single record of a given entity and also allows you to make changes to the record and save it to the database; see See Inspect and Edit Pages .
When you click one of the login buttons, by default a query page for the first entity in your model is displayed.
All pages in your application contain the standard Direct to Web header (defined in Header.wo ) at the top of the page. This header provides a number of controls, described in the figure.