Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: how this problem will be solved? Please help me to solve this problem.
I am having this problem for a long time period. The problem is,
javax.portlet.PortletException: org.apache.jasper.JasperException: /view.jsp(35,3) PWC6117: File "/assignment/entry_search_columns.jspf" not found
I am trying to build the gradebook application by watching the
tutorials from passport.liferay.com which is not available right now.
I have created the entry_search_columns.jspf where I am having several
errors saying that entry cannot be resolved and row cannot be
resolved for these errors after bbuilding the whole
application I am not able to solve the problem. Here is the code with
these errors are below:
<%-- Generate assignment view URL. --%>
<portlet:renderURL var="viewAssignmentURL">
<portlet:param name="mvcRenderCommandName"
value="<%=MVCCommandNames.VIEW_ASSIGNMENT%>"
/>
<portlet:param name="redirect"
value="${currentURL}" />
<portlet:param
name="assignmentId" value="${entry.assignmentId}"
/>
</portlet:renderURL>
<c:choose>
<%-- Descriptive (list) view --%>
<c:when
test='${assignmentsManagementToolbarDisplayContext.getDisplayStyle().equals("descriptive")}'>
<%-- User --%>
<liferay-ui:search-container-column-user
showDetails="<%=false%>"
userId="<%=entry.getUserId()%>" />
<liferay-ui:search-container-column-text
colspan="<%=2%>">
<%
String modifiedDateDescription =
LanguageUtil.getTimeDescription(request,
System.currentTimeMillis() -
entry.getModifiedDate().getTime(), true);
%>
<h5
class="text-default">
<liferay-ui:message
arguments="<%=new String[] { entry.getUserName(),
modifiedDateDescription }%>"
key="x-modified-x-ago" />
</h5>
<h4>
<aui:a href="${viewAssignmentURL}">
${entry.getTitle(locale)}
</aui:a>
</h4>
</liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-jsp
path="/assignment/entry_actions.jsp" />
</c:when>
<%-- Card view --%>
<c:when
test='${assignmentsManagementToolbarDisplayContext.getDisplayStyle().equals("icon")}'>
<%
row.setCssClass("lfr-asset-item");
%>
<liferay-ui:search-container-column-text>
<%-- Vertical card. --%>
<liferay-frontend:icon-vertical-card
actionJsp="/assignment/entry_actions.jsp"
actionJspServletContext="<%= application %>"
icon="cards2"
resultRow="${row}"
title="${entry.getTitle(locale)}"
url="${viewAssignmentURL}">
<liferay-frontend:vertical-card-sticker-bottom>
<liferay-ui:user-portrait
cssClass="sticker sticker-bottom"
userId="${entry.userId}" />
</liferay-frontend:vertical-card-sticker-bottom>
<liferay-frontend:vertical-card-footer>
<div class="truncate-text">
<%-- Strip HTML --%>
<%=HtmlUtil.stripHtml(entry.getDescription())%>
</div>
</liferay-frontend:vertical-card-footer>
</liferay-frontend:icon-vertical-card>
</liferay-ui:search-container-column-text>
</c:when>
<%-- Table view --%>
<c:otherwise>
<liferay-ui:search-container-column-text
href="${viewAssignmentURL}"
name="title" value="<%= entry.getTitle(locale)
%>" />
<liferay-ui:search-container-column-user
name="author"
userId="${entry.userId}" />
<liferay-ui:search-container-column-date
name="create-date"
property="createDate" />
<liferay-ui:search-container-column-jsp
name="actions"
path="/assignment/entry_actions.jsp" />
</c:otherwise>
</c:choose>
If you truly can help me please help.
The code isn't as important as what your actual project file structure looks like.
Based on the exception, I would expect to find a src/main/resources/META-INF/resources/assignment/entry_search_columns.jspf file but it is not in that location.
Powered by Liferay™