Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Potential defect in creating ListGridField

$
0
0
SmartClient Version: SNAPSHOT_v9.1d_2013-12-17/PowerEdition Deployment (built 2013-12-17)

IE-8

Code:

new ListGridField("class","Class",50);
Code:

new ListGridField("class33","Class",50);
Code:

new ListGridField("class33","Class33",50);
I get this ERROR for the first 2 code snippets above. I would expect this error on the first one only.

Code:

ERROR: 12:57:35.722:TMR0:WARN:Log:'class' is not a valid JavaScript identifier. DataSource and DataBoundComponent field names are required to be valid JavaScript identifiers, the syntax for which is specified by ECMA-262 Section 7.6. Note: The String.isValidID(string) function can be used to test whether a string is a valid identifier. This field applied to [DataSource ID:pivot_table_flat_fact_POF_233]. This will be the last warning.
com.smartgwt.client.core.JsObject$SGWT_WARN: 12:57:35.722:TMR0:WARN:Log:'class' is not a valid JavaScript identifier. DataSource and DataBoundComponent field names are required to be valid JavaScript identifiers, the syntax for which is specified by ECMA-262 Section 7.6. Note: The String.isValidID(string) function can be used to test whether a string is a valid identifier. This field applied to [DataSource ID:pivot_table_flat_fact_POF_233]. This will be the last warning.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
        at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
        at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
        at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
        at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
        at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
        at java.lang.Thread.run(Thread.java:744)


Viewing all articles
Browse latest Browse all 4756

Trending Articles