Skip to Content
avatar image
-1
Former Member

I want to integrate login for my application

A-side nav

B header nav

C other views

A and B always show therefore its not depend on router its show in App.view

App.view have a

<tnt:mainContents>
<App id="mainContents"/>
</tnt:mainContents> this line all route view mount to this id so now i want to add login page . when login page show nav and side bar should not show now i am stuck in this first should login page view after should render other views
drawing.png (48.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 20 at 05:56 AM

    Hi Supun madushank,

    Basically all you need is a mechanism to route from a full screen view to a split app. Go through the foll. link to get an idea:

    http://www.sapui5tutors.com/2016/01/routing-from-full-to-split-screen.html

    Regards,

    Arjun Biswas

    Add comment
    10|10000 characters needed characters exceeded

    • The example shown above is very dated - you would, in my view and with respect, be following some old practices by going through that example (e.g. routing should be in manifest.json, XML Views highly recommended to name just 2 of many obvious concerns that I would have)

  • avatar image
    Former Member
    Feb 22 at 12:12 PM

    i am newbie for openui5.

    https://github.com/SAP/openui5/tree/master/src/sap.tnt/test/sap/tnt/demokit/toolpageapp this is the app i want to integrate login. could you help me

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 22 at 12:17 PM

    and i am use https://archive.sap.com/discussions/thread/3958850. now login screen is work. problem is routing. i want to block other routers if user not authenticate. could you suggese how to implement authentication mechanism.

    Add comment
    10|10000 characters needed characters exceeded