Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3346881
By: pcberg
Hi,
A spend a little more time on this today by studying the decorator. I think
I found a solution, although I still ended up modifying this "ResultRow" object
of mine. Per the post I quoted, I don't think I get around of actually having
that field a Double datatype (instead of a String). Which I guess makes sense.
But other then adding that field I still use the datastructure I was asked to.
Here is my code, in case it helps anybody:
<display:table name="${reqSearchResults}" id="row" export="true" pagesize="12"
requestURI="Report.do?methodToCall=refresh&SomeMoreJunk">
<c:forEach items="${row.columns}" var="column" varStatus="status">
<display:column class="datacell" style="text-align: right"
sortable="${column.sortable}" title="${column.columnTitle}"
property="columns[${status.index}].propertyNumber"
decorator="edu.iu.uis.fps.ere.web.displaytag.MoneyDecorator"/>
</c:forEach>
</display:table>
I struggled a littlebit with the notation in the property field. I didn't know
something like that can be done on JSP. Pretty spiffy, me things! O.O
cheers,
Philip
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=249318
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user