]
Jay Balunas updated RF-6734:
----------------------------
Summary: Do not render default attributes for calendar components (was: Do not
render default attributes.)
Issue Type: Task (was: Feature Request)
Fix Version/s: 3.3.2.CR1
4.0.0.CR1
(was: Future)
I updated the summary to be more specific and set the fix-for to 3.3.2.CR1 & 4.0
BETA1
Do not render default attributes for calendar components
--------------------------------------------------------
Key: RF-6734
URL:
https://jira.jboss.org/jira/browse/RF-6734
Project: RichFaces
Issue Type: Task
Affects Versions: 3.3.0
Reporter: Alexander Smirnov
Assignee: Nick Belaevski
Fix For: 3.3.2.CR1, 4.0.0.CR1
Calendar JavaScript code is always rendered with full attributes values that significant
increase size of html page:
new Calendar('pageForm:SITE_V_HOLD_BEGIN_DATE_date', {dayListTableId:
'pageForm:SITE_V_HOLD_BEGIN_DATE_dateDay',
weekNumberBarId: 'pageForm:SITE_V_HOLD_BEGIN_DATE_dateWeekNum',
weekDayBarId: 'pageForm:SITE_V_HOLD_BEGIN_DATE_dateWeekDay',
currentDate: new Date(2009,3,8),
selectedDate: null,
datePattern: 'MM/dd/yyyy',
jointPoint: 'bottom-left',
direction: 'bottom-right',
toolTipMode:'batch',
boundaryDatesMode:'inactive',
popup: true,
enableManualInput: false,
showInput: true,
disabled: false,
readonly: false,
ajaxSingle: true,
verticalOffset:0,
horizontalOffset: 0,
style:'z-index: 3; ',
firstWeekDay: 0,
minDaysInFirstWeek: 1,
todayControlMode:'select',
showHeader:true,
showFooter:true,
showWeeksBar:true,
showWeekDaysBar:true,
showApplyButton:false,
resetTimeOnDateSelect:false,
defaultTime:{hours:12,minutes:0},
labels:{apply:'Apply', today:'Today', clean:'Clean',
cancel:'Cancel', ok:'OK', close:'x'},
'monthLabelsShort':
['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
,
'weekDayLabelsShort':
['Sun','Mon','Tue','Wed','Thu','Fri','Sat']
,
'monthLabels':
['January','February','March','April','May','June','July','August','September','October','November','December']
,
'weekDayLabels':
['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday']
}).load();
Because page developers almost newer use all of them together, calendar should use
built-in default values and never render default values.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: