Blame view

src/main/config/component/schedule.xml 35.9 KB
bernard authored
1
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN"
bernard authored
2
        "http://labs.jboss.com/jbossrichfaces/component-config.dtd"
bernard authored
3
        [<!ENTITY commonViewAttributes SYSTEM "commonViewAttributes.ent"><!ENTITY listeners SYSTEM "listeners.ent">]
bernard authored
4 5 6 7 8 9 10 11
        >
<components>
    <component>
        <name>org.richfaces.Schedule</name>
        <family>org.richfaces.Schedule</family>
        <classname>org.richfaces.component.html.HtmlSchedule</classname>
        <superclass>org.richfaces.component.UISchedule</superclass>
        <description>
bernard authored
12
            <![CDATA[]]>
bernard authored
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
        </description>
        <renderer generate="true" override="true">
            <name>org.richfaces.renderkit.ScheduleRenderer</name>
            <template>org/richfaces/htmlSchedule.jspx</template>
            <superclass>org.richfaces.renderkit.ScheduleRendererBase</superclass>
        </renderer>
        <tag>
            <name>schedule</name>
            <classname>org.richfaces.taglib.ScheduleTag</classname>
            <superclass>
                org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
            </superclass>
        </tag>
        <taghandler generate="true">
            <classname>org.richfaces.taglib.ScheduleTagHandler</classname>
            <superclass>org.richfaces.taglib.ScheduleTagHandlerBase</superclass>
        </taghandler>
        <!--
bernard authored
31
          --> &ui_component_attributes; &commonViewAttributes; &ajax_component_attributes;
bernard authored
32 33 34 35 36 37 38 39 40 41 42 43 44 45
        <property>
            <name>switchType</name>
            <classname>java.lang.String</classname>
            <description>
                Available options:
                <ul>
                    <li>ajax</li>
                    <li>server</li>
                    <li>client</li>
                </ul>
            </description>
            <defaultvalue>"ajax"</defaultvalue>
        </property>
        <property>
bernard authored
46 47 48
            <name>widgetVar</name>
            <classname>java.lang.String</classname>
            <description>
bernard authored
49
                Variable name of JavaScript component. default: null
bernard authored
50 51 52 53
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
54 55 56
            <name>view</name>
            <classname>java.lang.String</classname>
            <description>
bernard authored
57
                Schedule has a number of different "views", or ways of displaying days and events. The following 5 views are all built in to schedule:
bernard authored
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
                <ul>
                    <li>month</li>
                    <li>basicWeek</li>
                    <li>basicDay</li>
                    <li>agendaWeek</li>
                    <li>agendaDay</li>
                </ul>
                default: 'month'
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>headerLeft</name>
            <classname>java.lang.String</classname>
            <description>
bernard authored
73 74
                Defines the buttons and title at the top of the calendar. Values separated by a comma will be displayed adjacently. Values separated by a space
                will be displayed with a small gap in between. Strings can contain any of the following values:
bernard authored
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
                <ul>
                    <li>
                        <b>title</b>
                        - text containing the current month/week/day
                    </li>
                    <li>
                        <b>prev</b>
                        - button for moving the calendar back one month/week/day
                    </li>
                    <li>
                        <b>next</b>
                        - button for moving the calendar forward one month/week/day
                    </li>
                    <li>
                        <b>prevYear</b>
                        - button for moving the calendar back on year
                    </li>
                    <li>
                        <b>nextYear</b>
                        - button for moving the calendar forward one year
                    </li>
                    <li>
                        <b>today</b>
                        - button for moving the calendar to the current month/week/day
                    </li>
                    <li>
                        <i>a view name</i>
                        - button that will switch the calendar to any of the available views; see defaultView
                    </li>
                </ul>
                default: 'title'
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>headerCenter</name>
            <classname>java.lang.String</classname>
            <description>
bernard authored
113 114
                Defines the buttons and title at the top of the calendar. Values separated by a comma will be displayed adjacently. Values separated by a space
                will be displayed with a small gap in between. Strings can contain any of the following values:
