Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

executeJavascript on widgets too?

Marco Zanon
1 decade ago May 15, 2012 9:43pm

Hi all, is there the equivalent of executeJavascript on widgets too, instead of windows? Or, is it planned for Vaadin 7 or in the future?

That's because some properties (text alignment into TextFields for example) would IMHO be better handled at code level instead of css level.
For instance, creating a numeric field and putting its text right-formatted is not a matter of "taste" (css) but rather a functionality matter.

Thanks, Marco

Leif Åstrand
1 decade ago May 16, 2012 8:09am
Marco Zanon
1 decade ago May 16, 2012 8:13pm