I solved my problem using references. Now the default role psml contains
just a reference to the real psml (where content is depicted) like the
following
<portlets>
<metainfo>
<title>Role1 mainmenu item</title>
</metainfo>
<reference path="role/role1/media-type/html/page/role1"/>
</portlets>
When the merged psml are created, they contain just references to the
original role psml. By this way, changes to the original psml are
reflected to the merged ones.
At the moment, this solution has at least a flaw. For each role, just a
menu item is created. It's clear that this could contains submenu items
too, but I would like to specify more than a mainmenu for role.
BR, Alessandro
-----Messaggio originale-----
Da: Alessandro La Rocca [mailto:[EMAIL PROTECTED]
Inviato: mercoled� 7 aprile 2004 12.17
A: '[EMAIL PROTECTED]'
Oggetto: role merging
Hello,
my jetspeed is configured to use role merge and, at first, it seems to
work properly.In fact, the first time an user logs in, a new psml is
created merging the required role psml.
Unfortunately, if the role psml changes (and this happens frequently),
changes are not reflected on the merged psml until this is deleted and
tomcat restarted! Furthermore, even if deleted, that psml is still used
for rendering the user page!
I don't use customization. So, my wish is that jetspeed generates the
merged psml every time an user logs in, in order to include the updated
role psml.
Is it a dream or just a simple configuration I was not able to find?
Thanks a lot
Alessandro
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]