Author: ehillenius
Date: Wed Oct 8 15:28:02 2008
New Revision: 703011
URL: http://svn.apache.org/viewvc?rev=703011&view=rev
Log:
WICKET-1425
Modified:
wicket/trunk/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DatePicker.java
Modified:
wicket/trunk/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DatePicker.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DatePicker.java?rev=703011&r1=703010&r2=703011&view=diff
==============================================================================
---
wicket/trunk/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DatePicker.java
(original)
+++
wicket/trunk/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DatePicker.java
Wed Oct 8 15:28:02 2008
@@ -66,8 +66,7 @@
* The CalendarNavigator can be configured by overriding [EMAIL PROTECTED]
#configure(Map)} and setting the
* property or by returning <code>true</code> for [EMAIL PROTECTED]
#enableMonthYearSelection()}.
*
- * @see <a
- *
href="http://developer.yahoo.com/yui/calendar/">http://developer.yahoo.com/yui/calendar/</a>
+ * @see <a
href="http://developer.yahoo.com/yui/calendar/">http://developer.yahoo.com/yui/calendar/</a>
*
* @author eelcohillenius
*/
@@ -346,25 +345,6 @@
}
/**
- * Append javascript to the initialization function for the YUI widget.
Can be used by
- * subclasses to conveniently extend configuration without having to
write a separate
- * contribution.
- *
- * @param markupId
- * The markup id of the calendar component
- * @param javascriptId
- * the non-name spaced javascript id of the widget
- * @param javascriptWidgetId
- * the name space id of the widget
- * @param b
- * the buffer to append the script to
- */
- protected void appendToInit(String markupId, String javascriptId,
String javascriptWidgetId,
- StringBuffer b)
- {
- }
-
- /**
* Gives overriding classes the option of adding (or even changing/
removing) configuration
* properties for the javascript widget. See <a
* href="http://developer.yahoo.com/yui/calendar/">the widget's
documentation</a> for the
@@ -631,8 +611,7 @@
* selection of month and year.
*
* @return <code>true</code> if select boxes should be rendered to
allow month and year
- * selection.<br/>
- * <code>false</code> to render just plain text.
+ * selection.<br/> <code>false</code> to render just plain text.
*/
protected boolean enableMonthYearSelection()
{
@@ -642,8 +621,9 @@
/**
* Indicates whether the calendar should be hidden after a date was
selected.
*
- * @return <code>true</code> (default) if the calendar should be hidden
after the date selection <br/>
- * <code>false</code> if the calendar should remain visible
after the date selection.
+ * @return <code>true</code> (default) if the calendar should be hidden
after the date
+ * selection <br/> <code>false</code> if the calendar should
remain visible after the
+ * date selection.
*/
protected boolean hideOnSelect()
{
@@ -664,11 +644,9 @@
/**
* Override this method to further customize the YUI Calendar with
additional Javascript code.
* The code returned by this method is executed right after the
Calendar has been constructed
- * and initialized. To refer to the actual Calendar DOM object, use
<code>${calendar}</code> in
- * your code.<br/>
- * See <a href="http://developer.yahoo.com/yui/calendar/">the widget's
documentation</a> for
- * more information about the YUI Calendar.<br/>
- * Example:
+ * and initialized. To refer to the actual Calendar DOM object, use
<code>${calendar}</code>
+ * in your code.<br/> See <a
href="http://developer.yahoo.com/yui/calendar/">the widget's
+ * documentation</a> for more information about the YUI Calendar.<br/>
Example:
*
* <pre>
* protected String getAdditionalJavascript()