Blame view

src/main/config/component/schedule.xml 37 KB
bernard authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN"
        "http://labs.jboss.com/jbossrichfaces/component-config.dtd"
        [
                <!ENTITY commonViewAttributes SYSTEM "commonViewAttributes.ent">
                <!ENTITY listeners SYSTEM "listeners.ent">
                ]
        >
<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>
            <![CDATA[
                    ]]>
        </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>
        <!--
          -->
        &ui_component_attributes;
        &commonViewAttributes;
bernard authored
39
        &ajax_component_attributes;
bernard authored
40 41 42 43 44 45 46 47 48 49 50 51 52 53
        <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
54 55 56 57 58 59 60 61 62
            <name>widgetVar</name>
            <classname>java.lang.String</classname>
            <description>
                Variable name of JavaScript component.
                default: null
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
63 64 65 66 67 68 69 70 71 72 73 74 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 113 114 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 153 154 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 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373
            <name>view</name>
            <classname>java.lang.String</classname>
            <description>
                Schedule has a number of different "views",
                or ways of displaying days and events.
                The following 5 views are all built in to schedule:
                <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>
                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:
                <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>
                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:
                <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>
                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:
                <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>
                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
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>allDayText</name>
            <classname>java.lang.String</classname>
            <description>
                The text titling the "all-day" slot at the top of the calendar.
                default: 'all-day'
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>axisFormat</name>
            <classname>java.lang.String</classname>
            <description>
                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'
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>slotMinutes</name>
            <classname>java.lang.Integer</classname>
            <description>
                The frequency for displaying time slots, in minutes.
                The default will make a slot every half hour.
                default: 30
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>defaultEventMinutes</name>
            <classname>java.lang.Integer</classname>
            <description>
                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
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>firstHour</name>
            <classname>java.lang.Integer</classname>
            <description>
                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
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>minTime</name>
            <classname>java.lang.String</classname>
            <description>
                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
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>maxTime</name>
            <classname>java.lang.String</classname>
            <description>
                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
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>firstDay</name>
            <classname>java.lang.Integer</classname>
            <description>
                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
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>isRTL</name>
            <classname>java.lang.Boolean</classname>
            <description>
                Displays the calendar in right-to-left mode.
                default: false
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>showWeekends</name>
            <classname>java.lang.Boolean</classname>
            <description>
                Whether to include Saturday/Sunday columns in any of the calendar views.
                default: true
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>height</name>
            <classname>java.lang.Integer</classname>
            <description>
                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.
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>contentHeight</name>
            <classname>java.lang.Integer</classname>
            <description>
                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.
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>aspectRatio</name>
            <classname>java.lang.Double</classname>
            <description>
                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
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>allDayByDefault</name>
            <classname>java.lang.Boolean</classname>
            <description>
                Determines the default value for each Event Object's allDay property, when it is unspecified.
                default: true
            </description>
            <defaultvalue>null</defaultvalue>
        </property>

        <property>
            <name>editable</name>
            <classname>java.lang.Boolean</classname>
            <description>
                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
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423
            <name>selectable</name>
            <classname>java.lang.Boolean</classname>
            <description>
                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
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>selectHelper</name>
            <classname>java.lang.Boolean</classname>
            <description>
                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
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>unselectAuto</name>
            <classname>java.lang.Boolean</classname>
            <description>
                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
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>unselectCancel</name>
            <classname>java.lang.String</classname>
            <description>
                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: ''
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462
            <name>disableDragging</name>
            <classname>java.lang.Boolean</classname>
            <description>
                Disables all event dragging, even when events are editable.
                default: false
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>disableResizing</name>
            <classname>java.lang.Boolean</classname>
            <description>
                Disables all event resizing, even when events are editable.
                default: false
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>dragRevertDuration</name>
            <classname>java.lang.Integer</classname>
            <description>
                Time in millisecond it takes for an event to revert to its original position after an unsuccessful drag.
                default: 500
            </description>
            <defaultvalue>null</defaultvalue>
        </property>

        <property>
            <name>date</name>
            <classname>java.util.Date</classname>
            <description>
                The initial date when schedule loads.
                default:
                <i>current date</i>
            </description>
            <defaultvalue>null</defaultvalue>
        </property>

        <property>
bernard authored
463
            <name>onbeforeitemselect</name>
