mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
WW-1771 Update DateTimePicker tag documentation. Sytax from:
http://www.unicode.org/reports/tr35/tr35-4.html#Date_Format_Patterns git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/branches/STRUTS_2_0_X@512130 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -43,7 +43,6 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
* A stand-alone DateTimePicker widget that makes it easy to select a date/time, or increment by week, month,
|
||||
* and/or year.
|
||||
* </p>
|
||||
* Dates attributes passed in the `RFC 3339` format:
|
||||
*
|
||||
* <p>
|
||||
* It is possible to customize the user-visible formatting with either the
|
||||
@@ -51,7 +50,7 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
* locale will be used.</p>
|
||||
* </p>
|
||||
*
|
||||
* Syntax supported by 'displayFormat' aree (http://www.unicode.org/reports/tr35/tr35-4.html#Date_Format_Patterns):-
|
||||
* Syntax supported by 'displayFormat' is (http://www.unicode.org/reports/tr35/tr35-4.html#Date_Format_Patterns):-
|
||||
* <table border="1">
|
||||
* <tr>
|
||||
* <td>Format</td>
|
||||
@@ -90,8 +89,7 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
* <p>
|
||||
* The value sent to the server is
|
||||
* typically a locale-independent value in a hidden field as defined by the name
|
||||
* attribute. RFC3339 representation is used by default, but other options are
|
||||
* available with saveFormat
|
||||
* attribute. RFC3339 representation is the format used.
|
||||
* </p>
|
||||
*
|
||||
* <p/>
|
||||
@@ -106,7 +104,7 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
* Example 1:
|
||||
* <s:datetimepicker name="order.date" label="Order Date" />
|
||||
* Example 2:
|
||||
* <s:datetimepicker name="delivery.date" label="Delivery Date" format="#yyyy-#MM-#dd" />
|
||||
* <s:datetimepicker name="delivery.date" label="Delivery Date" format="yyyy-MM-dd" />
|
||||
*
|
||||
* <!-- END SNIPPET: expl1 -->
|
||||
* </pre>
|
||||
|
||||
Reference in New Issue
Block a user