Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3229

Object Page Layout, how to implements sections?

$
0
0

Dear all,

 

I'm still learning use XML view and want to create like-SAPUI5 Explored

 

Here's my code :

 

<core:View xmlns:core="sap.ui.core"           xmlns="sap.uxap"           xmlns:layout="sap.ui.layout"           xmlns:m="sap.m"           height="100%"           controllerName="klaimtemp.TempKlaim"        >  <m:App>  <m:pages>  <m:Page>  <m:content>    <ObjectPageLayout id="ObjectPageLayout" enableLazyLoading="false" subSectionLayout="TitleOnLeft" showTitleInHeaderContent = "true" showHeaderContent="true" >        <headerTitle>            <ObjectPageHeader objectImageURI="http://localhost:8080/KlaimTemp/klaimtemp/uncleben.gif"            objectImageShape="Circle"            objectTitle="Ben Parker"            objectSubtitle="Senior UI Developer"            objectImageAlt="Senior UI Developer"            id="ObjectPageLayoutHeaderTitle"            isObjectIconAlwaysVisible="false"            isObjectTitleAlwaysVisible="false"            isObjectSubtitleAlwaysVisible="false"            isActionAreaAlwaysVisible="true"            showPlaceholder = "true">            </ObjectPageHeader>        </headerTitle>        <headerContent>            <layout:VerticalLayout>                <m:Link text="+33 6 4512 5158"/>                <m:Link text="tim.mcafeed@sap.com"/>                 <layout:HorizontalLayout>                 <m:Image src=""></m:Image>                 <m:Image src=""></m:Image>             </layout:HorizontalLayout>            </layout:VerticalLayout>                       <layout:VerticalLayout>                <m:Label text="Hello! I am Tim and I use UxAP"/>                <m:VBox height="63px">                    <m:Label text="Achieved goals"/>                    <m:ProgressIndicator                            percentValue="30"                            displayValue="30%"                            showValue="true"                            state="None" />                </m:VBox>            </layout:VerticalLayout>            <layout:VerticalLayout>                <m:Label text="San Jose, USA"/>            </layout:VerticalLayout>        </headerContent>        <sections>            <ObjectPageSection title="Payroll" >                <subSections>                    <ObjectPageSubSection title="sub payroll title"/>                </subSections>            </ObjectPageSection>        </sections>    </ObjectPageLayout>    </m:content>    </m:Page>    </m:pages>    </m:App></core:View>

i am Confused, why sections is not visible?  How to implement sections?

 

Thank You

 

Best Regards,

Yoppie


Viewing all articles
Browse latest Browse all 3229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>