By default, everything all 5250 output text processed by Genie will appear as output fieldsfield elements or widgets.
An output field element is a container for text or objects returned from JavaScript or a program.
Font colors, borders, labelssupplied by your 5250 program or by a JavaScript expression.
Changing Labels
To adjust an existing label, simply double-click the label and change the text. This is useful in expanding abbreviations now that Genie allows for more screen space (e.g. changing qty to quantity or csz to city/state/zip).
Adding a new Heading
If you need to To add a heading label to a program, section, column or anything else on a screen, an output field is the ideal candidate.
Select Add Element -> Output Field from the design toolbar.
Then, you can simply edit the value in the Output Field Properties window to display whatever text you like.
All of the font, color and other appearance settings can be adjusted with the Properties window, as with any other element.
Adjusting Abbreviations
It is very likely that there are some space saving abbreviations in headings and labels on your system (qty - quantity, csz – city, state, zip). Now that Genie has given your system some new layout options, you may want to expand these abbreviations to their full values. In this example, we will change ‘script:value’ (Qty) to Quantitynew label, select Label in the Widgets Toolbox and drag it to the screen. Double-click the label to modify the text, font, color, alignment, and formatting.
Creating a dynamic output field
To create an output field that is evaluated through a dynamic JavaScript expression, enter script: or js: plus the appropriate expression into the value property of the field.