bernard authored
464 465
            <classname>java.lang.String</classname>
            <description>
bernard authored
466 467 468 469 470 471 472 473 474 475 476
                JavaScript code for handling event.
                Following data will be available in context:
                <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
477
            <name>onitemselect</name>
bernard authored
478 479 480 481 482 483 484 485 486 487 488 489
            <classname>java.lang.String</classname>
            <description>
                JavaScript code called when ajax request triggered when item
                is selected has finished.
                Following data will be available in context:
                <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
490 491 492 493
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
494
            <name>onitemdragstart</name>
bernard authored
495 496
            <classname>java.lang.String</classname>
            <description>
bernard authored
497 498 499 500 501 502 503 504
                JavaScript code for handling event.
                Following data will be available in context:
                <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
505 506 507 508
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
509
            <name>onitemdragstop</name>
bernard authored
510 511
            <classname>java.lang.String</classname>
            <description>
bernard authored
512 513 514 515 516 517 518 519
                JavaScript code for handling event.
                Following data will be available in context:
                <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
520 521 522 523
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
524
            <name>onitemresizestart</name>
bernard authored
525 526
            <classname>java.lang.String</classname>
            <description>
bernard authored
527 528 529 530 531 532 533 534
                JavaScript code for handling event.
                Following data will be available in context:
                <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
535 536 537 538
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
539
            <name>onitemresizestop</name>
bernard authored
540 541
            <classname>java.lang.String</classname>
            <description>
bernard authored
542 543 544 545 546 547 548 549
                JavaScript code for handling event.
                Following data will be available in context:
                <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
550 551 552 553
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
554
            <name>onbeforeitemdrop</name>
bernard authored
555 556
            <classname>java.lang.String</classname>
            <description>
bernard authored
557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578
                JavaScript code for handling event.
                Following data will be available in context:
                <ul>
                    <li>item - selected item</li>
                    <li>dayDelta - holds the number of days the event was moved forward (a positive number) or backwards
                        (a negative number)
                    </li>
                    <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.
                    </li>
                    <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).
                    </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
579
            <name>onitemdrop</name>
bernard authored
580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603
            <classname>java.lang.String</classname>
            <description>
                JavaScript code called when ajax request triggered when item
                is dropped has finished.
                Following data will be available in context:
                <ul>
                    <li>item - selected item</li>
                    <li>dayDelta - holds the number of days the event was moved forward (a positive number) or backwards
                        (a negative number)
                    </li>
                    <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.
                    </li>
                    <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).
                    </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
604 605 606 607
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
608
            <name>onbeforeitemresize</name>
bernard authored
609 610
            <classname>java.lang.String</classname>
            <description>
bernard authored
611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630
                JavaScript code for handling event.
                Following data will be available in context:
                <ul>
                    <li>item - selected item</li>
                    <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.
                    </li>
                    <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.
                    </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
631
            <name>onitemresize</name>
bernard authored
632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651
            <classname>java.lang.String</classname>
            <description>
                JavaScript code called when ajax request triggered when item
                is resized has finished.
                Following data will be available in context:
                <ul>
                    <li>item - selected item</li>
                    <li>dayDelta - holds the number of days the event was moved forward (a positive number) or backwards
                        (a negative number)
                    </li>
                    <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.
                    </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
652 653 654 655
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
656
            <name>onitemmouseover</name>
bernard authored
657 658
            <classname>java.lang.String</classname>
            <description>
bernard authored
659 660 661 662 663 664 665
                JavaScript code for handling event.
                Following data will be available in context:
                <ul>
                    <li>item - selected item</li>
                    <li>event - javascript event</li>
                    <li>view - object representing current view</li>
                </ul>
bernard authored
666 667 668 669
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
670
            <name>onitemmouseout</name>
bernard authored
671 672
            <classname>java.lang.String</classname>
            <description>
bernard authored
673 674 675 676 677 678 679 680 681 682 683
                JavaScript code for handling event.
                Following data will be available in context:
                <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
684
            <name>onbeforeviewchange</name>
bernard authored
685 686 687 688 689 690 691 692 693
            <classname>java.lang.String</classname>
            <description>
                JavaScript code for handling event.
                <b>Any return instruction will be ignored</b>
                so this code cannot block anything.
                Following data will be available in context:
                <ul>
                    <li>view - object representing current view</li>
                </ul>
