routing/navigation in ngclient

hi all,

I am building a ngclient application in servoy 8 final (3020).

In basic AngularJS I can use the angular-ui router to provide the application menu navigation:
example:
link: Home
*JS: $stateProvider.state(‘home’, { *

  • url: “/”,*
  • views: {*
    “contentgoeshere”: { templateUrl: “/url”}
    }
  • })*
    html content div:

to route through pages and display the html of the url called by the state provider.

For now I have 2 questions:

  1. What is the best way to accomplish (above type of) routing in Servoy NGclient, and does someone have a little example?
  2. Is there an overview of ng-base URLs for the application.

More advice and examples are always welcome. :D

Tnx in advance
Derk

don’t think this will be fully supported in servoy
Currently we have “routing” based on the current main showing form, don’t think you can really hook into this
So the only urls that we have is /solutions/[solutionname]/index.html and then with ?form=xxxx where xxxx is the current main form. (this is used for the back and forward buttons)

So i am not sure what happens if you add something like that in a component, also what is that template url? I guess you kind of want to switch in servoy right? Is that template url a form url? (so kind of a tabpanel)?

It didnt work.
I found already a solution with the tabpanel.

Tnx for the reply