Hi,

Pardon my ignorance.

But I think it would be nice if it it was possible that each element
that is a button or label or whatever to have a unique id assigned
automatically.

I know you can set the style with setStyleName(), but I think it could
be useful to have an element be assigned a id if one was not
specifically set. It should also not be so that the everything in the
application gets new ids just by recompiling it or something like
that. Perhaps complete classname + method + number based on each new
element created in that method. Maybe it should also be obfuscated in
some way.

The whole point of this would be to ensure that you later could
control every element in the application with css after you have
compiled and finished making the application. And that you would be
able to style at a later point when the programming phase was over.
Now it seems you have to use setStyleName() for each element you might
want to do something specific with. And it is not so cool to write
setStyleName() a hundreds of times.

Any thoughts about this?

Regards,
Jon Berg.

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