[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Alert Message  XML
Forum Index -> Development
Author Message
kabat

Power User

Joined: 10/12/2007 10:12:44
Messages: 78
Offline

We use the alert mechanism of the status bar. In the popup coming up the title is always "Alert Message", irrespective of the login language. Is there a possibility to edit this title, like in the normal popups?

Agnes
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

Hi,

no currently there is no API to change this. But the idea is fine - so we added a second method:

Code:
     /**
      * Output alert message. This message must be confirmed by the user.
      */
     public static void outputAlert(String text)
     {
         ...
     }
     
     /**
      * Output alert message. This message must be confirmed by the user.
      * With this method you can add an explicit title for the popup
      * that is opened.
      */
     public static void outputAlert(String text, String title)
     {
         ...
     }
 


Is available with next update.

Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team