You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2010/08/28 04:05:12 UTC

svn commit: r990312 - /myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/calendar/AbstractHtmlInputCalendar.java

Author: lu4242
Date: Sat Aug 28 02:05:12 2010
New Revision: 990312

URL: http://svn.apache.org/viewvc?rev=990312&view=rev
Log:
TOMAHAWK-1508 Find a way to convert between the model type required for the renderer, and the model-type that the backing-beans use for t:inputCalendar and t:inputDate

Modified:
    myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/calendar/AbstractHtmlInputCalendar.java

Modified: myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/calendar/AbstractHtmlInputCalendar.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/calendar/AbstractHtmlInputCalendar.java?rev=990312&r1=990311&r2=990312&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/calendar/AbstractHtmlInputCalendar.java (original)
+++ myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/calendar/AbstractHtmlInputCalendar.java Sat Aug 28 02:05:12 2010
@@ -96,6 +96,16 @@ public abstract class AbstractHtmlInputC
     }
     
     /**
+     * Indicate an object used as a bridge between the java.util.Date instance
+     * used by this component internally and the value object used on the bean,
+     * referred as a "business" value.
+     * 
+     * <ul>
+     * <li>If the value is literal, look for the mentioned class instance, 
+     * create a new instance and assign to the component property.</li>
+     * <li>If it the value a EL Expression, set the expression to the 
+     * component property.</li>
+     * </ul> 
      * 
      * @JSFProperty stateHolder="true" inheritedTag="true"
      */