0

我只是使用 Liferay Search Container 显示记录,但它给了我 Error : equal Symbol Expected

<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>
    &lt;ui:search-iterator/>
</ui:search-container> 
4

0 回答 0