*************************************************
http://www.opensource-techblog.com/2013/03/creating-service-layer-in-service.html
********************************************************
SP:1529
http://www.opensource-techblog.com/2013/03/creating-service-layer-in-service.html
********************************************************
SP:1529
link to null value in reply to comment.
Line no.
+421 <c:if test="<%= !hideControls && MBDiscussionPermission.contains(permissionChecker, company.getCompanyId(), scopeGroupId, permissionClassName, permissionClassPK, userId, ActionKeys.ADD_DISCUSSION) %>">
+479 </c:if>
_________________________________________________________________________________
comment box at jsp
<c:if test="<%= enableComments %>">_____________________________________________
<liferay-ui:panel-container extended="<%= false %>" id="wikiCommentsPanelContainer" persistState="<%= true %>" cssClass="container bootstrapped">
<liferay-ui:panel collapsible="<%= true %>" extended="<%= true %>" id="wikiCommentsPanel" persistState="<%= true %>" title="comments" cssClass="panel panel-info bootstrapped">
<portlet:actionURL var="discussionURL">
<portlet:param name="struts_action" value="/wiki/edit_page_discussion" />
</portlet:actionURL>
<liferay-ui:bootstrap-discussion
className="<%= WikiPage.class.getName() %>"
classPK="<%= wikiPage.getResourcePrimKey() %>"
formAction="<%= discussionURL %>"
formName="fm2"
ratingsEnabled="<%= enableCommentRatings %>"
redirect="<%= currentURL %>"
subject="<%= wikiPage.getTitle() %>"
userId="<%= wikiPage.getUserId() %>"
/>
</liferay-ui:panel>
</liferay-ui:panel-container>
</c:if>
</c:if>
Hide a portlet from liferay in respective of user's role
add layout.show.portlet.access.denied=falsein portal-ext.properties
for more see kamal kant rajput's blog http://kamalkantrajput.blogspot.in/2010/03/hiding-portlet-in-liferay.html
No comments:
Post a Comment