Class DefaultDataPropEmptyField
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.preprocessors.DefaultDataPropEmptyField
-
- All Implemented Interfaces:
ModelChangePreprocessor
public class DefaultDataPropEmptyField extends Object implements ModelChangePreprocessor
Editors have gotten into the habit of clearing the text from the textarea and saving it to invoke a delete. see Issue VITRO-432
-
-
Constructor Summary
Constructors Constructor Description DefaultDataPropEmptyField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancheckForEmptyString(MultiValueEditSubmission submission, EditConfigurationVTwo configuration, VitroRequest vreq)voidpreprocess(org.apache.jena.rdf.model.Model retractionsModel, org.apache.jena.rdf.model.Model additionsModel, javax.servlet.http.HttpServletRequest request)
-
-
-
Method Detail
-
preprocess
public void preprocess(org.apache.jena.rdf.model.Model retractionsModel, org.apache.jena.rdf.model.Model additionsModel, javax.servlet.http.HttpServletRequest request)- Specified by:
preprocessin interfaceModelChangePreprocessor
-
checkForEmptyString
protected boolean checkForEmptyString(MultiValueEditSubmission submission, EditConfigurationVTwo configuration, VitroRequest vreq)
-
-