code: public static AbstractField<?> createEditorField(String id, IModel<String> model,
              final AttributeDefinition attribute) {
          return createEditorField(id, model, attribute, true);
      }
docs: creates a single EditorField for the given attribute