bernard authored
694 695 696 697
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
698
            <name>onviewchange</name>
bernard authored
699 700
            <classname>java.lang.String</classname>
            <description>
bernard authored
701 702 703 704 705 706 707 708
                JavaScript code called when ajax request triggered when view
                changes has finished.
                Following data will be available in context:
                <ul>
                    <li>view - object representing current view</li>
                    <li>request - ajax request</li>
                    <li>data - data returned by ajax request</li>
                </ul>
bernard authored
709 710 711 712
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
713
            <name>onbeforedateselect</name>
bernard authored
714 715
            <classname>java.lang.String</classname>
            <description>
bernard authored
716 717 718 719 720 721 722 723 724 725 726 727 728 729
                JavaScript code for handling event.
                Following data will be available in context:
                <ul>
                    <li>date - selected date</li>
                    <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.
                    </li>
                    <li>event - javascript event</li>
                    <li>view - object representing current view</li>
                </ul>
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
730
            <name>ondateselect</name>
bernard authored
731 732 733 734 735 736 737 738 739 740 741 742 743 744 745
            <classname>java.lang.String</classname>
            <description>
                JavaScript code called when ajax request triggered when date
                is selected has finished.
                Following data will be available in context:
                <ul>
                    <li>date - selected date</li>
                    <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.
                    </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
746 747 748 749
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
750
            <name>onbeforedaterangeselect</name>
bernard authored
751 752
            <classname>java.lang.String</classname>
            <description>
bernard authored
753 754 755 756 757 758 759 760 761 762 763 764 765 766
                JavaScript code for handling event.
                Following data will be available in context:
                <ul>
                    <li>startDate - selection start date</li>
                    <li>endDate - selection end date</li>
                    <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.
                    </li>
                    <li>view - object representing current view</li>
                </ul>
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
767
            <name>ondaterangeselect</name>
bernard authored
768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785
            <classname>java.lang.String</classname>
            <description>
                JavaScript code called when ajax request triggered when date
                range is selected has finished.
                Following data will be available in context:
                <ul>
                    <li>startDate - selection start date</li>
                    <li>endDate - selection end date</li>
                    <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.
                    </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
786
        <!--TODO change javadoc of event attributes-->
bernard authored
787
        <property>
bernard authored
788
            <name>onbeforedaterangechange</name>
bernard authored
789 790 791 792 793 794 795 796 797 798 799 800 801 802
            <classname>java.lang.String</classname>
            <description>
                JavaScript code for handling event.
                <b>Any return instruction will be ignored</b>
                so this code cannot block anything.
                Following data will be available in context:
                <ul>
                    <li>startDate - start date</li>
                    <li>endDate - end date</li>
                </ul>
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
803
            <name>ondaterangechange</name>
bernard authored
804 805 806 807 808 809 810 811 812 813 814
            <classname>java.lang.String</classname>
            <description>
                JavaScript code called when ajax request triggered when displayed
                date range is changed has finished.
                Following data will be available in context:
                <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
815 816 817 818
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
bernard authored
819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837
            <name>styleClass</name>
            <classname>java.lang.String</classname>
            <description>
            </description>
            <defaultvalue>null</defaultvalue>
        </property>

        <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
838
            <name>itemSelectListener</name>
bernard authored
839 840 841 842
            <classname>javax.faces.el.MethodBinding</classname>
        </property>

        <property elonly="true" attachedstate="true">
bernard authored
843
            <name>viewChangeListener</name>
bernard authored
844 845 846 847
            <classname>javax.faces.el.MethodBinding</classname>
        </property>

        <property elonly="true" attachedstate="true">
bernard authored
848
            <name>dateRangeChangeListener</name>
bernard authored
849 850 851 852
            <classname>javax.faces.el.MethodBinding</classname>
        </property>

        <property elonly="true" attachedstate="true">
bernard authored
853
            <name>dateRangeSelectListener</name>
bernard authored
854 855 856 857
            <classname>javax.faces.el.MethodBinding</classname>
        </property>

        <property elonly="true" attachedstate="true">
bernard authored
858
            <name>dateSelectListener</name>
bernard authored
859 860 861 862 863 864 865
            <classname>javax.faces.el.MethodBinding</classname>
        </property>


    </component>
    &listeners;
</components>