how to evaluate html tags in <display:column> ?
I am getting html tag "<a href>" in my excel sheet when i export to excel. But in webform its working fine.
<c:choose> <c:when test="${!row.legacy}"> <a href="javascript:toApproveActionPage('<c:out value='${row.crProcessRequest.id}'/>');"><font size="1">Approve</font></a> | <a href="javascript:toLogDenyActionPage('<c:out value='${row.crProcessRequest.id}'/>','<c:out value='${row.crProcessRequest.orderNumber}'/>');"><font size="1">Deny</font></a> </c:when> <c:otherwise> Approve | Deny </c:otherwise> </c:choose> <c:out value="${row.crProcessRequest.orderNumber}" /> </a> </c:when> <c:otherwise> <c:out value="${row.crProcessRequest.orderNumber}" /> </c:otherwise> </c:choose>
</display:column>
can anybody help me..
You may try to set this property: <display:setProperty name="export.decorated" value="false"/>
Hope this help
am getting html tag "<a href>" in my excel sheet when i export to excel. But in webform its working fine.
<display:column title="Order # <br/>(Click for Exceptions)" sortable="true" headerClass="sortable">
<c:choose> <c:when test="${!row.legacy}"> <c:url value="" var="order"/> <a href="javascript:toErrorsPage('${row.crProcessRequest.orderNumber}');"> <c:out value="${row.crProcessRequest.orderNumber}" /> </a> </c:when> <c:otherwise> <c:out value="${row.crProcessRequest.orderNumber}" /> </c:otherwise> </c:choose> </display:column>
Log in to post a comment.
how to evaluate html tags in <display:column> ?
I am getting html tag "<a href>" in my excel sheet when i export to excel. But in webform its working fine.
<c:choose>
<c:when test="${!row.legacy}">
<a href="javascript:toApproveActionPage('<c:out value='${row.crProcessRequest.id}'/>');"><font size="1">Approve</font></a>
|
<a href="javascript:toLogDenyActionPage('<c:out value='${row.crProcessRequest.id}'/>','<c:out value='${row.crProcessRequest.orderNumber}'/>');"><font size="1">Deny</font></a>
</c:when>
<c:otherwise>
Approve | Deny
</c:otherwise>
</c:choose> <c:out value="${row.crProcessRequest.orderNumber}" />
</a>
</c:when>
<c:otherwise>
<c:out value="${row.crProcessRequest.orderNumber}" />
</c:otherwise>
</c:choose>
can anybody help me..
You may try to set this property:
<display:setProperty name="export.decorated" value="false"/>
Hope this help
am getting html tag "<a href>" in my excel sheet when i export to excel. But in webform its working fine.
<display:column title="Order # <br/>(Click for Exceptions)" sortable="true" headerClass="sortable">