cancel
Showing results for 
Search instead for 
Did you mean: 

unable to use sap.m.MessagePopover without event passing

Former Member
0 Kudos

HI All,

i want use messagePopover for validation error handling. i followed messagePopover example but in this example messagePopover depend on event. In my scenario i dont have any event for open the message popover. can you give me any solution for open messagePopover without event passing.

Regards,

Chiranth

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182862
Active Contributor
0 Kudos

HI Chiranth

You can use openBy in this manner. (you need to have it open by a control).

Sample

-D

Former Member
0 Kudos

dear Dennis,

     I already tried what you suggest but i dont want to extra ui control for opening the messagePopover.

former_member182862
Active Contributor
0 Kudos

Dear Chiranth

You have to understand that this control is constructed and intended to be open by another control. Can you use other control like MessageBox?

-D

DK007
Active Participant
0 Kudos

Hi,

You can open a dialog or some window without an event in View.

In view in onAfterRendering() method, you can write your code to open a something else. Even you can call a method of the controller.

Let me know if you need any more info.

Thanks,

Dheeram