Have an object Account which has couple of attributes in it.

using displaytag to show all the accounts.

<display:table name="accountscoll" requestURI="PrepareSummaryAction.do">
      <display:column property="accountNumber" />
      <display:column property="accountType">
      <display:column property="balance">
             <fmt:formatNumber value="${}" type="currency"/>
      </display:column>
...................
................
</display:table>

want to display the values in the column as $1000 or so. i.e prefix the value with dolar sign.

I am not sure what the value="${}" would be.

accountcoll has List of Account objects.

Should I put use

<display:table  property="balance" id="row">
    <display:column property="balance">
             <fmt:formatNumber value="${row.balance}" type="currency"/>
      </display:column>

</display:table>

I tried the above but no change.

Thanks.

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to