Search in sources :

Example 11 with EditBoxModel

use of org.jaffa.presentation.portlet.widgets.model.EditBoxModel in project jaffa-framework by jaffa-projects.

the class EditBoxForm method setTextAreaWV.

public void setTextAreaWV(String value) {
    EditBoxModel m = (EditBoxModel) getTextAreaWM();
    EditBoxController.updateModel(value, m);
}
Also used : EditBoxModel(org.jaffa.presentation.portlet.widgets.model.EditBoxModel)

Example 12 with EditBoxModel

use of org.jaffa.presentation.portlet.widgets.model.EditBoxModel in project jaffa-framework by jaffa-projects.

the class EditBoxForm method getFieldLinkedToCCAndCachedWM.

public WidgetModel getFieldLinkedToCCAndCachedWM() {
    if (w_fieldLinkedToCCAndCached == null) {
        w_fieldLinkedToCCAndCached = (EditBoxModel) getWidgetCache().getModel("fieldLinkedToCCAndCached");
        if (w_fieldLinkedToCCAndCached == null) {
            FieldMetaData meta = new StringFieldMetaData("SomeName1", "SomeToken1", Boolean.FALSE, null, null, FieldMetaData.LOWER_CASE);
            w_fieldLinkedToCCAndCached = new EditBoxModel(meta);
            getWidgetCache().addModel("fieldLinkedToCCAndCached", w_fieldLinkedToCCAndCached);
            w_fieldLinkedToCCAndCached.setValue(getFieldLinkedToCCAndCached());
        }
    }
    return w_fieldLinkedToCCAndCached;
}
Also used : FieldMetaData(org.jaffa.metadata.FieldMetaData) StringFieldMetaData(org.jaffa.metadata.StringFieldMetaData) IntegerFieldMetaData(org.jaffa.metadata.IntegerFieldMetaData) DateOnlyFieldMetaData(org.jaffa.metadata.DateOnlyFieldMetaData) DateTimeFieldMetaData(org.jaffa.metadata.DateTimeFieldMetaData) DecimalFieldMetaData(org.jaffa.metadata.DecimalFieldMetaData) StringFieldMetaData(org.jaffa.metadata.StringFieldMetaData) EditBoxModel(org.jaffa.presentation.portlet.widgets.model.EditBoxModel)

Example 13 with EditBoxModel

use of org.jaffa.presentation.portlet.widgets.model.EditBoxModel in project jaffa-framework by jaffa-projects.

the class EditBoxForm method setFieldLinkedToCCAndCachedWV.

public void setFieldLinkedToCCAndCachedWV(String value) {
    EditBoxModel m = (EditBoxModel) getFieldLinkedToCCAndCachedWM();
    EditBoxController.updateModel(value, m);
}
Also used : EditBoxModel(org.jaffa.presentation.portlet.widgets.model.EditBoxModel)

Example 14 with EditBoxModel

use of org.jaffa.presentation.portlet.widgets.model.EditBoxModel in project jaffa-framework by jaffa-projects.

the class EditBoxForm method setDataTypeStringWV.

public void setDataTypeStringWV(String value) {
    EditBoxModel m = (EditBoxModel) getDataTypeStringWM();
    EditBoxController.updateModel(value, m);
}
Also used : EditBoxModel(org.jaffa.presentation.portlet.widgets.model.EditBoxModel)

Example 15 with EditBoxModel

use of org.jaffa.presentation.portlet.widgets.model.EditBoxModel in project jaffa-framework by jaffa-projects.

the class EditBoxForm method getDataTypeDateOnlyWM.

public WidgetModel getDataTypeDateOnlyWM() {
    if (w_dataTypeDateOnly == null) {
        w_dataTypeDateOnly = new EditBoxModel(new DateOnlyFieldMetaData());
        w_dataTypeDateOnly.setValue(getDataTypeDateOnly());
    }
    return w_dataTypeDateOnly;
}
Also used : DateOnlyFieldMetaData(org.jaffa.metadata.DateOnlyFieldMetaData) EditBoxModel(org.jaffa.presentation.portlet.widgets.model.EditBoxModel)

Aggregations

EditBoxModel (org.jaffa.presentation.portlet.widgets.model.EditBoxModel)34 GridModelRow (org.jaffa.presentation.portlet.widgets.model.GridModelRow)8 CheckBoxModel (org.jaffa.presentation.portlet.widgets.model.CheckBoxModel)7 GridModel (org.jaffa.presentation.portlet.widgets.model.GridModel)6 FormSelectionMaintenanceOutRowDto (org.jaffa.modules.printing.components.formselectionmaintenance.dto.FormSelectionMaintenanceOutRowDto)4 Iterator (java.util.Iterator)3 DateTime (org.jaffa.datatypes.DateTime)3 ApplicationExceptions (org.jaffa.exceptions.ApplicationExceptions)3 DateOnlyFieldMetaData (org.jaffa.metadata.DateOnlyFieldMetaData)3 DateTimeFieldMetaData (org.jaffa.metadata.DateTimeFieldMetaData)3 DecimalFieldMetaData (org.jaffa.metadata.DecimalFieldMetaData)3 IntegerFieldMetaData (org.jaffa.metadata.IntegerFieldMetaData)3 StringFieldMetaData (org.jaffa.metadata.StringFieldMetaData)3 FormSelectionException (org.jaffa.modules.printing.components.formselectionmaintenance.FormSelectionException)3 DateTimeModel (org.jaffa.presentation.portlet.widgets.model.DateTimeModel)3 DropDownModel (org.jaffa.presentation.portlet.widgets.model.DropDownModel)3 IOException (java.io.IOException)2 InvocationTargetException (java.lang.reflect.InvocationTargetException)2 org.jaffa.components.maint (org.jaffa.components.maint)2 ApplicationException (org.jaffa.exceptions.ApplicationException)2