see http://displaytag.homeip.net/example-decorator.jsp

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of fea
jabi
Sent: Thursday, January 26, 2006 10:47 AM
To: [email protected]
Subject: [displaytag-user] (no subject)


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


***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************



-------------------------------------------------------
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&kid3432&bid#0486&dat1642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to