bernard authored
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
                <ul>
                    <li>
                        <b>title</b>
                        - text containing the current month/week/day
                    </li>
                    <li>
                        <b>prev</b>
                        - button for moving the calendar back one month/week/day
                    </li>
                    <li>
                        <b>next</b>
                        - button for moving the calendar forward one month/week/day
                    </li>
                    <li>
                        <b>prevYear</b>
                        - button for moving the calendar back on year
                    </li>
                    <li>
                        <b>nextYear</b>
                        - button for moving the calendar forward one year
                    </li>
                    <li>
                        <b>today</b>
                        - button for moving the calendar to the current month/week/day
                    </li>
                    <li>
                        <i>a view name</i>
                        - button that will switch the calendar to any of the available views; see defaultView
                    </li>
                </ul>
                default: ''
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>headerRight</name>
            <classname>java.lang.String</classname>
            <description>
bernard authored
153 154
                Defines the buttons and title at the top of the calendar. Values separated by a comma will be displayed adjacently. Values separated by a space
                will be displayed with a small gap in between. Strings can contain any of the following values:
bernard authored
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
                <ul>
                    <li>
                        <b>title</b>
                        - text containing the current month/week/day
                    </li>
                    <li>
                        <b>prev</b>
                        - button for moving the calendar back one month/week/day
                    </li>
                    <li>
                        <b>next</b>
                        - button for moving the calendar forward one month/week/day
                    </li>
                    <li>
                        <b>prevYear</b>
                        - button for moving the calendar back on year
                    </li>
                    <li>
                        <b>nextYear</b>
                        - button for moving the calendar forward one year
                    </li>
                    <li>
                        <b>today</b>
                        - button for moving the calendar to the current month/week/day
                    </li>
                    <li>
                        <i>a view name</i>
                        - button that will switch the calendar to any of the available views; see defaultView
                    </li>
                </ul>
                default: 'today prev,next'
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>allDaySlot</name>
            <classname>java.lang.Boolean</classname>
            <description>
bernard authored
193 194
                Determines if the "all-day" slot is displayed at the top of the calendar. When hidden with false, all-day events will not be displayed in agenda
                views. default: true
bernard authored
195 196 197 198 199 200 201
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>allDayText</name>
            <classname>java.lang.String</classname>
            <description>
bernard authored
202
                The text titling the "all-day" slot at the top of the calendar. default: 'all-day'
bernard authored
203 204 205 206 207 208 209
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>axisFormat</name>
            <classname>java.lang.String</classname>
            <description>
bernard authored
210 211
                Determines the time-text that will be displayed on the vertical axis of the agenda views. The default value will produce times that look like
                "5pm" and "5:30pm". default: 'h(:mm)tt'
bernard authored
212 213 214 215 216 217 218
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>slotMinutes</name>
            <classname>java.lang.Integer</classname>
            <description>
bernard authored
219
                The frequency for displaying time slots, in minutes. The default will make a slot every half hour. default: 30
bernard authored
220 221 222 223 224 225 226
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>defaultEventMinutes</name>
            <classname>java.lang.Integer</classname>
            <description>
bernard authored
227 228
                Determines the length (in minutes) an event appears to be when it has an unspecified end date. By default, if an Event Object has no end, it
                will appear to be 2 hours. This option only affects events that appear in the agenda slots, meaning they have allDay set to true. default: 120
bernard authored
229 230 231 232 233 234 235
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>firstHour</name>
            <classname>java.lang.Integer</classname>
            <description>
bernard authored
236 237
                Determines the first hour that will be visible in the scroll pane. Values must be from 0-23, where 0=midnight, 1=1am, etc. The user will be able
                to scroll upwards to see events before this time. If you want to prevent users from doing this, use the minTime option instead. default: 6
bernard authored
238 239 240 241 242 243 244
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>minTime</name>
            <classname>java.lang.String</classname>
            <description>
bernard authored
245 246
                Determines the first hour/time that will be displayed, even when the scrollbars have been scrolled all the way up. This can be a number like 5
                (which means 5am), a string like '5:30' (which means 5:30am) or a string like '5:30am'. default: 0
