-1

I am trying to invoke a JS function within display column but for some reason the links are not showing up. Am I doing anything wrong in here?

<display:column title="# of E-Sign Documents" class="displayColumns" >
            <c:forEach items="${intgList}" var="list">
                <a href= "javascript:locateFunc('viewESignDetails', {'url':'<integration:urlAction actionName="/integration/viewDetailsIntegration"><integration:urlParam key="esignIdentifier" value="${list.esignId}"/></integration:urlAction>',
                    'agencyCode':'${list.agencyCode}',
                    'cretedDate':'${list.createdDate}'}>)"
                    <c:out value="${list.esignNumDocs}"/>
                </a>
            </c:forEach>
</display:column>   
Jeffrey Chung
  • 19,319
  • 8
  • 34
  • 54
Mike
  • 777
  • 3
  • 16
  • 41
  • Perhaps the links are not showing up because `intgList` is empty? – Andreas May 18 '17 at 15:27
  • Or perhaps because you generate bad HTML, since the `href` attribute ends at the `"` after `actionName=`. – Andreas May 18 '17 at 15:29
  • intgList is not empty, because all other fields are showing up this is the only column where I am doing looping through. – Mike May 18 '17 at 15:30
  • In case of bad xml/html I should get an error but the app is running fine and if I do source view I can see the values too btu it is not just showing up on the column. – Mike May 18 '17 at 15:31
  • You don't get error in the browser console? – Andreas May 18 '17 at 15:37
  • nops. As I said I can see the data listed when I do source view in the browser but for some reason that data is not showing upon the column. – Mike May 18 '17 at 15:38

1 Answers1

0

Finally I figured it out: This is how I did it. The links go to the requested page. This is with some additional fields but just look at the quotation placement.

<display:column title="# of E-Sign Documents" class="displayColumns" >
            <c:forEach items="${intgList}" var="list">
                <a id="eSignNumDocs" href= "javascript: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}"/>
                </a>
            </c:forEach>
        </display:column>
Mike
  • 777
  • 3
  • 16
  • 41