use of org.jaffa.presentation.portlet.widgets.model.SimpleWidgetModel in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceForm method getOftenMinutesWM.
/**
* Getter for property oftenMinutes. This is invoked by the custom tag, when the jsp is rendered, to get the current value.
* @return Value of property oftenMinutes.
*/
public SimpleWidgetModel getOftenMinutesWM() {
SimpleWidgetModel w_oftenMinutes = (SimpleWidgetModel) getWidgetCache().getModel("oftenMinutes");
if (w_oftenMinutes == null) {
w_oftenMinutes = new SimpleWidgetModel(getOftenMinutes());
for (int i = 0; i <= 59; i++) {
String value = Integer.toString(i);
w_oftenMinutes.addOption(value, value);
}
getWidgetCache().addModel("oftenMinutes", w_oftenMinutes);
}
return w_oftenMinutes;
}
use of org.jaffa.presentation.portlet.widgets.model.SimpleWidgetModel in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceForm method getWeeklyDayWM.
/**
* Getter for property weeklyDay. This is invoked by the custom tag, when the jsp is rendered, to get the current value.
* @return Value of property weeklyDay.
*/
public SimpleWidgetModel getWeeklyDayWM() {
SimpleWidgetModel w_weeklyDay = (SimpleWidgetModel) getWidgetCache().getModel("weeklyDay");
if (w_weeklyDay == null) {
w_weeklyDay = new SimpleWidgetModel(getWeeklyDay());
addWeekDayOptions(w_weeklyDay);
getWidgetCache().addModel("weeklyDay", w_weeklyDay);
}
return w_weeklyDay;
}
use of org.jaffa.presentation.portlet.widgets.model.SimpleWidgetModel in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceForm method getOftenSecondsWM.
/**
* Getter for property oftenSeconds. This is invoked by the custom tag, when the jsp is rendered, to get the current value.
* @return Value of property oftenSeconds.
*/
public SimpleWidgetModel getOftenSecondsWM() {
SimpleWidgetModel w_oftenSeconds = (SimpleWidgetModel) getWidgetCache().getModel("oftenSeconds");
if (w_oftenSeconds == null) {
w_oftenSeconds = new SimpleWidgetModel(getOftenSeconds());
for (int i = 0; i <= 59; i++) {
String value = Integer.toString(i);
w_oftenSeconds.addOption(value, value);
}
getWidgetCache().addModel("oftenSeconds", w_oftenSeconds);
}
return w_oftenSeconds;
}
use of org.jaffa.presentation.portlet.widgets.model.SimpleWidgetModel in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceForm method getScheduledTaskIdWM.
/**
* Getter for property scheduledTaskId. This is invoked by the custom tag, when the jsp is rendered, to get the current value.
* @return Value of property scheduledTaskId.
*/
public SimpleWidgetModel getScheduledTaskIdWM() {
SimpleWidgetModel w_scheduledTaskId = (SimpleWidgetModel) getWidgetCache().getModel("scheduledTaskId");
if (w_scheduledTaskId == null) {
w_scheduledTaskId = new SimpleWidgetModel(getScheduledTaskId());
getWidgetCache().addModel("scheduledTaskId", w_scheduledTaskId);
}
return w_scheduledTaskId;
}
use of org.jaffa.presentation.portlet.widgets.model.SimpleWidgetModel in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceForm method getLastChangedByWM.
/**
* Getter for property lastChangedBy. This is invoked by the custom tag, when the jsp is rendered, to get the current value.
* @return Value of property lastChangedBy.
*/
public SimpleWidgetModel getLastChangedByWM() {
SimpleWidgetModel w_lastChangedBy = (SimpleWidgetModel) getWidgetCache().getModel("lastChangedBy");
if (w_lastChangedBy == null) {
w_lastChangedBy = new SimpleWidgetModel(getLastChangedBy());
getWidgetCache().addModel("lastChangedBy", w_lastChangedBy);
}
return w_lastChangedBy;
}
Aggregations