use of org.jaffa.presentation.portlet.widgets.model.SimpleWidgetModel in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceForm method getCreatedByWM.
/**
* Getter for property createdBy. This is invoked by the custom tag, when the jsp is rendered, to get the current value.
* @return Value of property createdBy.
*/
public SimpleWidgetModel getCreatedByWM() {
SimpleWidgetModel w_createdBy = (SimpleWidgetModel) getWidgetCache().getModel("createdBy");
if (w_createdBy == null) {
w_createdBy = new SimpleWidgetModel(getCreatedBy());
getWidgetCache().addModel("createdBy", w_createdBy);
}
return w_createdBy;
}
use of org.jaffa.presentation.portlet.widgets.model.SimpleWidgetModel in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceForm method getMonthlyDayWM.
/**
* Getter for property monthlyDay. This is invoked by the custom tag, when the jsp is rendered, to get the current value.
* @return Value of property monthlyDay.
*/
public SimpleWidgetModel getMonthlyDayWM() {
SimpleWidgetModel w_monthlyDay = (SimpleWidgetModel) getWidgetCache().getModel("monthlyDay");
if (w_monthlyDay == null) {
w_monthlyDay = new SimpleWidgetModel(getMonthlyDay());
for (int i = 1; i <= 31; i++) {
String value = Integer.toString(i);
w_monthlyDay.addOption(value, value);
}
getWidgetCache().addModel("monthlyDay", w_monthlyDay);
}
return w_monthlyDay;
}
use of org.jaffa.presentation.portlet.widgets.model.SimpleWidgetModel in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceForm method getCustomPatternWM.
/**
* Getter for property customPattern. This is invoked by the custom tag, when the jsp is rendered, to get the current value.
* @return Value of property customPattern.
*/
public SimpleWidgetModel getCustomPatternWM() {
SimpleWidgetModel w_customPattern = (SimpleWidgetModel) getWidgetCache().getModel("customPattern");
if (w_customPattern == null) {
w_customPattern = new SimpleWidgetModel(getCustomPattern());
getWidgetCache().addModel("customPattern", w_customPattern);
}
return w_customPattern;
}
use of org.jaffa.presentation.portlet.widgets.model.SimpleWidgetModel in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceForm method getEndOnWM.
/**
* Getter for property endOn. This is invoked by the custom tag, when the jsp is rendered, to get the current value.
* @return Value of property endOn.
*/
public SimpleWidgetModel getEndOnWM() {
SimpleWidgetModel w_endOn = (SimpleWidgetModel) getWidgetCache().getModel("endOn");
if (w_endOn == null) {
w_endOn = new SimpleWidgetModel(getEndOn());
getWidgetCache().addModel("endOn", w_endOn);
}
return w_endOn;
}
use of org.jaffa.presentation.portlet.widgets.model.SimpleWidgetModel in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceForm method getYearlyOnWM.
/**
* Getter for property yearlyOn. This is invoked by the custom tag, when the jsp is rendered, to get the current value.
* @return Value of property yearlyOn.
*/
public SimpleWidgetModel getYearlyOnWM() {
SimpleWidgetModel w_yearlyOn = (SimpleWidgetModel) getWidgetCache().getModel("yearlyOn");
if (w_yearlyOn == null) {
w_yearlyOn = new SimpleWidgetModel(getYearlyOn());
addMonthOptions(w_yearlyOn);
getWidgetCache().addModel("yearlyOn", w_yearlyOn);
}
return w_yearlyOn;
}
Aggregations