Author: matzew
Date: Thu Jan 18 05:02:05 2007
New Revision: 497421
URL: http://svn.apache.org/viewvc?view=rev&rev=497421
Log:
renamed some more hint attributes and updated the messabeBundle for the hint
messages
Modified:
incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/DateTimeConverter.java
incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/validator/DateRestrictionValidator.java
incubator/adffaces/trunk/trinidad/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/MessageBundle.xrts
Modified:
incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/DateTimeConverter.java
URL:
http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/DateTimeConverter.java?view=diff&rev=497421&r1=497420&r2=497421
==============================================================================
---
incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/DateTimeConverter.java
(original)
+++
incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/DateTimeConverter.java
Thu Jan 18 05:02:05 2007
@@ -427,7 +427,7 @@
* Overrides default hint message
* @param hintFormat Custom hint message.
*/
- public void setHintFormat(String hintFormat)
+ public void setHint(String hintFormat)
{
_facesBean.setProperty(_HINT_FORMAT_KEY, hintFormat);
}
@@ -437,7 +437,7 @@
* @return Custom hint message.
* @see #setHintFormat(String)
*/
- public String getHintFormat()
+ public String getHint()
{
Object obj = _facesBean.getProperty(_HINT_FORMAT_KEY);
return ComponentUtils.resolveString(obj);
Modified:
incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/validator/DateRestrictionValidator.java
URL:
http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/validator/DateRestrictionValidator.java?view=diff&rev=497421&r1=497420&r2=497421
==============================================================================
---
incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/validator/DateRestrictionValidator.java
(original)
+++
incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/validator/DateRestrictionValidator.java
Thu Jan 18 05:02:05 2007
@@ -157,42 +157,42 @@
}
/**
- * <p>Custom hint week message.</p>
+ * <p>Custom hint invalidDaysOfWeek message.</p>
* Overrides default hint message
- * @param hintWeek Custom hint message.
+ * @param hintInvalidDaysOfWeek Custom hint message.
*/
- public void setHintWeek(String hintWeek)
+ public void setHintInvalidDaysOfWeek(String hintWeek)
{
_facesBean.setProperty(_HINT_WEEK_KEY, hintWeek);
}
/**
- * <p>Return custom hint Week message.</p>
+ * <p>Return custom hint invalidDaysOfWeek message.</p>
* @return Custom hint message.
- * @see #setHintWeek(String)
+ * @see #setHintInvalidDaysOfWeek(String)
*/
- public String getHintWeek()
+ public String getHintInvalidDaysOfWeek()
{
Object obj = _facesBean.getProperty(_HINT_WEEK_KEY);
return ComponentUtils.resolveString(obj);
}
/**
- * <p>Custom hint month message.</p>
+ * <p>Custom hint invalidMonths message.</p>
* Overrides default hint message
- * @param hintMonth Custom hint message.
+ * @param hintInvalidMonths Custom hint message.
*/
- public void setHintMonth(String hintMonth)
+ public void setHintInvalidMonths(String hintMonth)
{
_facesBean.setProperty(_HINT_MONTH_KEY, hintMonth);
}
/**
- * <p>Return custom hint month message.</p>
+ * <p>Return custom hint invalidMonths message.</p>
* @return Custom hint message.
- * @see #setHintMonth(String)
+ * @see #setHintInvalidMonths(String)
*/
- public String getHintMonth()
+ public String getHintInvalidMonths()
{
Object obj = _facesBean.getProperty(_HINT_MONTH_KEY);
return ComponentUtils.resolveString(obj);
Modified:
incubator/adffaces/trunk/trinidad/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/MessageBundle.xrts
URL:
http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/MessageBundle.xrts?view=diff&rev=497421&r1=497420&r2=497421
==============================================================================
---
incubator/adffaces/trunk/trinidad/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/MessageBundle.xrts
(original)
+++
incubator/adffaces/trunk/trinidad/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/MessageBundle.xrts
Thu Jan 18 05:02:05 2007
@@ -74,10 +74,13 @@
<resource
key="org.apache.myfaces.trinidad.validator.ByteLengthValidator.MAXIMUM_HINT">The
maximum allowed byte length for this value is {0}.</resource>
<resource
key="org.apache.myfaces.trinidad.validator.RangeValidator.MAXIMUM_HINT">The
allowed maximum for this value is {0}.</resource>
<resource
key="org.apache.myfaces.trinidad.validator.RangeValidator.MINIMUM_HINT">The
allowed minimum for this value is {0}.</resource>
+ <resource
key="org.apache.myfaces.trinidad.validator.RangeValidator.RANGE_HINT">The
allowed value should be between {0} and {1}.</resource>
<resource
key="org.apache.myfaces.trinidad.validator.LengthValidator.MAXIMUM_HINT">The
allowed maximum for this value is {0}.</resource>
<resource
key="org.apache.myfaces.trinidad.validator.LengthValidator.MINIMUM_HINT">The
allowed minimum for this value is {0}.</resource>
+ <resource
key="org.apache.myfaces.trinidad.validator.LengthValidator.RANGE_HINT">The
allowed value should be between {0} and {1}.</resource>
<resource
key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM_HINT">The
date can not be after {0}.</resource>
<resource
key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MINIMUM_HINT">The
date can not be before {0}.</resource>
+ <resource
key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.RANGE_HINT">The
allowed date must be between {0} and {1}.</resource>
<resource
key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.WEEKDAY_HINT">The
picked date can not be one of the following weekdays: {0}.</resource>
<resource
key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.MONTH_HINT">The
picked date can not be in one of the following month: {0}.</resource>
<resource
key="org.apache.myfaces.trinidad.validator.RegExpValidator.NO_MATCH_HINT">The
value must match this pattern: {0}.</resource>