32. Changing the Date Picker What would the JSON look like? { "widget" : "ItemLens.DatePickerTextBox" "width" : "200px", "height" : "25px", "date" : "tomorrow" }
33. Changing the Date Picker When the "date" declaration says "tomorrow", what logic do we need to add? if (params.hasOptionalString( "date" )) { String dateStr = params.getString( "date" ); if (dateStr.equalsIgnoreCase( "tomorrow" )) { Date tomorrow = new Date( new Date().getTime()+ DAY_AS_MILLISECONDS ); box.setValue(tomorrow); } }