Thorsten Scherler wrote:
Hello devs,
<snip>
Another question is the portal view.
http://cocoon.apache.org/2.1/developing/portal/profiles.html#The+Portal
+View
Does that mean we can have
a) user based portal
b) role based portal
c) global based portal
views?
Would it be possible to extend this?
a) user based portal
b) role based portal
c) request based portal
d) directory (relative to the request) based portal
e) doctype based portal
f) global based portal
views?
If I understand your question correctly....
The portal layout is constructed when the user logs in. This is
accomplished via the various profile definitions in the portal
configuration section of the sitemap. All the various definition files
are accessed via a uri attribute, which can contain the cocoon:
protocol. Thus, matchers and selectors can be used to determine which
file should be loaded or the files can even be constructed using a
custom generator if you desire. So, in short, each and every login can
see a different view of the portal. Note however, that a "request based
portal" or "directory (relative to the request) isn't really possible
since the portal is configured during login, not for every request.
salu2