Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

little improvement of content list

git-svn-id: file:///opt/svn/repos-elessar/jAPS2/trunk@33496 7c63eed8-93cd-11dc-84e7-3b7bcc207536
  • Loading branch information...
commit b86410aaa76986288f30103b2141f53675e8c74f 1 parent f6eabd3
e.santoboni authored
View
6 WebContent/WEB-INF/plugins/jacms/apsadmin/jsp/content/contentFinding.jsp
@@ -215,7 +215,9 @@
</div>
</s:if>
-<wpsa:subset source="contents" count="10" objectName="groupContent" advanced="true" offset="5">
+<s:set var="contentIdsVar" value="contents" />
+
+<wpsa:subset source="#contentIdsVar" count="10" objectName="groupContent" advanced="true" offset="5">
<s:set name="group" value="#groupContent" />
<div class="pager">
@@ -223,7 +225,7 @@
<s:include value="/WEB-INF/apsadmin/jsp/common/inc/pager_formBlock.jsp" />
</div>
-<s:if test="%{getContents().size() > 0}">
+<s:if test="%{#contentIdsVar.size() > 0}">
<table class="generic" id="contentListTable" summary="<s:text name="note.content.contentList.summary" />">
<caption><span><s:text name="title.contentList" />&nbsp;<a title="<s:text name="note.goToSomewhere" />: <s:text name="title.searchFilters" />" href="#content_list-changeContentType" name="content_list-search" id="content_list-search" class="noborder"><img src="<wp:resourceURL />administration/common/img/icons/16x16/go-up.png" width="16" height="16" alt=" " /></a></span></caption>
Please sign in to comment.
Something went wrong with that request. Please try again.