Hi List, I will have to format numbers based on country and currency types. I understand the locale module can do this. I've done some googling on this but cant seem to get anything definitive. I've read that the local module is not thread-safe but I do not know how this would impact my Zope app. I do know that I would want to be able to change from one currency format to another depending on which currency conversation the user may want. Really my question is, what approach is recommended for a Zope application to format numbers according to currency type? David
I want to test for a value of a folder property to conditionally include css in a css.dtml instead of putting a condition on the whole css file in zpt or adding additional css to unstyle and restyle in some classes in same skin. Something like this... <dtml-if 'here.my_property == some_value'> some css here ... <dtml-if> Can someone advise of a way of getting property for comparison directly without having to write a script python to return context.my_property. I have to say I really only use dtml for zsql so it is a bit foreign compared to ZPT. I could not find anything in Zope book about getting a folder property without knowing the folder name first. Regards David
On 7/16/05, David H <bluepaul@earthlink.net> wrote:
Really my question is, what approach is recommended for a Zope application to format numbers according to currency type?
Using a localization module is common. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/
participants (3)
-
David H -
David Pratt -
Lennart Regebro