cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to navigate between two .js views not using shell?

Former Member
0 Likes
297

Hi everyone,

I'm developing a web application and what I want to do now is navigating between two js views.

When I use shell to do that I found I don't need the original style of shell like the black area or logout button.

So my question is how could I navigate between two js views and not use shell?

Thanks!

Cassie

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi Cassie,

if you are declaring the page dynamically in index.html

you can use app.to("pageid");

Regards

Siddhartha

Answers (1)

Answers (1)

saivellanki
Active Contributor
0 Likes

Hi Cassie,

Use Routing Mechanism: Navigation between views using Routing and para... | SCN

If there are less number of views, then you can use nav container: Plunker

Regards,

Sai Vellanki.

Former Member
0 Likes

Hi Sai Vellanki,

Thanks very much for providing the helpful link. However it still use the shell and sap.m lib, and what I write is not a mobile app, just a web app.

So do you have another solution?

Thanks!

Best Regards,

Cassie.

saivellanki
Active Contributor
0 Likes

Hi Cassie,

If your using js views (sap.ui.jsview). Still you can use routing mechanism for that. Routing belongs to core library as well.

API: JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ui.core.routing.Router

Helpful Link: Step 3: Navigation and Routing - User Interface Add-On for SAP NetWeaver - SAP Library

Regards,

Sai Vellanki.