Hello,
This is my first post on the forum and I would like to present myself. My name is Mario Latronico and I’m using Vaadin for the first time to develop an online application for car rentals.
I tried to use the declarative ui to shrink the java code but I got the "Found unbound fields from component root [carTable]
"
My declarative ui is the following :
<v-grid-layout size-full="true" spacing="true" >
<row>
<v-table id="carTable" width="95%" height="30%" />
</row>
</v-grid-layout>
and the relative code in Java is in the internal class CarLayoutDesign :
[code]
@DesignRoot
protected static class CarLayoutDesign extends GridLayout
{
Table carTable;
public CarLayoutDesign()
{
}
}
[/code]This class is used inside its enclosing class to read the layout :
InputStream is = getClass().getClassLoader().getResourceAsStream("vaadin/carlayout.xml");
DesignContext read = Design.read(is, design);
setCompositionRoot(design);
I tried also to investigate on the Vaadin source code (FieldBinder.java, GridLayout.java and DesignContext) and it appears that the carTable variable is put on the map unboundFields.