//
protected Field createField(Node node) {
Field field = null;
String type = DOMUtil.getAttributeValue((Element)node, "type");
BaseService service = getService();
if ("date".equals(type)) {
field = new DateField(service, node, ConnectionsConstants.nameSpaceCtx, null);
} else if ("file".equals(type)) {
field = new FileField(service, node, ConnectionsConstants.nameSpaceCtx, null);
} else if ("link".equals(type)) {