that is nothing to do with view type and flp.
1. Suppose caller component name is "com.target.Caller" and the called component name space is "com.source.Reuse". With this assumption, what value should I mention for "name" here?
com.source.Reuse
2. Will it cause any issue as the name spaces are different?) NO ISSUE
id : "Comp3",
url : "/appurlforthecomponent", (Question: How can I determine url to the component? Should that be the url to com.target.Caller or com.source.Reuse?)
url of the reuse
componentData : {
"targetViewName" : "saywhichviewyouwant" (Question: I hope I should mention com.test.view.MyViewFragment here. How can I do that? As i refer the fragment in the view itself, is this necessary?)
}
}); RUN YOUR REUSED APP, YOU WILL GET THE URL
targetViewName is just an input parameter(you defined, you can name it to anything), which just tell what you want, but didn't determine it should be a page or a view, you can return what ever you want in the reused component.