s*****w 发帖数: 1527 | 1 usually in your app route, 1 controller corresponds to 1 partial view.
Now in node.js side, if no license, i want the partial view to load a
different page.
Any good sample ?
Thanks ! |
c*********e 发帖数: 16335 | 2 what license?
【在 s*****w 的大作中提到】 : usually in your app route, 1 controller corresponds to 1 partial view. : Now in node.js side, if no license, i want the partial view to load a : different page. : Any good sample ? : Thanks !
|
s*****w 发帖数: 1527 | 3 oh, our software needs license to run, so the logic is to check license 1st
when you click button1.
if yes, do to partial view button1.html.
if no, redirect to license page.
【在 c*********e 的大作中提到】 : what license?
|
C********g 发帖数: 1548 | 4 Service side cannot control your navigation if your request is through AJAX.
You will have to do the redirect with Angular (at client side). |
c*********e 发帖数: 16335 | 5 server side用的什么语言?
【在 s*****w 的大作中提到】 : usually in your app route, 1 controller corresponds to 1 partial view. : Now in node.js side, if no license, i want the partial view to load a : different page. : Any good sample ? : Thanks !
|
s*****w 发帖数: 1527 | 6 node.js
【在 c*********e 的大作中提到】 : server side用的什么语言?
|
s*****w 发帖数: 1527 | 7 我是这么做的,但想找个最正确的例子
AJAX.
【在 C********g 的大作中提到】 : Service side cannot control your navigation if your request is through AJAX. : You will have to do the redirect with Angular (at client side).
|