Thanks for your reply Randy. I thought this feature was just missing in the
Admin portlet but it looks like it isn't really a feature of J2?
From what you wrote I guess that this means that every psml has to be copied
for every existing group. Most pages are available for all groups just the
layout needs to be different.
I need a better understanding of the structure of these files so I can't
check it right away (e.g. what the h*** is a profiling rule? ;-))
I will get back once it worked or didn't work.
However this only looks like a workaround as a portal should be able to
assign different layouts per group dynamically. I should probably ask this
question once I have more insight into J2, but wouldn't it be possible to
transform the psml files using xsl assigning layouts and other group specific
attributes on the fly?
Stefan
Randy Watler <[EMAIL PROTECTED]> wrote: Stefan,
You can try this:
1. Remove all layout and portlet decorator defaults from the *.psml pages.
2. Add a group profiling rule for all users, (e.g. 'group-fallback' or
similar).
3. Create group specific root folders, (e.g.
/WEB-INF/pages/_group/group[0-3]).
4. Configure each group root folder with a folder.metadata, probably
copied from an
existing /WEB-INF/pages/folder.metadata file; if
/WEB-INF/pages/folder.metadata
does not already exist, create one of these as well.
5. Define default layout and portlet decorators in the 4 group root
folder.metadata files
you just created. Similarly, define a default set in the root
folder.metadata that will be
used for non-authenticated users.
Give it a shot! Let me know ASAP if you have any problems... this should
work as described here.
Randy
---------------------------------
Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!
Jetzt Yahoo! Messenger installieren!