Skip to Content
avatar image
Former Member

unable to use sap.m.MessagePopover without event passing

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • May 22, 2015 at 09:02 PM

    HI Chiranth

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

    Sample

    -D

    Add comment
    10|10000 characters needed characters exceeded

    • 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