Push button control

A push button control initiates an event such as opening a window with a list of records or opening an empty row where a user can enter a record. Place this control inside a button group control.

General properties

Attribute name Description

Control ID

Each control in a presentation is assigned a unique Control ID that is read-only.

Label

You can specify a label that identifies the control to the user. If you do not enter a label, the button is blank. This label is specific to the application and is not stored in the MAXATTRIBUTE or APPFIELDDEFAULTS tables.

Event

You can associate a push button with an event and, when the user clicks the button, the event is triggered. To configure a push button event, specify the event and, optionally, the ID of a control that processes the event.

Events are processed in the following order:
  1. If you specify a control target ID, the event is sent to this data source for processing.
  2. If you do not specify a control target ID, the event is sent to the main JSP page of the application for processing.
  3. The window associated with the specified event loads.

To view all of the events defined in the system, export the system .XML files and search these files for MXEVENT entries.

Target ID

If you associate an event with the hyperlink, you can specify the ID of a target control to process the event that is different from the current control. The target ID for the Go To hyperlink, for example, is pageTitlebar.

Value

Reserved for future use.

Default Button

If selected, this button becomes the default button in a button group. You can configure the most frequently used button, for example, New Row, as the default button.

Menu Type

You can specify the value of a menu ID in this field to link the control to a preformatted drop-down menu. Menu IDs are stored in the menus.xml file. To view the content of this file, export the system XML files.

Advanced properties

Attribute name Description

Image Filename

You can associate an image with the push button. Specify the name of an image file that is stored in the <root>\applications\maximo\maximouiweb\web module\webclient\images directory. It is not necessary to enter the path to the images directory.

Signature Option

You can specify a signature option that can restrict access to this control or change the properties of this control based on a condition that you specify. To create a signature option, click Add/Modify Signature Options in the Select Action menu. To specify a condition, click the Configure Conditional Properties button.

Sig Option Data Source ID

An MBO must be used to evaluate whether or not a user has access to a signature option. Specify the value of the data source that performs this evaluation if it is different to the data source that is configured for this control.



Feedback