on 04-23-2019 10:30 AM
Hi, everyone,
I'm developing an app based on CAP architecture. I generate a list report fiori app with an entity named LoginUser under a service named MasterDataService. I need to add a smartmultiinput in a dialog via fiori extension.
it should look like this:
here's my code
<core:FragmentDefinition
xmlns:core="sap.ui.core"
xmlns="sap.m"
xmlns:f="sap.ui.layout.form"
xmlns:s="sap.ui.comp.smartmultiinput">
<Dialog id="dialog" afterClose="destroy" contentWidth="400px">
<f:SimpleForm>
<f:content>
<Label required="true" text="{@i18n>CompanyName}"/>
<s:SmartMultiInput />
<Label required="true" text="{@i18n>FirstName}"/>
<Input />
</f:content>
</f:SimpleForm>
<buttons>
<Button id="okButton" text="{@i18n>OK}" press="modify"></Button>
<Button text="{@i18n>Cancel}" press="cancel"></Button>
</buttons>
</Dialog>
</core:FragmentDefinition>
doesn't bind to any entity so far
but it looks like this:
the smartmultiinput didn't show, how so?
also, i'd like to know how to bind an entity named Company under the same service.
Thanks a lot ! This is my first time with the CAP architecture, a lot of things may not be clear to me.
without binding, smart control is "stupid" control.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.