2017-05-15 4 views
0

일부 페이지 매기기 및 정렬을 위해 Display tag 라이브러리를 사용하고 있습니다. 지금까지는 정상적으로 작동하지만 기록이 없다고해도 표 머리글을 표시해야합니다. 설명서에 따라 basic.show.header 속성을 true로 설정했지만 여전히 메시지가 Nothing found to display으로 표시됩니다. 제가 잘못했다면 코드를보십시오.basic.show.header가 true로 설정되어 있어도 디스플레이 태그가 표 머리글을 표시하지 않습니다.

<display:table id="data" name="intgList" requestURI="/integration/viewIntegration" class="fieldLabelCell" pagesize="4"> 
    <display:setProperty name="basic.show.header" value="true" /> 
    <display:column property="lob" title="Line of Business" sortable="true" class="displayColumns" /> 
    <display:column property="insuredName" title="Insured" sortable="true" class="displayColumns"/> 
    <display:column property="custPhone" title="Customer Phone" sortable="true" class="displayColumns" /> 
    <display:column property="policyNumber" title="Policy #" sortable="true" class="displayColumns" /> 
    <display:column property="createdDate" title="E-Sign Created Date" sortable="true" class="displayColumns" /> 
    <display:column property="custEmail" title="Customer Email" sortable="true" class="displayColumns" /> 
    <display:column property="esignNumDocs" title="# of E-Sign Documents" sortable="true" class="displayColumns" /> 
</display:table> 

답변

0

나는 그것을 알아 냈다. 나는 틀린 재산을 사용하고 있었다. 대신 <display:setProperty name="basic.empty.showtable" value="true" />을 사용해야했습니다.