Hi Dominique,
Maybe section 3.2.10 (page 20) in the Web Application developer guide ( http://www.jahia.org/jahia/webdav/site/jahia_org/shared/documentation/First_Draft_Jahia_Template_Developer_Guide.pdf ) would help you solve your problem ?
Regards, Serge Huber.
Pellat, Dominique wrote:
Hello,
I am using Jahia as a portlet container with a portlet in which 2 roles are
defined: depending on those roles (let's say a manager and a user role), an
entry servlet display one welcome page or another.
These roles are mapped with two user groups in Jahia. I want the following
behavior :
- when I authenticate under the manager role, I have to see the manager page - when I authenticate under the user role, I have to see the normal user page
When I first authenticate under the user group, logout and log under the manager group, the display of the portlet is not refresh ! I have to click on the edit tab to force the reloading of the correct page. Or when I logout, if the user guest is in the user role, the reolading of the correct page is ok.
Do you know a mean to be sure a portlet is refresh whenever a user change so Jahia can display the correct page to him - like when we switch in Edit mode - ?
Thanks,
and best wishes for Christmas and the new year !
Dominique Pellat
