Skip to Content
-1

I want to integrate login for my application

Feb 19 at 05:30 PM

55

avatar image
Former Member

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Arjun Biswas Feb 20 at 05:56 AM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thank you very much for reply

0

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)

1
avatar image
Former Member Feb 22 at 12:12 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 22 at 12:17 PM
0

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.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Please make this question as answered and start a new thread.

Regards,

Jamie

2