Skip to Content
0

Call a XML view in a sap.ui.dialog

May 02 at 08:03 AM

37

avatar image
Former Member

How can I do that please help with it.if any one has a sample code in SAPUI5.

I already have view created and I just want to call the whole view in dialog. How can I do this??

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

VIPLOVE KHUSHALANI May 03 at 06:17 AM
1

Nesting view in dialog is not preferable .. Use fragments instead but still you want to include than use this code line to include ..

<mvc:XMLViewviewName="<namespace>.<folderName>.<viewName>"/>

Thanks

Viplve

Share
10 |10000 characters needed characters left characters exceeded
Jun Wu May 02 at 12:00 PM
0

what does call xml view mean?

Share
10 |10000 characters needed characters left characters exceeded
tisha dharod May 04 at 08:47 AM
0

Hi ,

Please use Dialog control as fragment and follow the steps mentioned in below to open close and bind the fragments

https://blogs.sap.com/2014/02/20/sapui5-dialogwith-businesscard-as-xml-fragment-along-with-controller/

Share
10 |10000 characters needed characters left characters exceeded