Skip to Content

ObjectPageLayout control's tabSelect event not firing even with useIconTabBar="true".

Hi,

ObjectPageLayout control's tabSelect event is not firing for below code even with useIconTabBar="true". Am I missing something or is there a known bug for it?

Thanks.

<uxap:ObjectPageLayout id="ObjectPageLayout" enableLazyLoading="true" useIconTabBar="true" showTitleInHeaderContent="true" tabSelect="tabChanged">

<uxap:headerTitle>

<uxap:ObjectPageHeader

id="idObjectPageHeaderTitle"

objectTitle="Page Title"

isObjectIconAlwaysVisible="false"

isObjectTitleAlwaysVisible="true"

objectImageURI="sap-icon://display">

</uxap:ObjectPageHeader>

</uxap:headerTitle>

<uxap:sections>

<uxap:ObjectPageSection title="TAB1" id="hightlightsTab">

<uxap:subSections>

<uxap:ObjectPageSubSection title="">

<uxap:blocks>

<l:VerticalLayout width="100%">

<mvc:XMLView viewName="com.sap.it.spc.ci.catalogv2.home.ui.views.latestBlock" />

<Label text="" />

</l:VerticalLayout>

</uxap:blocks>

</uxap:ObjectPageSubSection>

</uxap:subSections>

</uxap:ObjectPageSection>

<uxap:ObjectPageSection title="TAB2" id="allTab">

<uxap:subSections>

<uxap:ObjectPageSubSection title="">

<uxap:blocks>

<mvc:XMLView viewName="com.catalogDetails" />

</uxap:blocks>

</uxap:ObjectPageSubSection>

</uxap:subSections>

</uxap:ObjectPageSection>

</uxap:sections>

</uxap:ObjectPageLayout>

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2016 at 11:53 AM

    Hi Manoj,

    It should work.

    An working example - https://plnkr.co/edit/eXnqQGhw6oEVPmupoFKT?p=preview

    Check the console for output of tabChange function, Written in Controller file.

    Thanks,

    Namita

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.