Skip to Content
0
Former Member
Jul 29, 2010 at 01:11 PM

Warning popup in E-sourcing

31 Views

Hello Everybody,

Does anyone know how to create a warning message popup in a master agreement in E-sourcing through scripting?

The scenario I have is as follows:

When an attachment is added to a master agreement, there needs to be a warning popup with a message that technical documents are not to be uploaded due to legal considerations.

I could not get a hook to script at the point where the attachment is added and OK button pressed. My collection validation script on the attachments got fired only on save. Is it possible to get a hook here?

Secondly, i tried using JOptionPane.showMessageDialog(null, "message text"), but got a HeadlessException thrown.

Even after setting the property java.awt.headless to false, i could not get rid of the error.

Any inputs?

Regards,

Shubha