cancel
Showing results for 
Search instead for 
Did you mean: 

how to show the dialog box without using the fragments views in sap webide?

Ranjith
Participant
0 Kudos

Hello.Everyone i'm new to sapui5. i want to show the dialog when the user clicks the submit button.So how to use the dialog box without using the frament file in the sapui5.

Accepted Solutions (0)

Answers (2)

Answers (2)

ushalekha
Participant
0 Kudos

Hi

The dialog must be instantiated somewhere in the controller code, but since we want to stick with the declarative approach and create reusable artifacts to be as flexible as possible, and because dialogs cannot be specified as views, we will create an XML fragment containing the dialog.

Regards,

Ushalekha.

former_member186852
Contributor
0 Kudos

Please check Dialog


Regards,

Meghal Shah

Ranjith
Participant
0 Kudos

i tried it.but i have to set path in the index.html path also.

or else it showing dialog.open() is not a method.can u give another suggestions.

former_member186852
Contributor
0 Kudos

Could you please share your code so I can check.