Blame view

src/main/config/component/scheduleMonthView.xml 2.37 KB
bernard authored
1 2 3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN"
        "http://labs.jboss.com/jbossrichfaces/component-config.dtd"
bernard authored
4 5 6 7
        [
                <!ENTITY commonViewAttributes SYSTEM "commonViewAttributes.ent">
                ]
        >
bernard authored
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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
<components>
    <component>
        <name>org.richfaces.ScheduleMonthView</name>
        <family>org.richfaces.Schedule</family>
        <classname>org.richfaces.component.html.HtmlScheduleMonthView</classname>
        <superclass>org.richfaces.component.UIScheduleMonthView</superclass>
        <description>
            <![CDATA[
                    ]]>
        </description>
        <tag>
            <name>scheduleMonthView</name>
            <classname>org.richfaces.taglib.ScheduleMonthViewTag</classname>
            <superclass>
                org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
            </superclass>
        </tag>
        &ui_component_attributes;
        &commonViewAttributes;
        <property>
            <name>weekMode</name>
            <classname>java.lang.String</classname>
            <description>
                Determines the number of weeks displayed in a month view. Also determines each week's height.
                Available options:
                <ul>
                    <li>
                        <b>fixed</b>
                        - The calendar will always be 6 weeks tall. The height will always be the same, as determined by
                        height, contentHeight, or aspectRatio.
                    </li>
                    <li>
                        <b>liquid</b>
                        - The calendar will have either 4, 5, or 6 weeks, depending on the month. The height of the
                        weeks will stretch to fill the available height, as determined by height, contentHeight, or
                        aspectRatio.
                    </li>
                    <li>
                        <b>variable</b>
                        - The calendar will have either 4, 5, or 6 weeks, depending on the month. Each week will have
                        the same constant height, meaning the calendar’s height will change month-to-month.
                    </li>
                </ul>
                default: 'fixed'
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
    </component>
</components>