bernard authored
247 248 249 250 251 252 253
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>maxTime</name>
            <classname>java.lang.String</classname>
            <description>
bernard authored
254 255
                Determines the last hour/time (exclusively) that will be displayed, even when the scrollbars have been scrolled all the way down. This can be a
                number like 22 (which means 10pm), a string like '22:30' (which means 10:30pm) or a string like '10:30pm'. default: 24
bernard authored
256 257 258 259 260 261 262
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>firstDay</name>
            <classname>java.lang.Integer</classname>
            <description>
bernard authored
263
                The day that each week begins. The value must be a number that represents the day of the week. Sunday=0, Monday=1, Tuesday=2, etc. default: 0
bernard authored
264 265 266 267 268 269 270
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>isRTL</name>
            <classname>java.lang.Boolean</classname>
            <description>
bernard authored
271
                Displays the calendar in right-to-left mode. default: false
bernard authored
272 273 274 275 276 277 278
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>showWeekends</name>
            <classname>java.lang.Boolean</classname>
            <description>
bernard authored
279
                Whether to include Saturday/Sunday columns in any of the calendar views. default: true
bernard authored
280 281 282 283 284 285 286
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>height</name>
            <classname>java.lang.Integer</classname>
            <description>
bernard authored
287 288
                Will make the entire calendar (including header) a pixel height. By default, this option is unset and the calendar's height is calculated by
                aspectRatio.
bernard authored
289 290 291 292 293 294 295
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>contentHeight</name>
            <classname>java.lang.Integer</classname>
            <description>
bernard authored
296
                Will make the calendar's content area a pixel height. By default, this option is unset and the calendar's height is calculated by aspectRatio.
bernard authored
297 298 299 300 301 302 303
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>aspectRatio</name>
            <classname>java.lang.Double</classname>
            <description>
bernard authored
304 305
                Determines the width-to-height aspect ratio of the calendar. A calendar is a block-level element that fills its entire avaiable width. The
                calendar’s height, however, is determined by this ratio of width-to-height. (Hint: larger numbers make smaller heights). default: 1.35
bernard authored
306 307 308 309 310 311 312
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>allDayByDefault</name>
            <classname>java.lang.Boolean</classname>
            <description>
bernard authored
313
                Determines the default value for each Event Object's allDay property, when it is unspecified. default: true
bernard authored
314 315 316 317 318 319 320 321
            </description>
            <defaultvalue>null</defaultvalue>
        </property>

        <property>
            <name>editable</name>
            <classname>java.lang.Boolean</classname>
            <description>
bernard authored
322 323 324
                Determines whether the events on the calendar can be modified. This determines if the events can be dragged and resized. Enables/disables both
                at the same time. If you don't want both, use editable in conjunction with disableDragging and disableResizing. This option can be overridden on
                a per-event basis with the Event Object editable property. default: false
bernard authored
325 326 327 328
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
329 330 331
            <name>selectable</name>
            <classname>java.lang.Boolean</classname>
            <description>
bernard authored
332 333
                Allows a user to highlight multiple days or timeslots by clicking and dragging. To let the user make selections by clicking and dragging, this
                option must be set to true. default: false
bernard authored
334 335 336 337 338 339 340
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>selectHelper</name>
            <classname>java.lang.Boolean</classname>
            <description>
bernard authored
341 342 343
                Whether to draw a "placeholder" event while the user is dragging. A value of true will draw a "placeholder" event while the user is dragging
                (similar to what Google Calendar does for its week and day views). A value of false (the default) will draw the standard highlighting over each
                cell. default: false
bernard authored
344 345 346 347 348 349 350
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>unselectAuto</name>
            <classname>java.lang.Boolean</classname>
            <description>
bernard authored
351 352
                Whether clicking elsewhere on the page will cause the current selection to be cleared. This option can only take effect when selectable is set
                to true. default: true
bernard authored
353 354 355 356 357 358 359
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>unselectCancel</name>
            <classname>java.lang.String</classname>
            <description>
