* bean of the attribute
* @param resource :
* bean of the resource
*/
private void modify(Attribute attr, Resource resource) {
Attribute currentAttribute = attr;
Attribute a = get(currentAttribute.getId(), resource);
fr.norsys.mapper.console.utils.BeanUtils.copyFilledProperties(a, currentAttribute);
currentAttribute = a;
ExecutionContext.get().getSession().setAttribute(ConsoleCst.CURRENT_ATTRIBUTE,currentAttribute);
}