When you have a typed class, say
class Test {
String value;
}
is it somehow possible to set field 'value' without a static reference
in the code?
I'm looking for an equivalent to JavaScript's:
var Test = { };
Test["value"] = "some value";
JSNI can access a java field via the "[instance-exp...@class-
name::field-name" notation, but that looks like a compile time thing.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---