2017-05-16 11 views
0

일부 페이지 번호 매기기 및 정렬을 위해 Display Tag 라이브러리를 사용하고 있습니다. 지금까지 완벽하게 잘 작동하지만 기본 메시지는 x items found, displaying 1 to 4.. 아래의 스크린 샷으로 변경해야합니다. 필자가 필요로하는 것을 기반으로 일부 표 속성을 변경했지만 스크린 샷의 표 속성은 약간 이상하게 보입니다. 디스플레이 태그에서이를 어떻게 수행 할 수 있습니까?디스플레이 태그 라이브러리의 기본 메시지를 사용자 정의하는 방법 x 발견 된 항목, 1에서 4까지 표시 ...

enter image description here

코드 :

<display:table id="data" name="intgList" requestURI="/integration/viewIntegration" class="fieldLabelCell" pagesize="4"> 
    <!-- Setting table properties --> 
    <display:setProperty name="basic.empty.showtable" value="true" /> 
    <display:setProperty name="paging.banner.placement" value="bottom" /> 
    <display:setProperty name="paging.banner.no_items_found" value=""></display:setProperty> 
    <display:setProperty name="basic.msg.empty_list_row" value=""></display:setProperty> 
    <!-- Displaying columns data --> 
    <display:column property="lob" title="Line of<br>Business" sortable="true" class="displayColumns" /> 
    <display:column property="insuredName" title="Insured" sortable="true" class="displayColumns"/> 
    <display:column property="custPhone" title="Customer<br>Phone" sortable="true" class="displayColumns" /> 
    <display:column property="policyNumber" title="Policy #" sortable="true" class="displayColumns" /> 
    <display:column property="createdDate" title="E-Sign<br>Created Date" sortable="true" class="displayColumns" /> 
    <display:column property="custEmail" title="Customer<br>Email" sortable="true" class="displayColumns" /> 
    <display:column property="esignNumDocs" title="# of E-Sign Documents" sortable="true" class="displayColumns" /> 
</display:table> 

답변

0

내가 작업을 얻었다. 여기에 해결책이 있습니다. 유일한 것은 하드 코딩 된보다 작거나 더 큰 부호 대신에 이미지를 추가하는 것입니다. 기본적으로 테이블 속성을 재정의해야했습니다. 아래는 전체 코드입니다.

<display:table id="data" name="intgList" requestURI="/integration/viewIntegration" class="fieldLabelCell" pagesize="2" sort="list"> 
     <!-- Setting table properties --> 
     <display:setProperty name="basic.empty.showtable" value="true" /> 
     <display:setProperty name="paging.banner.placement" value="top" /> 
     <display:setProperty name="basic.msg.empty_list_row" value=""></display:setProperty> 
     <display:setProperty name="paging.banner.group_size" value="2"></display:setProperty> 
     <display:setProperty name="paging.banner.no_items_found" value=""></display:setProperty> 
     <display:setProperty name="paging.banner.page.separator" value=" of "></display:setProperty> 
     <display:setProperty name="paging.banner.first" value='<span class="pagelinks"> |< << | Page {0}<a href="{3}"> | >> </a><a href="{4}">>|</a></span>'></display:setProperty> 
     <display:setProperty name="paging.banner.last" value='<span class="pagelinks"> <a href="{1}">|< </a> <a href="{2}"> << | Page </a> {0} | >> >| </span>'></display:setProperty> 
     <display:setProperty name="paging.banner.full" value='<span class="pagelinks"> <a href="{1}">|< </a> <a href="{2}"><<</a> {0}<a href="{3}"> | >> </a><a href="{4}">>| </a></span>'></display:setProperty> 
     <!-- Displaying columns data --> 
     <display:column property="lob" title="Line of<br>Business" sortable="true" class="displayColumns" /> 
     <display:column property="insuredName" title="Insured" sortable="true" class="displayColumns"/> 
     <display:column property="custPhone" title="Customer<br>Phone" sortable="true" class="displayColumns" /> 
     <display:column property="policyNumber" title="Policy #" sortable="true" class="displayColumns" /> 
     <display:column property="createdDate" title="E-Sign<br>Created Date" sortable="true" class="displayColumns" /> 
     <display:column property="custEmail" title="Customer<br>Email" sortable="true" class="displayColumns" /> 
     <display:column property="esignNumDocs" title="# of E-Sign Documents" class="displayColumns" /> 
    </display:table> 
+0

이것은 나를 위해 작동하지만 아이콘에 img를 어떻게 추가 할 수 있습니까? –