danny chanyalew:
<liferay-ui:search-form
page="/html/portlet/enterprise_admin/user_search.jsp"
searchContainer="<%= searchContainer %>"
context="<%= pageContext%>"
/>
First thx for your solution, but i have a question.
Liferay Version is "Liferay Portal Enterprise Edition 5.2.4"
I'm trying to get the user searching, from the control panel, working in my own Portlet.
The Problem looks to me like it needs a SearchContainer from the type "UserSearch"(com.liferay.portlet.enterpriseadmin.search.UserSearch)
But in my Portlet the Type "UserSearch" cannot be found and so it crashes

"Only a type can be imported. com.liferay.portlet.enterpriseadmin.search.UserSearch resolves to a package"
So i checked, that the "UserSearch" is in the portal-impl.jar and it can't be seen by my Portlet.
How do i fill now the param "searchContainer" from the search-form?
The ui-tld says that "searchContainer" is not required. But if u leave the param empty it crashes with a NullPointerException.
I'm hoping someone can help me.
Sascha
Please sign in to flag this as inappropriate.