Search in sources :

Example 11 with DropDownModel

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

the class DropDownForm method setFieldWithCachedModelWV.

public void setFieldWithCachedModelWV(String value) {
    DropDownModel m = (DropDownModel) getFieldWithCachedModelWM();
    DropDownController.updateModel(value, m);
}
Also used : DropDownModel(org.jaffa.presentation.portlet.widgets.model.DropDownModel)

Example 12 with DropDownModel

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

the class DropDownForm method getFieldLinkedToCCAndCachedWM.

public WidgetModel getFieldLinkedToCCAndCachedWM() {
    if (w_fieldLinkedToCCAndCached == null) {
        w_fieldLinkedToCCAndCached = (DropDownModel) getWidgetCache().getModel("fieldLinkedToCCAndCached");
        if (w_fieldLinkedToCCAndCached == null) {
            w_fieldLinkedToCCAndCached = new DropDownModel(getFieldLinkedToCCAndCached());
            getWidgetCache().addModel("fieldLinkedToCCAndCached", w_fieldLinkedToCCAndCached);
        }
    }
    return w_fieldLinkedToCCAndCached;
}
Also used : DropDownModel(org.jaffa.presentation.portlet.widgets.model.DropDownModel)

Example 13 with DropDownModel

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

the class DropDownForm method setFieldWithValidationWV.

public void setFieldWithValidationWV(String value) {
    DropDownModel m = (DropDownModel) getFieldWithValidationWM();
    DropDownController.updateModel(value, m);
}
Also used : DropDownModel(org.jaffa.presentation.portlet.widgets.model.DropDownModel)

Aggregations

DropDownModel (org.jaffa.presentation.portlet.widgets.model.DropDownModel)13 DateTime (org.jaffa.datatypes.DateTime)3 CheckBoxModel (org.jaffa.presentation.portlet.widgets.model.CheckBoxModel)3 DateTimeModel (org.jaffa.presentation.portlet.widgets.model.DateTimeModel)3 EditBoxModel (org.jaffa.presentation.portlet.widgets.model.EditBoxModel)3 GridModel (org.jaffa.presentation.portlet.widgets.model.GridModel)3 GridModelRow (org.jaffa.presentation.portlet.widgets.model.GridModelRow)3 ImageModel (org.jaffa.presentation.portlet.widgets.model.ImageModel)2 CodeHelperOutCodeDto (org.jaffa.components.codehelper.dto.CodeHelperOutCodeDto)1 CodeHelperOutElementDto (org.jaffa.components.codehelper.dto.CodeHelperOutElementDto)1