bernard authored
360 361 362 363
                A way to specify elements that will ignore the unselectAuto option. Clicking on elements that match this jQuery selector will prevent the
                current selection from being cleared (due to the unselectAuto option). This option is useful if you have a "Create an event" form that shows up
                in response to the user making a selection. When the user clicks on this form, you probably don't want to the current selection to go away.
                Thus, you should add a class to your form such as "my-form", and set the unselectAuto option to ".my-form". default: ''
bernard authored
364 365 366 367
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
368 369 370
            <name>disableDragging</name>
            <classname>java.lang.Boolean</classname>
            <description>
bernard authored
371
                Disables all event dragging, even when events are editable. default: false
bernard authored
372 373 374 375 376 377 378
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>disableResizing</name>
            <classname>java.lang.Boolean</classname>
            <description>
bernard authored
379
                Disables all event resizing, even when events are editable. default: false
bernard authored
380 381 382 383 384 385 386
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>dragRevertDuration</name>
            <classname>java.lang.Integer</classname>
            <description>
bernard authored
387
                Time in millisecond it takes for an event to revert to its original position after an unsuccessful drag. default: 500
bernard authored
388 389 390 391 392 393 394 395
            </description>
            <defaultvalue>null</defaultvalue>
        </property>

        <property>
            <name>date</name>
            <classname>java.util.Date</classname>
            <description>
bernard authored
396
                The initial date when schedule loads. default:
bernard authored
397 398 399 400 401 402
                <i>current date</i>
            </description>
            <defaultvalue>null</defaultvalue>
        </property>

        <property>
bernard authored
403
            <name>onbeforeitemselect</name>
bernard authored
404 405
            <classname>java.lang.String</classname>
            <description>
bernard authored
406
                JavaScript code for handling event. Following data will be available in context:
bernard authored
407 408 409 410 411 412 413 414 415
                <ul>
                    <li>item - selected item</li>
                    <li>event - javascript event</li>
                    <li>view - object representing current view</li>
                </ul>
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
416
            <name>onitemselect</name>
bernard authored
417 418
            <classname>java.lang.String</classname>
            <description>
bernard authored
419
                JavaScript code called when ajax request triggered when item is selected has finished. Following data will be available in context:
bernard authored
420 421 422 423 424 425 426
                <ul>
                    <li>item - selected item</li>
                    <li>event - javascript event</li>
                    <li>view - object representing current view</li>
                    <li>request - ajax request</li>
                    <li>data - data returned by ajax request</li>
                </ul>
bernard authored
427 428 429 430
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
431
            <name>onitemdragstart</name>
bernard authored
432 433
            <classname>java.lang.String</classname>
            <description>
bernard authored
434
                JavaScript code for handling event. Following data will be available in context:
bernard authored
435 436 437 438 439 440
                <ul>
                    <li>item - selected item</li>
                    <li>event - javascript event</li>
                    <li>ui - jQuery UI object</li>
                    <li>view - object representing current view</li>
                </ul>
bernard authored
441 442 443 444
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
445
            <name>onitemdragstop</name>
bernard authored
446 447
            <classname>java.lang.String</classname>
            <description>
bernard authored
448
                JavaScript code for handling event. Following data will be available in context:
bernard authored
449 450 451 452 453 454
                <ul>
                    <li>item - selected item</li>
                    <li>event - javascript event</li>
                    <li>ui - jQuery UI object</li>
                    <li>view - object representing current view</li>
                </ul>
bernard authored
455 456 457 458
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
459
            <name>onitemresizestart</name>
bernard authored
460 461
            <classname>java.lang.String</classname>
            <description>
bernard authored
462
                JavaScript code for handling event. Following data will be available in context:
bernard authored
463 464 465 466 467 468
                <ul>
                    <li>item - selected item</li>
                    <li>event - javascript event</li>
                    <li>ui - jQuery UI object</li>
                    <li>view - object representing current view</li>
                </ul>
bernard authored
469 470 471 472
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
473
            <name>onitemresizestop</name>
bernard authored
474 475
            <classname>java.lang.String</classname>
            <description>
bernard authored
476
                JavaScript code for handling event. Following data will be available in context:
