// */
return isValid;
}
public Object viewToObj(Object para) {
Para obj = new Para();
if (para != null) {
try {
BeanUtils.copyProperties(obj, para);
} catch (Exception e) {
e.printStackTrace();
}
}
obj.setOperateBy(operateBy);
Combobox paraCatalogueCB = (Combobox) getFellow("paraCatalogue");
Textbox paraNameTB = (Textbox) getFellow("paraName");
Textbox paraValueTB = (Textbox) getFellow("paraValue");
Textbox paraI18nTB = (Textbox) getFellow("paraI18n");
obj.setParaCatalogue( paraCatalogueCB.getSelectedItem().getValue().toString());
obj.setParaName(paraNameTB.getText());
obj.setParaValue(paraValueTB.getText());
obj.setParaI18n(paraI18nTB.getText());
return obj;
}