Liferay搜索容器提供符号错误
我只是使用Liferay搜索容器显示记录,但它给了我一个错误:equal Symbol ExpectedLiferay搜索容器提供符号错误,liferay,liferay-6,liferay-aui,alloy-ui,searchcontainer,Liferay,Liferay 6,Liferay Aui,Alloy Ui,Searchcontainer,我只是使用Liferay搜索容器显示记录,但它给了我一个错误:equal Symbol Expected <liferay-portlet:renderURL varImpl="iteratorURL"> <portlet:param name="mvcPath" value="/html/locationaction/view.jsp" /> </liferay-portlet:renderURL> <ui:search-container
<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>
将className=“com.ka.service.model.Location”
更改为className=”“
并验证!另外,
的开始标签在哪里?@ParkashKumar:我已经用你的代码更新了我的代码,但是给了我同样的错误。我正在跟踪此url:@ParkashKumar:error已通过删除escapedModel属性解决。但是现在一些垃圾值被打印在所有记录的顶部。