hi all i have a project A with a startlink, this project depend on project B (B contain some commons ivy component). Now user start page by that startlink, it will open a page which use come commons component from B) Now i need to get root folder of project A, i refer this post but it just work fine if it run in project A, when i call it on commons component (project B) then it return the folder of B. My question is: is there any api to get root folder (maybe webcontent) of project where user start the startlink (like project A in above example)? Thanks asked 27.03.2017 at 11:33 trungdv |
Ivy puts all requests on a stack. There is an API to access this stack. But you can't directly access the initial process model version over
This will work if B is a Callable Sub Process. If you call B with a Trigger, this won't work. There will be a new task, which will ends up in a complete new request. In this case you have to pass the parameters through process data. Note: You have to think about your design. Projects A depends on project B (A -> B). Now you create a implicit dependency backwards. A knows B and B knows A implicit. In my opinion that only makes sense, if B is something like a framework. Which seems to be the case - you call it "common components". answered 27.03.2017 at 20:24 Alex Suter ♦♦ hi @Alex Suter ♦♦ Thanks for your fast response, yes you're right, it's B is a framework. Can you tell me what will happen if i use signal or overriding process? can i find root request on that stack?
(28.03.2017 at 04:13)
trungdv
This concept only works for Callable Subprocess.
(28.03.2017 at 08:50)
Alex Suter ♦♦
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 27.03.2017 at 11:33
Seen: 2,149 times
Last updated: 28.03.2017 at 08:50