Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Using NavContainer Inside a sap.m.Dialog

Hi All,

Is there a possibilty of using a NavContainer inside a sap.m.Dialog fragment . In PopOver it is possible to have it done but when trying with Dialog nothing is rendered inside the dialog . Here is the code :

<core:FragmentDefinition xmlns:core="sap.ui.core"

  xmlns:layout="sap.ui.layout" xmlns="sap.m">

  <Dialog title="Customer Search" type="Message">

  <NavContainer id="navCon">

  <Page id="master" title="Search ">

  <Label text="Customer Name"></Label>

  <Input></Input>

  <Label text="Payer Code"></Label>

  <Input></Input>

  <Label text="Customer City"></Label>

  <Input></Input>

  <Label text="Customer Postal Code"></Label>

  <Input></Input>

  <Label text="SBU" />

  <layout:ResponsiveFlowLayout>

  <RadioButton groupName="supplierCaused" text="Yes" />

  <RadioButton groupName="supplierCaused" text="No" />

  <RadioButton groupName="supplierCaused" text="No" />

  </layout:ResponsiveFlowLayout>

  <Label text="CBT"></Label>

  <Select id="searchCBT" width="100%"></Select>

  <Label text="Region" />

  <layout:ResponsiveFlowLayout>

  <RadioButton groupName="hisTransaction" text="Yes" />

  <RadioButton groupName="hisTransaction" text="No" />

  <RadioButton groupName="hisTransaction" text="No" />

  </layout:ResponsiveFlowLayout>

  </Page>

  <!--

  <Page id="detail" showNavButton="true" navButtonPress="onNavBack"

  title="Product">

  <Label text="Search Results" />

  </Page> -->

  </NavContainer>

  <beginButton>

  <Button text="Random" press="onDialogClose" />

  </beginButton>

  </Dialog>

</core:FragmentDefinition>

Regards

Mayank

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question