-1
디스플레이 태그 라이브러리를 사용 중입니다. 특정 URL로 제출하는 기능이 있습니다. 어떤 경우에는 Unterminated <display:column tag
을 던지는 중입니다. 이것은 매우 정직하며 닫는 태그가 있지만 여전히 작동하지 않습니다. 나는 속성 esignNumDocs에 대한 오류가 발생했습니다. 아래는 jsp입니다.종결되지 않은 문제를 해결하는 방법 < display : 표시 태그의 열 태그?
<display:table id="data" name="intgList" requestURI="/integration/viewIntegration" class="fieldLabelCell" pagesize="5">
<!-- 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 name="paging.banner.group_size" value="2"/>
<display:setProperty name="paging.banner.no_items_found" value=""/>
<display:setProperty name="paging.banner.page.separator" value=" of "/>
<display:setProperty name="paging.banner.first" value='<span class="pagelinks"> |< << | Page {0} <a href="{3}"> | >> </a><a href="{4}">>|</a></span>'/>
<display:setProperty name="paging.banner.last" value='<span class="pagelinks"> <a href="{1}">|< </a> <a href="{2}"> << | Page </a> {0} | >> >| </span>'/>
<display:setProperty name="paging.banner.full" value='<span class="pagelinks"> <a href="{1}">|< </a> <a href="{2}"> << | Page </a> {0}<a href="{3}"> | >> </a><a href="{4}">>| </a></span>'/>
<!-- 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"
href='#x' onclick="locateFunc('viewESignDetails', {'url':'<integration:urlAction actionName="/integration/viewDetailsIntegration"><integration:urlParam key="esignIdentifier" value="${list.esignId}"/></integration:urlAction>',
'agencyCode':'${list.agencyCode}',
'policyNumber':'${list.policyNumber}',
'policyState':'${list.policyState}',
'esignIdentifier':'${list.esignId}',
'esignVendorIdentifier':'${list.esignVendorIdentifier}',
'lob':'${list.lob}',
'transId':'${list.transId}',
'customerName':'${list.insuredName}',
'customerPhone':'${list.custPhone}',
'customerEmail':'${list.custEmail}',
'cretedDate':'${list.createdDate}'}>)"
<c:out value="${list.esignNumDocs}"/>
</display:column>
</display:table>
도움을 주시면 감사하겠습니다.
감사합니다.
질문 XML의 색상 코딩은이 문제점에 대한 힌트입니다. 'onclick' 속성은 큰 따옴표로 묶여 있으며 이스케이프 처리되지 않은 큰 따옴표를 포함합니다. ** 나쁜 XML **입니다. '<','&','"'의 속성에'<','&','''문자를 encode 할 필요가 있습니다. 파서는 내부의 속성치에'''할 수 있습니다 만, XML 1.0에서는 유효하지 않습니다. https://www.w3.org/TR/2008/REC-xml-20081126/#NT-AttValue – Andreas
onclick 함수는 이미 큰 따옴표로 묶여 있습니다. – Mike
onclick = "locateFunc ('...'actionName ="/ integration /'...''actionName = * '을 끝내면 * on * onclick이 너무 일찍 끝나기 때문에'actionName = "/integration /' 속성의 다른 모든 임베디드''문자들 --- 나는'onclick' 속성이 어디에서 끝났다고 생각하는지조차 알지 못합니다.'display : column' 태그의 끝이 "createdDate} ')> --- --- 간단히 말해서, ** 나쁜 XML **. 다중 오류 – Andreas