*
* @param materialCategory
* @return
*/
private Component findInMaterialCategoryTree(MaterialCategory materialCategory) {
final Treechildren children = categoriesTree.getTreechildren();
for(Treeitem each: (Collection<Treeitem>) children.getItems()) {
final MaterialCategory _materialCategory = (MaterialCategory) each.getValue();
final Textbox textbox = getMaterialCategoryTextbox(each);
// Clear previous errors
textbox.clearErrorMessage();
if (_materialCategory.equals(materialCategory)) {