[richfaces-issues] [JBoss JIRA] Assigned: (RF-6734) Do not render default attributes for calendar components

Pavel Yaschenko (JIRA) jira-events at lists.jboss.org
Tue Jul 14 09:45:29 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-6734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Yaschenko reassigned RF-6734:
-----------------------------------

    Assignee: Tsikhon Kuprevich  (was: Pavel Yaschenko)


> 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
>          Components: component-input, performance
>    Affects Versions: 3.3.0
>            Reporter: Alexander Smirnov
>            Assignee: Tsikhon Kuprevich
>             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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list