Administer > System Configuration Parameters > Client parameters for Web clients > Web parameter: message display properties

Web parameter: message display properties

Web parameters change the behavior of the web clients that connect to the web tier. For more information, see Web tier parameters.

Parameter

messageBarError

messageBarInfo

messageBarWarning

Description

These parameters determine how different types of message are displayed. The parameter value consists of three parts: the first part defines if this type of message is displayed in the message bar, the second part defines if the message automatically disappears, and the third part defines the duration in seconds before the message disappears.

The latter part of the parameter value is dependent on the previous part. For example, if the first part of value is set as false, which means that this type of message is not displayed on the top of the detail window, then the following two parts of parameter values are meaningless and thus ignored. If the second part is set as false, which means that this type of message does not automatically disappear, then the last value defining the duration before the message disappears is ignored.

Valid if set from

Web tier configuration file (web.xml and webtier.properties)

Requires restart of the web applications server?

Yes

Default value

messageBarError

true:false

messageBarInfo

true:true:4

messageBarWarning

true:true:6

Possible values

true (displayed)/false (not displayed): true (disappear automatically)/false (not disappear): 0 to unlimited

Note If you specify an invalid number for the third part of the value, a default value of 6 seconds is used.

Example usage

  • <context-param>
    <param-name>messageBarError</param-name>
      <param-value>true:false</param-value>
    </context-param>

    The default value means that the error type of message is displayed on the top of the detail window, and does not automatically disappear.

    Note If the user changes the second value to true to make the error message bar automatically disappear, then the user has to set the last value to decide the duration before it disappears.

  • <context-param>
      <param-name>messageBarInfo</param-name>
      <param-value>true:true:4</param-value>
    </context-param>

    The default value means that the information type of message is displayed on the top of the detail window, and it automatically disappears after four seconds.

  • <context-param>
      <param-name>messageBarWarning</param-name>
      <param-value>true:true:6</param-value>
    </context-param>

    The default value means that the warning type of message is displayed on the top of the detail window, and it automatically disappears after six seconds.