I am using BigDecimal  constructor to initialize the BigDecimal value.

 m_table.setText(row, col, text);   //m_table here is of type HTMLTable

 setText for Hashtable is erroring for simple values for the "text"
parameter e.g.- "60.00", "23.57"

 javascript error occurs only when  I run the application in web mode in
internet explorer 8.

Thanks,
Smriti


On Thu, Jan 6, 2011 at 8:56 PM, Jeff Schwartz <[email protected]>wrote:

> **Use either BigDecimal's constructor to initialize its value or one of
> its valueOf methods to set its value.
>
> Jeff
>
> On Thu, Jan 6, 2011 at 4:58 AM, sims <[email protected]> wrote:
>
>> I am receiving following js error when I am trying to set a Bigdecimal
>> value for a grid column using
>> HTMLTable  setText function.
>>
>> This is happening only in IE8 . Works fine in Firefox.
>>
>> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
>> Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
>> 3.0.30729; Media Center PC 6.0)
>> Timestamp: Thu, 30 Dec 2010 18:51:16 UTC
>>
>> Message: Exception thrown and not caught
>> Line: 1
>> Char: 21338
>> Code: 0
>> URI: http://dev3.compiere.org/apps/js/bigdecimal.js
>>
>> This issue happens only when i run the application in hosted mode.
>> In development mode of eclipse it is working fine.
>>
>>
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-web-toolkit%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>
>
> --
> *Jeff Schwartz*
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to