Today I learned that if you write your own Formatter for String values, it's
a good idea to make it be pretty forgiving about format types that it
doesn't understand. Why?  Because input tags with "value" attributes will
use your String formatter on the String values for that attribute. If you've
got a tag that normally represents a BigDecimal (for example), then your
String formatter may need to accept the format type "currency" even if it
doesn't know what it means.

If this is true, I'll add it to the Wiki at some point.


-- 
Turtle, turtle, on the ground,
Pink and shiny, turn around.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to