|
|
@ -110,8 +110,14 @@ public class ComponentCreator extends AbstractComponentCreatorProcessor { |
|
|
|
protected DefaultSharableEditor createSharableEditor(Form form, Map<String, Object> paraMap, Widget widget, DefaultSharableWidget info) { |
|
|
|
protected DefaultSharableEditor createSharableEditor(Form form, Map<String, Object> paraMap, Widget widget, DefaultSharableWidget info) { |
|
|
|
|
|
|
|
|
|
|
|
String uuid = info.getId(); |
|
|
|
String uuid = info.getId(); |
|
|
|
((AbstractBorderStyleWidget) widget).addWidgetAttrMark(new SharableAttrMark()); |
|
|
|
AbstractBorderStyleWidget abstractBorderStyleWidget = (AbstractBorderStyleWidget) widget; |
|
|
|
((AbstractBorderStyleWidget) widget).addWidgetAttrMark(new ExtendSharableAttrMark(uuid)); |
|
|
|
abstractBorderStyleWidget.addWidgetAttrMark(new SharableAttrMark()); |
|
|
|
|
|
|
|
ExtendSharableAttrMark extendSharableAttrMark = abstractBorderStyleWidget.getWidgetAttrMark(ExtendSharableAttrMark.XML_TAG); |
|
|
|
|
|
|
|
if (extendSharableAttrMark != null) { |
|
|
|
|
|
|
|
extendSharableAttrMark.setShareId(uuid); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
abstractBorderStyleWidget.addWidgetAttrMark(new ExtendSharableAttrMark(uuid)); |
|
|
|
|
|
|
|
} |
|
|
|
return new PlainSharableEditor(uuid, widget, form, (HashMap<String, Object>) paraMap); |
|
|
|
return new PlainSharableEditor(uuid, widget, form, (HashMap<String, Object>) paraMap); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|