Foren

Home » General Discussion » Projects

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Bharat Ratan
Search function do not work
20. März 2012 03:59
Antwort

Bharat Ratan

Rang: Youngling

Nachrichten: 1

Eintrittsdatum: 29. August 2011

Neue Beiträge

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
22. Mai 2012 03:03
Antwort

Adorján Nagy

Rang: Youngling

Nachrichten: 18

Eintrittsdatum: 21. Oktober 2010

Neue Beiträge

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