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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
AceEditor not showing
Hello
I have downloaded the AceEditor addon jar and copied it into eclipse lib folder. The widgetset compilation is successfull and I do not get any error messages in log when using simple example. However only the label is displayed, not the AceEditor. I tried eclipse internal web browser, firefox, explorer with the same result. Resizing the browser window doesnt help.
public void init() {
Window mainWindow = new Window("Ace Application");
Label label = new Label("Hello Vaadin user");
mainWindow.addComponent(label);
AceEditor editor = new AceEditor();
editor.setValue("var foo = {};\n");
editor.setMode(AceMode.javascript);
editor.setSizeFull();
mainWindow.addComponent(editor);
setMainWindow(mainWindow);
}
I get the following html when running the app. So something is created by the AceEditor addon.
<script type="text/javascript">
//<![CDATA[ setTimeout('if (typeof com_example_ace_widgetset_AceWidgetset == "undefined") {alert("Failed to load the widgetset: /ace/VAADIN/widgetsets/com.example.ace.widgetset.AceWidgetset/com.example.ace.widgetset.AceWidgetset.nocache.js?1336375723327")};',15000);
//]]>
</script>
<div id="ace-96387" class="v-app v-theme-reindeer v-app-AceApplication" ><div class="v-app-loading"></div></div>
Have anyone had this issue?
/Kasper
ok. setSizeFull did not work
however setting size will show the editor
editor.setWidth("600px");
editor.setHeight("400px");
Yes, I have the same problem. setSizeFull() does not work!