scheduleMonthView.xml 2.48 KB
<?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">
]
>
<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>
        <!--
          <taghandler>
              <classname>org.ajax4jsf.tag.TestHandler</classname>
          </taghandler>
          -->
        &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>