论坛

主页 » General Discussion » Projects

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Bharat Ratan
Search function do not work
2012年3月20日 上午3:59
答复

Bharat Ratan

等级: Youngling

帖子: 1

加入日期: 2011年8月29日

最近的帖子

Hi

I am trying to search user based on passing value enter by user in text box. I am using search functionality which come with UserlocalServiceUtil. Search function is like

search(long companyId, String keywords, int status, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)

and i am passing value in this function like
int userStatus=1

userResult=UserLocalServiceUtil.search(companyId,searchUser,userStatus,userParams,searchContainer.getStart(),searchContainer.getEnd(),searchContainer.getOrderByComparator());

Its return zero size of List.
Adorján Nagy
RE: Search function do not work
2012年5月22日 上午3:03
答复

Adorján Nagy

等级: Youngling

帖子: 18

加入日期: 2010年10月21日

最近的帖子

Hi Bharat,

I would like to ask you to open a new forum thread in Liferay Portal forum as this Code Camp 2011 forum was used for a coding competition.

The Liferay Portal forum is a really active forum where you can search for existing related topics and start new ones in various languages.

Thank you for your understanding,
Adorján