bernard authored
477 478 479 480 481 482
                <ul>
                    <li>item - selected item</li>
                    <li>event - javascript event</li>
                    <li>ui - jQuery UI object</li>
                    <li>view - object representing current view</li>
                </ul>
bernard authored
483 484 485 486
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
487
            <name>onbeforeitemdrop</name>
bernard authored
488 489
            <classname>java.lang.String</classname>
            <description>
bernard authored
490
                JavaScript code for handling event. Following data will be available in context:
bernard authored
491 492
                <ul>
                    <li>item - selected item</li>
bernard authored
493
                    <li>dayDelta - holds the number of days the event was moved forward (a positive number) or backwards (a negative number)
bernard authored
494
                    </li>
bernard authored
495 496
                    <li>minuteDelta - holds the number of minutes the event was moved forward (a positive number) or backwards (a negative number). Only useful
                        for the agenda views. In other views, 0 is passed in.
bernard authored
497
                    </li>
bernard authored
498 499
                    <li>allDay - is true if the event has been dropped on a day in month view, or the "all-day" slot in the agenda views. It will be false if
                        dropped on a slot in the agenda views (meaning it has been assigned a time).
bernard authored
500 501 502 503 504 505 506 507 508
                    </li>
                    <li>event - javascript event</li>
                    <li>ui - jQuery UI object</li>
                    <li>view - object representing current view</li>
                </ul>
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
509
            <name>onitemdrop</name>
bernard authored
510 511
            <classname>java.lang.String</classname>
            <description>
bernard authored
512
                JavaScript code called when ajax request triggered when item is dropped has finished. Following data will be available in context:
bernard authored
513 514
                <ul>
                    <li>item - selected item</li>
bernard authored
515
                    <li>dayDelta - holds the number of days the event was moved forward (a positive number) or backwards (a negative number)
bernard authored
516
                    </li>
bernard authored
517 518
                    <li>minuteDelta - holds the number of minutes the event was moved forward (a positive number) or backwards (a negative number). Only useful
                        for the agenda views. In other views, 0 is passed in.
bernard authored
519
                    </li>
bernard authored
520 521
                    <li>allDay - is true if the event has been dropped on a day in month view, or the "all-day" slot in the agenda views. It will be false if
                        dropped on a slot in the agenda views (meaning it has been assigned a time).
bernard authored
522 523 524 525 526 527 528 529
                    </li>
                    <li>vetoed - is true if server side listener has raised veto and modification has been reverted</li>
                    <li>event - javascript event</li>
                    <li>ui - jQuery UI object</li>
                    <li>view - object representing current view</li>
                    <li>request - ajax request</li>
                    <li>data - data returned by ajax request</li>
                </ul>
bernard authored
530 531 532 533
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
534
            <name>onbeforeitemresize</name>
bernard authored
535 536
            <classname>java.lang.String</classname>
            <description>
bernard authored
537
                JavaScript code for handling event. Following data will be available in context:
bernard authored
538 539
                <ul>
                    <li>item - selected item</li>
bernard authored
540 541 542
                    <li>dayDelta - holds the number of days the event was moved forward (a positive number) or backwards (a negative number)holds the number of
                        minutes the event was moved forward (a positive number) or backwards (a negative number). Only useful for the agenda views. In other
                        views, 0 is passed in.
bernard authored
543
                    </li>
bernard authored
544 545
                    <li>minuteDelta - holds the number of minutes the event was moved forward (a positive number) or backwards (a negative number). Only useful
                        for the agenda views. In other views, 0 is passed in.
bernard authored
546 547 548 549 550 551 552 553 554
                    </li>
                    <li>event - javascript event</li>
                    <li>ui - jQuery UI object</li>
                    <li>view - object representing current view</li>
                </ul>
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
555
            <name>onitemresize</name>
bernard authored
556 557
            <classname>java.lang.String</classname>
            <description>
bernard authored
558
                JavaScript code called when ajax request triggered when item is resized has finished. Following data will be available in context:
bernard authored
559 560
                <ul>
                    <li>item - selected item</li>
bernard authored
561
                    <li>dayDelta - holds the number of days the event was moved forward (a positive number) or backwards (a negative number)
