Form Models (Magic xpa 4.x)
Form models determine the visual display and format of a task. A form model can be assigned to the following interface types.
-
Browser – For browser-defined tasks
-
GUI Display – For Online interactive tasks
-
GUI Output – For graphic reports
-
Text-based – For textual output reports
-
Frame Set – Used to create a complex Internet document where the browser window is divided into multiple frames.
-
Merge – You can use the Merge form to merge data from a Magic xpa task with a predefined template file to create any dynamic HTML page based on a predefined HTML design.
-
Rich Client Display
-
Rich Client Frames
-
Rich Client MDI Frame
-
Web Client Display
When you define a form type for a specific task in the Form Editor, the selected property sheet appears.
|
Although the form class can be of any interface type, the form model attribute must be set to Form in the Model repository.
|
Assume that in your project all of the forms are uniform and have a wallpaper image in the background. It is time consuming to repeatedly set these properties for each new form. Using a model, you can inherit all of these properties without the need to set them, and without having to remember what you want the form to look like or how to set it. In addition, if you need to change one or more properties, the change will take effect immediately in all of the forms that use that model.