Re: German currency format and D2W

Guido Neitzer <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
On 22.03.2006, at 9:16 Uhr, Guido Neitzer wrote:

>> I'm not sure if it is that, what you are looking for, but perhaps  
>> it is useful for you
>>
>> I just setted the formatter for a D2WEditNumber witht he  
>> WebAssistant to look what rules is makes for me. The following was  
>> the result:
>>
>> 	((task = 'edit') and (entity.name = 'LineItem') and (propertyKey  
>> = 'price')) => formatter = "#.##0,00"
>>
>
> And this really works for you? If I use this formatter and type  
> "7,49" I get "749.00000".
>
> Hmmm. Have to look more into this ... :-/

Okay, got it.

I tried around with the standard D2W components and several localizer  
patterns but this wasn't very successful ... :-(

So I switched back to the Wonder component ERD2WEditNumber and  
followed the path of all this through the source and finally found,  
that I had a typo in my Properties (Copy&Paste bug).

Also, thanks to Anjo for reading my mail and pointing at the  
localizer ...

cug

-- 
PharmaLine, Essen, GERMANY
Software and Database Development

_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
smime.p7s (application/pkcs7-signature, 2.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.