Documentation Archive Developer
Search
Table of Contents Previous Section 

Customizing Your Application With WebAssistant

The WebAssistant allows you to customize each page of your application. You can specify:

By default, an entity's propertie s are listed in alphabetical order. Often, you'll want to change the order, as well as hiding some properties.

To activate the WebAssistant, click Customize in the Direct to Web header. A Java applet window appears showing the WebAssistant. This window lets you customize the current page in your application. (Using the Expert mode, you can customize any page in the application, regardless of whether it is currently displayed; see See WebAssistant Expert Mode .

When you customize a page using the WebAssistant, the changes apply to all occurrences of that page, and that page only. For example, if you change the order of properties in an edit page for the Movie entity, then any time a Movie edit page is displayed, those changes are in effect. However, the changes don't apply to a Movie query, list, or inspect page; if you want to customize those in the same way, you must do so explicitly. Or, you can use the "*all*" setting in Expert mode to change all four pages at once; see See WebAssistant Expert Mode .

 

All the entity's properties (attributes and relationships) are listed in the Show column, in the order in which they are displayed in the page. Properties in the Hide column are not displayed in the page. For each property, you can:

Note: This change only affects the way the entity is labeled in the page, and has no effect on the actual entity name.

The "Value type" field shows the data type of the selected property. You can't edit this field.

The icon in the upper right of the window shows whether the selected property is an attribute or a relationship .

The WOComponent box shows the name of the component that is being used to display the property in the page. In many cases (when the Pick button is enabled), you can choose a different component to display the property. In the above example, the studio entity uses the QueryToOneField component. If you click the Pick button, a new applet window appears, allowing you to select a different component.

 

These are reusable components found in the Direct to Web Framework; see See The Direct to Web Components for more information on the available components.

When you've made your changes to the page, you can use the buttons at the bottom of the WebAssistant to apply them:

Note that when you have activated the WebAssistant, a frame appears at the bottom of each page in your application, containing a "Show WebAssistant" button and a status field. To bring the WebAssistant to the front, click the Show WebAssistant button (rather than clicking Customize again).

 

Table of Contents Next Section