Hey Harish,
I have a simlilar form of question with different edge.
Lets say we can display a ArrayList<String> of UserName. But if i have an long array of ids and also i want to display that id. is that possible to display more than one list in searchContainer or that goes under limitation.
Here a sample code may help you to understand my problem in deep.
1
2<liferay-ui:search-container delta="10" emptyResultsMessage="Data-Not-Found">
3 <liferay-ui:search-container-results
4 results="<%=ListUtil.subList(usersNameList, searchContainer.getStart(), searchContainer.getEnd()) %>"
5 total="<%=usersNameList.size() %>"
6 <%int index = 0; %>
7 />
8 <liferay-ui:search-container-row
9 className="java.lang.String"
10 modelVar="userToDisplay"
11 >
12 <liferay-ui:search-container-column-text
13 name="UserName"
14 value="<%=userToDisplay %>"
15 />
16
17 <%-- <% for(int i=0;i<userId1.length;i++) { %> --%>
18 <liferay-ui:search-container-column-text>
19 <input type="checkbox" name="userCheck" id="userCheck" value="<%[color=#8d0404]String.valueOf(userId1[index=index+1])[/color];%>"/>
20 </liferay-ui:search-container-column-text>
21 <%-- //<%} %> --%>
22 </liferay-ui:search-container-row>
23 <liferay-ui:search-iterator/>
24 </liferay-ui:search-container>
As you can see i am setting userid as value of checkbox, i want to add that userid as another list, so one more list in searchcontainerrow is that possible?
Any Suggestions or Alternatives?
Thanks and Regards,
Jay.
Por favor, faça login para denunciar.