我只是使用Liferay搜索容器显示记录,但它给了我错误:等于符号预期
<liferay-portlet:renderURL varImpl="iteratorURL">
<portlet:param name="mvcPath" value="/html/locationaction/view.jsp" />
</liferay-portlet:renderURL>
<ui:search-container delta="5" emptyResultsMessage="There Are No Location" iteratorURL="${iteratorURL}">
<ui:search-container-results
results="<%= LocationLocalServiceUtil.getLocations(searchContainer.getStart(),searchContainer.getEnd())%>"
total="<%= LocationLocalServiceUtil.getLocationsCount() %>"/>
<!-- Showing Error on this line -->
<ui:search-container-row className="com.ka.service.model.Location"
keyProperty="locationId" modelVar="currentLocation" escapedModel="<%= true %>">
<ui:search-container-column-text name="Location Id"
value="<%=String.valueOf(currentLocation.getLocationId()) %>" />
</ui:search-container-row>
<ui:search-iterator/>
</ui:search-container>