Fórum
<private-session-attributes> tag compilation error gettiing
S P, modificado 11 Anos atrás.
<private-session-attributes> tag compilation error gettiing
Junior Member Postagens: 58 Data de Entrada: 06/08/12 Postagens Recentes
Hi All,
I am trying to use the following tag in liferay-portlet.xml in liferay-portal-6.1.0-ce-ga1-20120106155615760.war
<portlet>
<private-session-attributes>false</private-session-attributes>
</portlet>
but i am getting compilation error in the xml...urgent help will be really greatful.
Thanks in advance.
I am trying to use the following tag in liferay-portlet.xml in liferay-portal-6.1.0-ce-ga1-20120106155615760.war
<portlet>
<private-session-attributes>false</private-session-attributes>
</portlet>
but i am getting compilation error in the xml...urgent help will be really greatful.
he content of element type "portlet" .....
Thanks in advance.
Antoine Comble, modificado 11 Anos atrás.
RE: <private-session-attributes> tag compilation error gettiing
Regular Member Postagens: 232 Data de Entrada: 07/09/12 Postagens Recentes
Hello,
Here's an example :
<?xml version="1.0"?>
<!DOCTYPE liferay-portlet-app PUBLIC "-//Liferay//DTD Portlet Application 6.1.0//EN" "http://www.liferay.com/dtd/liferay-portlet-app_6_1_0.dtd">
<liferay-portlet-app>
<portlet>
<portlet-name>myportlet</portlet-name>
<instanceable>false</instanceable>
<private-session-attributes>false</private-session-attributes>
<header-portlet-css>/css/styles.css</header-portlet-css>
</portlet>
</liferay-portlet-app>
It works fine for me.
Here's an example :
<?xml version="1.0"?>
<!DOCTYPE liferay-portlet-app PUBLIC "-//Liferay//DTD Portlet Application 6.1.0//EN" "http://www.liferay.com/dtd/liferay-portlet-app_6_1_0.dtd">
<liferay-portlet-app>
<portlet>
<portlet-name>myportlet</portlet-name>
<instanceable>false</instanceable>
<private-session-attributes>false</private-session-attributes>
<header-portlet-css>/css/styles.css</header-portlet-css>
</portlet>
</liferay-portlet-app>
It works fine for me.