如何在display tag中解析Unterminated< display:column标签?

时间:2017-05-17 17:06:25

标签: java html jsp displaytag

我正在使用Display标记库,在其中一个列中我有一个提交到特定URL的函数。对于一些人来说,投掷Unterminated <display:column tag这是非常直接的,我确实有结束标记,但它仍然无法正常工作。我收到了属性esignNumDocs的错误。下面是jsp;

<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>

感谢任何帮助。

由于

1 个答案:

答案 0 :(得分:0)

这就是你要做的。

<display:column class="displayColumns" property="esignNumDocs" title="# of E-Sign Documents"
            href="javascript:locateFunc('viewESignDetails', '<integration:urlAction actionName=&quot/integration/viewDetailsIntegration&quot;/><integration:urlParam key=&quot;esignIdentifier&quot; value=&quot;${list.esignId}&quot/></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}'}>)&quot;
            );">
        </display:column>