on 02-19-2018 5:30 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please make this question as answered and start a new thread.
Regards,
Jamie
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.