Siebel Business Process & Functionality (MOSC)

MOSC Banner

Usage of the confirm() function in eScript

edited Mar 2, 2016 3:35AM in Siebel Business Process & Functionality (MOSC) 2 commentsAnswered ✓

Hi,

I have trouble getting a confirmation popup to appear. I have a popup applet "A" with a minibutton that invokes a method and closes the applet "A". The method is invoked via server script.

I want to have a new popup (with ok or cancel) appear after clicking the minibutton but before the method is invoked. As I understood, I could solve this with the confirm method in browser script. So I wrote the following code in browser script:

function Applet_PreInvokeMethod (name, inputPropSet)

{

//AR 20160226: Prompts for a confirmation of email address

if(MethodName == "(my minibutton method)")

{

  if(confirm("Test. Do you wish to continue?"))

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center