Hi Elisabeth,

Was it working in ULC 6.0.4?

Could you please send me UICurrencyAmountDataType and
ULCCurrencyAmountDataType classes?

Thanks and regards,

Janak

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kliman, Elizabeth
Sent: Saturday, September 02, 2006 3:40 AM
To: ULC Developer List (E-mail)
Subject: [ULC-developer] ULC 6.1 Currency extension and Locale


Hi,
We have converted our entire application to ULC 6.1 recently and just
realized that our currency data type extension does not work properly in the
CANADA_FRENCH locale.
The currency data type extension that we have created extends from
ULCNumberDataType and UINumberDataType.  In our UICurrencyAmountDataType we
override convertToString and convertToObject methods so that we can apply
our currency formatting.
In English everything works as expected.  In French, values will not
display, although if you have an editable text field with a
ULCCurrencyAmountDataType, it will format any data that you type in
correctly.  However, if you save that data, when you return to that screen
the value is gone.
I have been debugging through the overridden methods convertToString and
convertToObject in UICurrencyAmountDataType and printing out various values.
It seems as though the value is getting lost somewhere in the super class.
On one method call, the value is there and seems to be translated properly,
and the next method call we're dealing with a null object.  The end result
is that an empty string gets displayed.
Any idea what could be causing this?
Thanks.
Elizabeth Kliman, B.Sc., SCJP
Developer / Développeur
Information Technology / Technologie de l'information
Farm Credit Canada / Financement agricole Canada
1800 Hamilton Street, P.O. Box 4320
1800, rue Hamilton, C.P. 4320
Regina SK S4P 4L3
Tel/Tél. : (306) 780-3382 Fax/Télec. : (306) 780-5655
E-mail/Courriel : [EMAIL PROTECTED]
Agriculture. It's all we do. L'agriculture... notre raison d'être.
This message may contain information that is privileged, protected,
confidential or subject to copyright. Using, disclosing, copying or
distributing such information by anyone other than the intended recipient is
strictly prohibited. If you’ve received this message in error, please delete
it and notify me immediately.
Le présent courriel contient des renseignements de nature privilégiée,
protégée, confidentielle ou assujettie à des droits d’auteur. Toute
utilisation, communication, reproduction ou distribution de l’information
contenue dans ce courriel par toute personne autre que le destinataire visé
est strictement interdite. Si vous avez reçu ce courriel par erreur,
veuillez le supprimer et m’en informer immédiatement.

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to