Support description for link #PL-4862

This commit is contained in:
Gleb Gorelov 2015-03-06 11:30:26 +00:00
parent ea484c3496
commit 2726e7283f

View File

@ -36,12 +36,8 @@ public class LinkLoader extends AbstractDatasourceComponentLoader {
loadVisible(component, element);
loadAlign(component, element);
loadStyleName(component, element);
String caption = element.attributeValue("caption");
if (StringUtils.isNotEmpty(caption)) {
caption = loadResourceString(caption);
component.setCaption(caption);
}
loadDescription(component, element);
loadCaption(component, element);
String url = element.attributeValue("url");
if (StringUtils.isNotEmpty(url)) {