[richfaces-svn-commits] JBoss Rich Faces SVN: r2498 - trunk/ui/calendar/src/main/config/component.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Sun Aug 26 09:32:57 EDT 2007
Author: vkorluzhenko
Date: 2007-08-26 09:32:57 -0400 (Sun, 26 Aug 2007)
New Revision: 2498
Modified:
trunk/ui/calendar/src/main/config/component/calendar.xml
Log:
http://jira.jboss.com/jira/browse/RF-696 - added descriptions for attributes
Modified: trunk/ui/calendar/src/main/config/component/calendar.xml
===================================================================
--- trunk/ui/calendar/src/main/config/component/calendar.xml 2007-08-26 13:31:33 UTC (rev 2497)
+++ trunk/ui/calendar/src/main/config/component/calendar.xml 2007-08-26 13:32:57 UTC (rev 2498)
@@ -21,22 +21,21 @@
<tag>
<name>calendar</name>
<classname>org.richfaces.taglib.CalendarTag</classname>
- <superclass>
- org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
- </superclass>
-
+ <superclass> org.ajax4jsf.webapp.taglib.HtmlComponentTagBase </superclass>
+
<test>
- <classname>org.richfaces.component.html.HtmlCalendarTest</classname>
- <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
- </test>
+ <classname>org.richfaces.component.html.HtmlCalendarTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
</tag>
<!--
<taghandler>
<classname>org.ajax4jsf.tag.TestHandler</classname>
</taghandler>
-->
-
- &ui_component_attributes;
+ &ui_component_attributes;
+ &ui_input_attributes;
+ &ui_output_attributes;
<property>
<name>width</name>
<classname>java.lang.String</classname>
@@ -52,7 +51,8 @@
<property elonly="true">
<name>data</name>
<classname>org.richfaces.model.CalendarDataModel</classname>
- <description>Used to provide data for calendar elements. If data is not provided, all Data Model related functions are disabled</description>
+ <description>Used to provide data for calendar elements. If data is not provided, all
+ Data Model related functions are disabled</description>
</property>
<property elonly="true">
<name>locale</name>
@@ -69,13 +69,15 @@
<property elonly="true">
<name>preloadDateRangeBegin</name>
<classname>java.util.Date</classname>
- <description>Define the initial range of date which will be loaded to client from dataModel under rendering</description>
+ <description>Define the initial range of date which will be loaded to client from
+ dataModel under rendering</description>
<defaultvalue>getDefaultPreloadBegin(getCurrentDateOrDefault())</defaultvalue>
</property>
<property elonly="true">
<name>preloadDateRangeEnd</name>
<classname>java.util.Date</classname>
- <description>Defines the last range of date which will be loaded to client from dataModel under rendering</description>
+ <description>Defines the last range of date which will be loaded to client from
+ dataModel under rendering</description>
<defaultvalue>getDefaultPreloadEnd(getCurrentDateOrDefault())</defaultvalue>
</property>
<property elonly="true">
@@ -99,105 +101,143 @@
<property>
<name>popup</name>
<classname>boolean</classname>
- <description>If "true" calendar will be rendered initially as hidden with additional elements for calling as popup</description>
+ <description>If "true" calendar will be rendered initially as hidden
+ with additional elements for calling as popup</description>
<defaultvalue>true</defaultvalue>
</property>
<property>
<name>disabled</name>
<classname>boolean</classname>
- <description>If "true", rendered is disabled. In "popup" mode both controls are disabled</description>
+ <description>If "true", rendered is disabled. In
+ "popup" mode both controls are disabled</description>
<defaultvalue>false</defaultvalue>
</property>
<property>
<name>jointPoint</name>
<classname>java.lang.String</classname>
- <description>Set the corner of the button for the popup to be connected with (top-left, top-right, bottom-left, bottom-right, auto)</description>
+ <description>Set the corner of the button for the popup to be connected with (top-left,
+ top-right, bottom-left (Default), bottom-right, auto)</description>
<defaultvalue>"bottom-left"</defaultvalue>
</property>
<property>
<name>direction</name>
<classname>java.lang.String</classname>
- <description>Defines direction of the calendar popup (top-left, top-right, bottom-left, bottom-right, auto (Default))</description>
+ <description>Defines direction of the calendar popup (top-left, top-right, bottom-left,
+ bottom-right (Default), auto)</description>
<defaultvalue>"bottom-right"</defaultvalue>
</property>
-
<property>
<name>weekDayLabels</name>
<classname>java.lang.Object</classname>
- <description>List of the day names displays on the days bar in the following way "Sun, Mon, Tue, Wed, …"</description>
+ <description>List of the day names displays on the days bar in the following way
+ "Sun, Mon, Tue, Wed, …"</description>
</property>
<property>
<name>weekDayLabelsShort</name>
<classname>java.lang.Object</classname>
- <description>Attribute that allows to customize short names of the weeks. Should accept list with the weeks names.</description>
+ <description>Attribute that allows to customize short names of the weeks. Should accept
+ list with the weeks names.</description>
</property>
<property>
<name>monthLabels</name>
<classname>java.lang.Object</classname>
- <description>Attribute that allows to customize names of the months. Should accept list with the month names</description>
+ <description>Attribute that allows to customize names of the months. Should accept list
+ with the month names</description>
</property>
<property>
<name>monthLabelsShort</name>
<classname>java.lang.Object</classname>
- <description>Attribute that allows to customize short names of the months. Should accept list with the month names</description>
+ <description>Attribute that allows to customize short names of the months. Should accept
+ list with the month names</description>
</property>
- <property>
+ <property>
<name>buttonLabel</name>
<classname>java.lang.String</classname>
- <description>Defines label for the popup button element</description>
+ <description>Defines label for the popup button element</description>
<defaultvalue>"popupButton"</defaultvalue>
</property>
<property>
<name>toolTipMode</name>
<classname>java.lang.String</classname>
- <description>Used to specify mode to load tooltips. Valid values are "none", "single" and "batch"</description>
+ <description>Used to specify mode to load tooltips. Valid values are
+ "none", "single" and "batch"</description>
<defaultvalue>"batch"</defaultvalue>
</property>
<property>
<name>boundaryDatesMode</name>
<classname>java.lang.String</classname>
- <description>Used for the dates boundaries in the list. Valid values are "inactive" (Default) – dates inactive and gray colored, "scroll"
- – boundaries work as month scrolling controls, and "select" – boundaries work in the same way as "scroll" but with the date clicked selection</description>
+ <description>Used for the dates boundaries in the list. Valid values are
+ "inactive" (Default) – dates inactive and gray colored,
+ "scroll" – boundaries work as month scrolling controls, and
+ "select" – boundaries work in the same way as
+ "scroll" but with the date clicked selection</description>
<defaultvalue>"inactive"</defaultvalue>
</property>
<property>
- <name> enableManualInput </name>
- <classname>boolean</classname>
- <description>If true – calendar input will be editable and it will be possible to change the date manualy. If "false" value for this attribute makes a text field "read-only", so the value can be changed only from a handle</description>
- <defaultvalue>false</defaultvalue>
- </property>
- <property>
- <name> showInput </name>
- <classname>boolean</classname>
- <description>"false" value for this attribute makes text a field invisible. If "true" – input field will be shown</description>
- <defaultvalue>true</defaultvalue>
- </property>
+ <name> enableManualInput </name>
+ <classname>boolean</classname>
+ <description>If "true" calendar input will be editable and it will be possible to change
+ the date manualy. If "false" value for this attribute makes a text
+ field "read-only", so the value can be changed only from a handle</description>
+ <defaultvalue>false</defaultvalue>
+ </property>
<property>
+ <name> showInput </name>
+ <classname>boolean</classname>
+ <description>"false" value for this attribute makes text field
+ invisible. If "true" - input field will be shown</description>
+ <defaultvalue>true</defaultvalue>
+ </property>
+ <property>
<name>style</name>
<classname>java.lang.String</classname>
- <description></description>
- </property> <property>
+ <description>CSS style(s) is/are to be applied when this component is
+ rendered</description>
+ </property>
+ <property>
<name>styleClass</name>
<classname>java.lang.String</classname>
- <description></description>
+ <description>Corresponds to the HTML class attribute</description>
</property>
<property>
<name>inputStyle</name>
<classname>java.lang.String</classname>
- <description></description>
+ <description>Style attribute for text field</description>
</property>
<property>
<name>inputClass</name>
<classname>java.lang.String</classname>
- <description></description>
+ <description>Style Class attribute for a text field</description>
</property>
<property>
<name>zindex</name>
<classname>int</classname>
- <description>Attribute is similar to the standard HTML attribute and can specify window placement relative to the content</description>
+ <description>Attribute is similar to the standard HTML attribute and can specify window
+ placement relative to the content</description>
<defaultvalue>3</defaultvalue>
+ </property>
+
+ <property>
+ <name>requiredMessage</name>
+ <classname>java.lang.String</classname>
+ <description>
+ A ValueExpression enabled attribute that, if present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used
+ </description>
+ </property>
+ <property>
+ <name>validatorMessage</name>
+ <classname>java.lang.String</classname>
+ <description>
+ A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator
+ </description>
</property>
-
+ <property>
+ <name>converterMessage</name>
+ <classname>java.lang.String</classname>
+ <description>
+ A ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter
+ </description>
+ </property>
</component>
</components>
More information about the richfaces-svn-commits
mailing list