Wednesday 02 February 2005 6:20:53 am
Heya I got a class that got 20 fields of integer. In the view template I'd like every value that's not 0 to show as blank. I tried rewriting the wash method with adding a "notzero" attribute, but that's not a slick solution at all. A good string replace method would be good in the future :) Anyone have any ideas of how to do this without messing with the kernel? Olav Bringedal
Senior Consultant
http://Umoe-consulting.no
|