Minimol Joseph wrote:
> Hello,
> I am having a problem with export options with dynamic columns. when
> I export to excel the
> column contains these values "<a href="viewCR.html?appid=401">401</a>"
> insted of '401'
>
> Any idea what could be the problem
Yes. A bad case of copy and paste by the looks of things.
This is your column for excel export:
> <display:column titleKey="apps.id" sortable="true"
> autolink="false" media="excel" >
> <c:choose>
> <c:when test="${CRList.status == s}">
Look it's doing exactly what you've told it to:
> <a href="editCRs.html?appid=${CRList.appid}">${CRList.appid}</a>
Try removing the a tag from around the ${CRList.appid} ...
> </c:when>
> <c:otherwise>
...and here too...
> <a href="viewCR.html?appid=${CRList.appid}">${CRList.appid}</a>
... and you'll get what you want.
> </c:otherwise>
> </c:choose>
> </display:column>
>
I'll let you off. It is Friday after all.
Ed!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user