bernard authored
562
                    </li>
bernard authored
563 564
                    <li>minuteDelta - holds the number of minutes the event was moved forward (a positive number) or backwards (a negative number). Only useful
                        for the agenda views. In other views, 0 is passed in.
bernard authored
565 566 567 568 569 570 571 572
                    </li>
                    <li>vetoed - is true if server side listener has raised veto and modification has been reverted</li>
                    <li>event - javascript event</li>
                    <li>ui - jQuery UI object</li>
                    <li>view - object representing current view</li>
                    <li>request - ajax request</li>
                    <li>data - data returned by ajax request</li>
                </ul>
bernard authored
573 574 575 576
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
577
            <name>onitemmouseover</name>
bernard authored
578 579
            <classname>java.lang.String</classname>
            <description>
bernard authored
580
                JavaScript code for handling event. Following data will be available in context:
bernard authored
581 582 583 584 585
                <ul>
                    <li>item - selected item</li>
                    <li>event - javascript event</li>
                    <li>view - object representing current view</li>
                </ul>
bernard authored
586 587 588 589
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
590
            <name>onitemmouseout</name>
bernard authored
591 592
            <classname>java.lang.String</classname>
            <description>
bernard authored
593
                JavaScript code for handling event. Following data will be available in context:
bernard authored
594 595 596 597 598 599 600 601 602
                <ul>
                    <li>item - selected item</li>
                    <li>event - javascript event</li>
                    <li>view - object representing current view</li>
                </ul>
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
603
            <name>onbeforeviewchange</name>
bernard authored
604 605 606 607
            <classname>java.lang.String</classname>
            <description>
                JavaScript code for handling event.
                <b>Any return instruction will be ignored</b>
bernard authored
608
                so this code cannot block anything. Following data will be available in context:
bernard authored
609 610 611
                <ul>
                    <li>view - object representing current view</li>
                </ul>
bernard authored
612 613 614 615
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
616
            <name>onviewchange</name>
bernard authored
617 618
            <classname>java.lang.String</classname>
            <description>
bernard authored
619
                JavaScript code called when ajax request triggered when view changes has finished. Following data will be available in context:
bernard authored
620 621 622 623 624
                <ul>
                    <li>view - object representing current view</li>
                    <li>request - ajax request</li>
                    <li>data - data returned by ajax request</li>
                </ul>
bernard authored
625 626 627 628
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
629
            <name>onbeforedateselect</name>
bernard authored
630 631
            <classname>java.lang.String</classname>
            <description>
bernard authored
632
                JavaScript code for handling event. Following data will be available in context:
bernard authored
633 634
                <ul>
                    <li>date - selected date</li>
bernard authored
635
                    <li>allDay - is true if the event has been dropped on a day in month view, or the "all-day" slot in the agenda views.
bernard authored
636 637 638 639 640 641 642 643
                    </li>
                    <li>event - javascript event</li>
                    <li>view - object representing current view</li>
                </ul>
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
644
            <name>ondateselect</name>
bernard authored
645 646
            <classname>java.lang.String</classname>
            <description>
bernard authored
647
                JavaScript code called when ajax request triggered when date is selected has finished. Following data will be available in context:
bernard authored
648 649
                <ul>
                    <li>date - selected date</li>
bernard authored
650
                    <li>allDay - is true if the event has been dropped on a day in month view, or the "all-day" slot in the agenda views.
bernard authored
651 652 653 654 655 656
                    </li>
                    <li>event - javascript event</li>
                    <li>view - object representing current view</li>
                    <li>request - ajax request</li>
                    <li>data - data returned by ajax request</li>
                </ul>
bernard authored
657 658 659 660
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
661
            <name>onbeforedaterangeselect</name>
bernard authored
662 663
            <classname>java.lang.String</classname>
            <description>
bernard authored
664
                JavaScript code for handling event. Following data will be available in context:
bernard authored
665 666 667
                <ul>
                    <li>startDate - selection start date</li>
                    <li>endDate - selection end date</li>
bernard authored
668
                    <li>allDay - is true if the event has been dropped on a day in month view, or the "all-day" slot in the agenda views.
