113114115116117118119120121122123
if (getComponent(id) != null) { com = handler.updateComponent(getComponent(id), element); } else { com = handler.createComponent(parent, element); addComponent(id, com); } return com; }
276277278279280281282283284285286
if (getComponent(id) != null) { com = handler.updateComponent(getComponent(id), element); } else { com = handler.createComponent(parent, element); addComponent(id, com); } } else {//for table cells com = handler.createComponent(parent, element);
281282283284285286287288289290291
com = handler.createComponent(parent, element); addComponent(id, com); } } else {//for table cells com = handler.createComponent(parent, element); } return com; } catch (Exception e) { e.printStackTrace();