Using in Windows VISTA, tomcat and JDK 1.5 Liferay 4.3.4
I have defined two portlets (deployed as a war file).
My portlets supports EDIT and VIEW
When I am logged in i can create a page a place my portlet on a public welcome page. The administrator use the edit mode
to configure the portlets, then restore them to VIEW Mode.
So far everything is fine.
Then I Sign out from liferay portal (log out) and I am redirected as a guest to the welcome page :
unfortunately, some (3 out of 6) of
my portlets instances are in EDIT mode !Additonally, the portlet in EDIT mode have on the title bar the message "Return to full page" (And they are NOT maximized).
Even if as a guest I click on the portlet to force them back to VIEW mode (it works), if I come back late the
portlets (the same) are STILL in EDIT MODE.
Any Idea ? A Liferay bug or an issue in my (simple) config files ???
Thanks to all
1
2<?xml version="1.0"?>
3<!DOCTYPE liferay-portlet-app PUBLIC "-//Liferay//DTD Portlet Application 4.3.3//EN" "http://www.liferay.com/dtd/liferay-portlet-app_4_3_3.dtd">
4
5<liferay-portlet-app>
6 <portlet>
7 <portlet-name>simpleATPIPortlet</portlet-name>
8 <instanceable>true</instanceable>
9 </portlet>
10 <portlet>
11 <portlet-name>chartATPI</portlet-name>
12 <!--icon>/icon.png</icon-->
13 <instanceable>true</instanceable>
14 <!--header-portlet-css>/css/test.css</header-portlet-css>
15 <header-portlet-javascript>/js/test.js</header-portlet-javascript-->
16 </portlet>
17 <portlet>
18 <portlet-name>tableATPI</portlet-name>
19 <instanceable>true</instanceable>
20 <header-portlet-css>/css/bv_styles.css</header-portlet-css>
21 <header-portlet-javascript>/jsp/application/constantes_js.jsp</header-portlet-javascript>
22 <header-portlet-javascript>/js/TreePI.js</header-portlet-javascript>
23 </portlet>
24</liferay-portlet-app>
Event the database seems to be unconsitent (the view seems to be in VIEW mode on the screen but a select in the db returns :
select name, typeSettings from layout where typeSettings like '%chartATPI_WAR_dovapplication_INSTANCE_Axnl%'
(my portlet name)
1
2column-2=tableATPI_WAR_dovapplication_INSTANCE_FZjm,chartATPI_WAR_dovapplication_INSTANCE_tuEN,
3column-1=tableATPI_WAR_dovapplication_INSTANCE_ZdgM,tableATPI_WAR_dovapplication_INSTANCE_VQ23,chartATPI_WAR_dovapplication_INSTANCE_Axnl,chartATPI_WAR_dovapplication_INSTANCE_D2JS,
4[color=#F50F0F]mode-edit[/color]=tableATPI_WAR_dovapplication_INSTANCE_FZjm,tableATPI_WAR_dovapplication_INSTANCE_ZdgM,tableATPI_WAR_dovapplication_INSTANCE_VQ23,chartATPI_WAR_dovapplication_INSTANCE_Axnl,chartATPI_WAR_dovapplication_INSTANCE_tuEN,chartATPI_WAR_dovapplication_INSTANCE_D2JS,
5state-max=
6state-min=
7layout-template-id=2_columns_i