use of org.jaffa.presentation.portlet.widgets.model.EditBoxModel in project jaffa-framework by jaffa-projects.
the class EditBoxForm method setDataTypeIntegerWV.
public void setDataTypeIntegerWV(String value) {
EditBoxModel m = (EditBoxModel) getDataTypeIntegerWM();
EditBoxController.updateModel(value, m);
}
use of org.jaffa.presentation.portlet.widgets.model.EditBoxModel in project jaffa-framework by jaffa-projects.
the class EditBoxForm method getFieldLinkedToCCWM.
public WidgetModel getFieldLinkedToCCWM() {
if (w_fieldLinkedToCC == null) {
FieldMetaData meta = new StringFieldMetaData("SomeName2", "SomeToken2", Boolean.FALSE, null, null, FieldMetaData.UPPER_CASE);
w_fieldLinkedToCC = new EditBoxModel(meta);
w_fieldLinkedToCC.setValue(getFieldLinkedToCC());
}
return w_fieldLinkedToCC;
}
use of org.jaffa.presentation.portlet.widgets.model.EditBoxModel in project jaffa-framework by jaffa-projects.
the class EditBoxForm method getDataTypeIntegerWM.
public WidgetModel getDataTypeIntegerWM() {
if (w_dataTypeInteger == null) {
w_dataTypeInteger = new EditBoxModel(new IntegerFieldMetaData("IntegerVal", "IntegerVal", Boolean.FALSE, "", new Long(100), new Long(200), new Integer("8")));
w_dataTypeInteger.setValue(getDataTypeInteger());
}
return w_dataTypeInteger;
}
use of org.jaffa.presentation.portlet.widgets.model.EditBoxModel in project jaffa-framework by jaffa-projects.
the class EditBoxForm method setFieldWithCachedModelWV.
public void setFieldWithCachedModelWV(String value) {
EditBoxModel m = (EditBoxModel) getFieldWithCachedModelWM();
EditBoxController.updateModel(value, m);
}
use of org.jaffa.presentation.portlet.widgets.model.EditBoxModel in project jaffa-framework by jaffa-projects.
the class EditBoxForm method getFieldWithCachedModelWM.
public WidgetModel getFieldWithCachedModelWM() {
if (w_fieldWithCachedModel == null) {
w_fieldWithCachedModel = (EditBoxModel) getWidgetCache().getModel("fieldWithCachedModel");
if (w_fieldWithCachedModel == null) {
w_fieldWithCachedModel = new EditBoxModel();
w_fieldWithCachedModel.setMandatory(true);
getWidgetCache().addModel("fieldWithCachedModel", w_fieldWithCachedModel);
w_fieldWithCachedModel.setValue(getFieldWithCachedModel());
}
}
return w_fieldWithCachedModel;
}
Aggregations