Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
S P
<private-session-attributes> tag compilation error gettiing
September 19, 2012 8:26 AM
Answer

S P

Rank: Junior Member

Posts: 65

Join Date: August 6, 2012

Recent Posts

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.

1he content of element type "portlet"  .....



Thanks in advance.
Antoine Comble
RE: <private-session-attributes> tag compilation error gettiing
October 27, 2012 12:30 AM
Answer

Antoine Comble

Rank: Regular Member

Posts: 232

Join Date: September 7, 2012

Recent Posts

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.