David, Anil,
in the meantime (Rev. 488565) I've used the default system currency
(from the property file) to preselect the currency in that foem; I think
for now it's a good compromise (already used in other parts of the system).
Jacopo
David E Jones wrote:
>
> This is something that is fairly core and not an arbitrary/custom
> preference, so there is a UserLogin.lastCurrencyUom field that is meant
> to track this.
>
> There are methods in the UtilHttp class to get the locale based on this,
> and there should be (if they aren't there) methods for getting the
> currency too.
>
> -David
>
>
> On Dec 18, 2006, at 5:18 PM, Adrian Crum wrote:
>
>> Anil,
>>
>> You can set/retrieve user preferences with this patch:
>>
>>
https://issues.apache.org/jira/browse/OFBIZ-495>>
>>
>> Anil Patel wrote:
>>> Hi,
>>> Please if somebody can suggest way to figure out preferred locale
>>> currency
>>> for the user. This will help to provide it as first option in
>>> Currency UomId
>>> Dropdown's that are provided in different Forms.
>>> I am working on FixedAssetStdCost forms. Trying to make them little more
>>> user friendly.
>>> Regards
>>> Anil Patel