Re: D2W and formatter objects

2011-09-23 Thread David Holt
Thanks for your thoughts, Ramsey. I ended up taking a similar approach, but in the context of a subclass of ERDisplayNumber. I just used a normal assignment: 100 : (pageConfiguration like 'InspectSurvey*' and propertyKey like '*_int_Frequency') => customFormatter = "session.frequencyFormatter

Re: D2W and formatter objects

2011-09-23 Thread Ramsey Gurley
I don't think there's anything like this in ERD2W unless someone added it. In R2D2W, I use a 'formatObject' RHS key binding with an ERDDelayedObjectCreationAssignment. I use it for everything from joda to crypto strings... but I've never used it for number formatting... although I probably co

D2W and formatter objects

2011-09-23 Thread David Holt
Hi all, I would like to use a custom number formatter object with D2W. The formatter binding in D2W accepts a String such as "###,###.##;0;-###,###.##" What do I need to do to allow the formatter binding such as "session.customFormat" to be interpreted correctly by the D2WDisplayNumber compon