Re: Not able to set BigDecimal value in a grid column using HTMLTable setText function in IE8
Richard, Thanks for the help.Upgraing to gwt-java-math-1.0.9.jar does resolve the issue. Earlier I had tested by upgrading to gwt-math-2.1.jar , but strangely that is not fixing ths issue. Steps followed in both the cases are same - replacing the old jar file with the new one , adding the new jar file to the classpath and updating the "inherits" module in gwt.xml. Application is currently at GWT 2.0.3 level, and I am only upgrading the gwt-math jar. Thanks, Smriti On Sun, Jan 16, 2011 at 3:48 AM, Richard wrote: > Perhaps you forgot to update your gwt.xml files? > http://code.google.com/p/gwt-java-math/wiki/GettingStarted > > From Richard. > > On Jan 15, 2:33 am, smriti sharma wrote: > > Richard, > > > > I have upgraded the application to gwt-math-2.1.jar, but the issue > > persists. I am still receiving the same error message > > URI:http://dev3.compiere.org/apps/js/bigdecimal.js > > for HTMLTable > (package:com.google.gwt.widgetideas.table.client.overrides) > > setText function. > > > > Thanks, > > SmritiOn Sat, Jan 8, 2011 at 3:28 AM, Richard > wrote: > > > Your error message's URI: > http://dev3.compiere.org/apps/js/bigdecimal.js > > > implies that you are using gwt-math project > > >http://code.google.com/p/gwt-math/ > > > for BigDecimal, which has many issues and missing features, not the > > > BigDecimal built into GWT 2.1. > > > > > If you cant upgrade to GWT 2.1 then I recommend using gwt-java-math > > > projecthttp://code.google.com/p/gwt-java-math/which is what was > > > merged into GWT 2.1 > > > > > From Richard > > > > > On Jan 7, 3:28 pm, smriti sharma wrote: > > > > 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 < > jefftschwa...@gmail.com > > > >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 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 CLR2.0.50727; .NET CLR3.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 > > > google-web-toolkit@googlegroups.com. > > > > >> To unsubscribe from this group, send email to > > > > >> google-web-toolkit+unsubscr...@googlegroups.com cr...@googlegroups.com> > > cr...@googlegroups.com> > > > > >> . > > > > >> 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 > > > > > "Googl
Re: Not able to set BigDecimal value in a grid column using HTMLTable setText function in IE8
Richard, I have upgraded the application to gwt-math-2.1.jar, but the issue persists. I am still receiving the same error message URI: http://dev3.compiere.org/apps/js/bigdecimal.js for HTMLTable (package:com.google.gwt.widgetideas.table.client.overrides) setText function. Thanks, Smriti On Sat, Jan 8, 2011 at 3:28 AM, Richard wrote: > Your error message's URI: http://dev3.compiere.org/apps/js/bigdecimal.js > implies that you are using gwt-math project > http://code.google.com/p/gwt-math/ > for BigDecimal, which has many issues and missing features, not the > BigDecimal built into GWT 2.1. > > If you cant upgrade to GWT 2.1 then I recommend using gwt-java-math > project http://code.google.com/p/gwt-java-math/ which is what was > merged into GWT 2.1 > > From Richard > > On Jan 7, 3:28 pm, smriti sharma wrote: > > 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 >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 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 > google-web-toolkit@googlegroups.com. > > >> To unsubscribe from this group, send email to > > >> google-web-toolkit+unsubscr...@googlegroups.com cr...@googlegroups.com> > > >> . > > >> 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 > google-web-toolkit@googlegroups.com. > > > To unsubscribe from this group, send email to > > > google-web-toolkit+unsubscr...@googlegroups.com cr...@googlegroups.com> > > > . > > > 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 google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com > . > 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 google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Not able to set BigDecimal value in a grid column using HTMLTable setText function in IE8
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 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 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 google-web-tool...@googlegroups.com. >> To unsubscribe from this group, send email to >> google-web-toolkit+unsubscr...@googlegroups.com >> . >> 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 google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com > . > 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 google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.