Highlighted
Frequent Contributor.. Frequent Contributor..
Frequent Contributor..
819 views

How can I change the time and format an alert appears?

Jump to solution

I configured and alert in SLM module. The alert calls a notification, which has the following information:
Message clas: alert
Message number: 700
Arguments: number in $L.file
Notification method: msg

It works, but the thing is that I need the banner that appears in the top part lasts more. At least few more seconds or until the operator close it by clicling the "X". 

I attach the banner that appears. If someon can tell where do I can change the format (Color) and the time it lasts.

0 Likes
1 Solution

Accepted Solutions
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: How can I change the time and format an alert appears?

Jump to solution

I would check the Help Server. That's usually the best place to start when trying to figure out things. For instance, this very subject is addressed there. Please see the info below, copied directly from the Help Server, and also the attached screenshot of the web.xml file.

(Attached-->)

 

Web parameter: message display properties

Web parameters change the behavior of the web clients that connect to the web tier. You can set some of these parameters from the web client login URL, some from the web tier configuration file (web.xml), and some from both.

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 messagedisappears.

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)

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.

View solution in original post

3 Replies
Highlighted
Absent Member.
Absent Member.

Re: How can I change the time and format an alert appears?

Jump to solution

i think you can change it from Tailoring----- notifecation ---- notifecation  

and check for SLA or related to you

0 Likes
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: How can I change the time and format an alert appears?

Jump to solution

I would check the Help Server. That's usually the best place to start when trying to figure out things. For instance, this very subject is addressed there. Please see the info below, copied directly from the Help Server, and also the attached screenshot of the web.xml file.

(Attached-->)

 

Web parameter: message display properties

Web parameters change the behavior of the web clients that connect to the web tier. You can set some of these parameters from the web client login URL, some from the web tier configuration file (web.xml), and some from both.

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 messagedisappears.

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)

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.

View solution in original post

Highlighted
Frequent Contributor.. Frequent Contributor..
Frequent Contributor..

Re: How can I change the time and format an alert appears?

Jump to solution

Thank you AChandler for your detailed information. It helped me to change the time parameters and solved my problem.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.