Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Application Methods > SWEAlert MethodSWEAlert displays a modal dialog box containing a message to the user. SyntaxtheApplication().SWEAlert(message) ReturnsUndefined (similar to returning nothing) UsageUse SWEAlert() instead of alert(). With alert(), pop-up applets such as MVG and pick applets are hidden (sent to the background) when a JavaScript alert() is raised by a Browser-side event. With SWEAlert(), the dialog's parent applet is not sent to the background. Used WithExampleThe following browser script example displays a status message to the user. function BusComp_PreSetFieldValue (fieldName, value) { if (fieldName == "Account Status") { return ("CancelOperation"); |
Siebel Object Interfaces Reference | Copyright © 2008, Oracle. All rights reserved. | |