Forums

Home » General Discussion » Projects

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Bharat Ratan
Search function do not work
March 20, 2012 3:59 AM
Answer

Bharat Ratan

Rank: Youngling

Posts: 1

Join Date: August 29, 2011

Recent Posts

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
May 22, 2012 3:03 AM
Answer

Adorján Nagy

Rank: Youngling

Posts: 18

Join Date: October 21, 2010

Recent Posts

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