bernard authored
669 670 671 672 673 674 675
                    </li>
                    <li>view - object representing current view</li>
                </ul>
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
676
            <name>ondaterangeselect</name>
bernard authored
677 678
            <classname>java.lang.String</classname>
            <description>
bernard authored
679
                JavaScript code called when ajax request triggered when date range is selected has finished. Following data will be available in context:
bernard authored
680 681 682
                <ul>
                    <li>startDate - selection start date</li>
                    <li>endDate - selection end date</li>
bernard authored
683
                    <li>allDay - is true if the event has been dropped on a day in month view, or the "all-day" slot in the agenda views.
bernard authored
684 685 686 687 688 689 690 691
                    </li>
                    <li>view - object representing current view</li>
                    <li>request - ajax request</li>
                    <li>data - data returned by ajax request</li>
                </ul>
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
bernard authored
692
        <!--TODO change javadoc of event attributes-->
bernard authored
693
        <property>
bernard authored
694
            <name>onbeforedaterangechange</name>
bernard authored
695 696 697 698
            <classname>java.lang.String</classname>
            <description>
                JavaScript code for handling event.
                <b>Any return instruction will be ignored</b>
bernard authored
699
                so this code cannot block anything. Following data will be available in context:
bernard authored
700 701 702 703 704 705 706 707
                <ul>
                    <li>startDate - start date</li>
                    <li>endDate - end date</li>
                </ul>
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
708
            <name>ondaterangechange</name>
bernard authored
709 710
            <classname>java.lang.String</classname>
            <description>
bernard authored
711 712
                JavaScript code called when ajax request triggered when displayed date range is changed has finished. Following data will be available in
                context:
bernard authored
713 714 715 716 717 718
                <ul>
                    <li>startDate - selection start date</li>
                    <li>endDate - selection end date</li>
                    <li>request - ajax request</li>
                    <li>data - data returned by ajax request</li>
                </ul>
bernard authored
719 720 721 722
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
723
            <name>onviewdisplay</name>
bernard authored
724 725
            <classname>java.lang.String</classname>
            <description>
bernard authored
726 727 728 729
                JavaScript code called when the schedule loads and every time a different date-range is displayed. Following data will be available in context:
                <ul>
                    <li>view - object representing current view</li>
                </ul>
bernard authored
730 731 732
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
bernard authored
733 734 735 736 737 738
        <property>
            <name>styleClass</name>
            <classname>java.lang.String</classname>
            <description></description>
            <defaultvalue>null</defaultvalue>
        </property>
bernard authored
739 740 741 742 743 744 745 746 747 748 749 750 751

        <property elonly="true" attachedstate="true">
            <name>itemMoveListener</name>
            <classname>javax.faces.el.MethodBinding</classname>
            <returntype>boolean</returntype>
        </property>

        <property elonly="true" attachedstate="true">
            <name>itemResizeListener</name>
            <classname>javax.faces.el.MethodBinding</classname>
        </property>

        <property elonly="true" attachedstate="true">
bernard authored
752
            <name>itemSelectListener</name>
bernard authored
753 754 755 756
            <classname>javax.faces.el.MethodBinding</classname>
        </property>

        <property elonly="true" attachedstate="true">
bernard authored
757
            <name>viewChangeListener</name>
bernard authored
758 759 760 761
            <classname>javax.faces.el.MethodBinding</classname>
        </property>

        <property elonly="true" attachedstate="true">
bernard authored
762
            <name>dateRangeChangeListener</name>
bernard authored
763 764 765 766
            <classname>javax.faces.el.MethodBinding</classname>
        </property>

        <property elonly="true" attachedstate="true">
bernard authored
767
            <name>dateRangeSelectListener</name>
bernard authored
768 769 770 771
            <classname>javax.faces.el.MethodBinding</classname>
        </property>

        <property elonly="true" attachedstate="true">
bernard authored
772
            <name>dateSelectListener</name>
bernard authored
773 774 775 776
            <classname>javax.faces.el.MethodBinding</classname>
        </property>

bernard authored
777
    </component> &listeners;
bernard authored
778
</components>