}
private void feedGrid() {
Grid groupsGrid=(Grid)getFellow("locationsGrid");
Rows gridRows=groupsGrid.getRows();
LocationManager manager=(LocationManager)WebApplication.lookup(LocationManager.LocalJNDIName);
List<Location> warehouses=manager.findByWarehouse(warehouseText.getText());
Iterator<Location> it=warehouses.iterator();
while(it.hasNext()){
Row row=new Row();
Location c=it.next();
row.appendChild(new Checkbox());
row.appendChild(new Label(c.getId().toString()));
row.appendChild(new Label(c.getName()));
row.appendChild(new Label(c.getWarehouse().getName()));
row.appendChild(new Label(c.getDescription().getShortDescription()));
gridRows.appendChild(row);
}
}