cancel
Showing results for 
Search instead for 
Did you mean: 

How to display a message after a successful save

Former Member
0 Kudos

Hi,

Iam trying to save some data in the backend. After successful save it should show a message as " The data is successfully saved. The product you have saved is : xxxx". Now my question is what should be used to show the message.

Would it be better to use a dialog box or a different view to display the message or something else.

Could someone help me.

Thanks,

Suvarna

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member189631
Active Contributor
0 Kudos

Hi Suvarna,

Please try this to show the Message,

*wdComponentAPI.getMessageManager().reportSuccess("The data is successfully saved. The product you have saved is : xxxx");

Regards,

Ramganesan K.

Former Member
0 Kudos

Hi Suvarna,

I assume you are using WebDynpro. IF that is the case then show the message using WDMessageManager API.

WDMessageManager msgmgr=WDComponentAPI.GetMessageManager();

msgmgr.reportsuccess(" The data is successfully saved. The product you have saved is : xxxx");

Thanks,

Raags

former_member182372
Active Contributor
0 Kudos

Suvarna, what kind of UI technology are you using? WD, Portal component, JSP, VC?

Former Member
0 Kudos

Hi ,

Iam using WebDynpros.

Thanks,

Suvarna