OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Compare Revisions

Regard whitespace Rev 141 → Rev 142

/trunk/OpenConcerto/src/org/openconcerto/ui/light/LightUITextArea.java
17,7 → 17,7
 
import net.minidev.json.JSONObject;
 
public class LightUITextArea extends LightUIElement implements IUserControl {
public class LightUITextArea extends LightUserControl {
 
private int nbLine = 4;
 
70,13 → 70,13
}
 
@Override
public void setValueFromContext(final Object value) {
public void _setValueFromContext(final Object value) {
this.setValue((String) JSONConverter.getObjectFromJSON(value, String.class));
}
 
@Override
public Object getValueFromContext() {
return this.getValue();
public Object getValueForContext() {
return (this.getValue() == null) ? null : ((this.getValue().trim().equals("")) ? null : this.getValue());
}
 
@Override