Liferay搜索容器正在给出符号错误

时间:2016-03-10 08:54:09

标签: liferay liferay-6 liferay-aui alloy-ui searchcontainer

我只是使用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> 

0 个答案:

没有答案