Hello,

I'm not sure if this is the right list but I've got a request
for enhancement after stumbling over that more and more:

Can the GWT-compiler changed in that way that it allows
constants defined in classes that don't reside in the
client-package to be referenced. I've got here a couple
of jars without source that contain constants e.g. used
as keys for maps that I need inside the client-classes.

At the moment I have two choices:

 - Use the raw value of the constant in the client-class
 - Copy the constants into a new class that resides in
   the client-package of the GWT-project.

Both ways I don't like very much, because it makes the
code less understandable (String val = map.get(new Integer(5)))
or lead to the necessity of maintaining things twice.

Allowing the use of constants defined in classes outside the
client-package would solve these problems.


Regards, Lothar

--~--~---------~--~----~------------~-------~--~----~
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