if(index.length()==1) index = "0" + index; // make it two digits
id = index + id;
w = parent;
}
if(w.eContainer() instanceof Sitemap) {
Sitemap sitemap = (Sitemap) w.eContainer();
String index = String.valueOf(sitemap.getChildren().indexOf(w));
if(index.length()==1) index = "0" + index; // make it two digits
id = index + id;
}
// if the widget is dynamically created and not available in the sitemap,