论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
intern web
cannot get path
2013年3月8日 上午6:38
答复

intern web

等级: New Member

帖子: 7

加入日期: 2013年2月26日

最近的帖子

hi friends ,


I am trying to to make a custom portlet that will generate reports based monitoring data stored by liferay itself.

i hove got object userTracker of type UserTracker by using usertrackerids manually,
from what i have understood the below function should return me paths that users have accessed irrespective of whether they are online or not.
it should access data stored in the table "usertrackerpath" and "usertracker" but instead all i get is an empty List.

i can access other details such as number of hits etc but not specific items like paths and data.
1
2List<UserTrackerPath> paths = userTracker.getPaths();



please help...
Dipanjan Das
RE: cannot get path
2013年3月8日 下午1:55
答复

Dipanjan Das

等级: Junior Member

帖子: 30

加入日期: 2012年9月28日

最近的帖子

Please check whether you have added the following entry in portal-ext.properties
live.users.enabled=true
intern web
RE: cannot get path
2013年3月9日 上午10:20
答复

intern web

等级: New Member

帖子: 7

加入日期: 2013年2月26日

最近的帖子

Dipanjan Das:
Please check whether you have added the following entry in portal-ext.properties
live.users.enabled=true



yes i have already done that and i can view the current sessions at monitoring but i can view only those sessions that are live... but what about the sessions that are not live.

I want to access the data of users that have already logged out through code so that i can display it in a portlet.