Skip to Content
0
Feb 01, 2023 at 10:55 AM

App.view.xml validated not "sap.ui.layout.form"

210 Views Last edit Feb 03, 2023 at 10:05 AM 5 rev

Hi,

App.view.xml "sap.ui.layout.form" is validated

Kindly check the code, error screen shots in editor.

<mvc:View
displayBlock="true"
xmlns:mvc="sap.ui.core.mvc"
xmlns:l="sap.ui.layout"
xmlns:f="sap.ui.layout.form"
xmlns:core="sap.ui.core"
xmlns="sap.m"
controllerName="myapp.controller.App">
	<App>
		<pages>
			<Page title="openSAP - Developing with SAPUI5">
				<content>
					<IconTabBar
						id="idTopLevelIconTabBar">
						<items>
							<IconTabFilter id="start" text="{i18n>gettingStartedFilter}">
						
		
		
		<Image>
src=""https://upload.wikimedia.org/wikipedia/commons/thumb/8/86/Wikipedia_Hello_World_Graphic.svg/2000px-Wikipedia_Hello_World_Graphic.svg.png"
											height="600px"
			</Image>								
	
	
							<Button
									text="{i18n>showHelloButtonText}"
									press="onShowHello"/>
								<Input
									value="{helloPanel>/recipient/name}"
									description="Hello {helloPanel>/recipient/name}"
									valueLiveUpdate="true"
									width="60%"/>
							</IconTabFilter>
							
						<IconTabFilter id="layouts" text="{i18n>layoutFilter}">
								<MessageStrip
									type="Information"
									showIcon="true"
									text="Here's a Form Layout inside an Icon Tab Bar …"/>
								<f:SimpleForm id="simpleFormChange"
									title="Address"
									editable="true"
									class="editableForm">
									<f:content>
										<Label text="{i18n>layoutFormName}"/>
										<Input value="{address>/Name}"/>
										<Label text="{i18n>layoutFormStreet}"/>
										<Input value="{address>/Street}"/>
										<Label text="{i18n>layoutFormHouseNumber}"/>
										<Input value="{address>/HouseNumber}"/>
										<Label text="{i18n>layoutFormZIPCode}"/>
										<Input value="{address>/ZIPCode}"/>
										<Label text="{i18n>layoutFormCity}"/>
										<Input value="{address>/City}" />
										<Label text="{i18n>layoutFormCountry}"/>
										<Select>
											<items>
												<core:Item text="{i18n>layoutCountryGermany}"/>
												<core:Item text="{i18n>layoutCountryUSA}"/>
												<core:Item text="{i18n>layoutCountryEngland}"/>
											</items>
										</Select>
									</f:content>
								</f:SimpleForm>
								<Toolbar>
									<ToolbarSpacer/>
									<Button
										text="{i18n>layoutPublishButton}"
										type="Accept"/>
									<Button
										text="{i18n>layoutDraftButton}"/>
								</Toolbar>
							</IconTabFilter>
						</items>
					</IconTabBar>
				</content>
			</Page>
		</pages>
	</App>
</mvc:View><br>

app-view.png 2nd half: view-2.png

Thanks

Kaushik

SAP Fiori/EP

Attachments

app-view.png (145.9 kB)
view-2.png (153.4 kB)