Using Basic Web Controls
Basic web controls refer to the following: Text Field, Password, Text Area, Checkbox, Radio Button, Image Button, Button, Drop-down List and List.
- A text field is a text box that displays information in one row. You can specify the number of characters to display and the maximum number of characters allowed in a text field.
- A password is a special text field in which the typed password is displayed as asterisks. You can specify the number of characters to display and the maximum number of characters allowed in a password.
A text area is a text box that displays information in multiple rows. You can specify the maximum number of characters allowed in a text area. When the input text reaches the width of the text area, the following text will auto wrap to the next row, and so on.
- A checkbox or a radio button is a button used to specify the value of a Boolean type option. When the button is selected, the option is enabled, and when unselected, the option is disabled. A checkbox can work alone while two or more radio buttons need to work together to enable only one from multiple options.
- An image button allows you to import an image from your local disk as a button.
- A button can be used for submitting or resetting a form.
- Lists and drop-down lists are generally called multi-valued containers. They both provide a list of values for users to select from. A list displays values in a box with or without scrollbar and is suitable for showing just a few values. A drop-down list is a good choice for providing a long list of values while taking smaller room and presenting more values at the first sight.
In most cases, these basic web controls are not used independently. They are bound with some web actions, or put into a form. When a basic web control is bound with web actions which will be triggered on certain events, any of the events applied to the web control will perform the web actions. In page reports created using query resources, you can also add basic web controls into a form, and then define the form according to your requirements, so that the inputs at runtime can be submitted to Logi JReport Server.
At present, basic web controls are not supported in page reports created using business views and their usages are limited when used in the configuration panel of library components.
This section shows how to use the basic web controls as follows: