Author: musachy Date: Sat Jun 2 10:00:55 2007 New Revision: 543759 URL: http://svn.apache.org/viewvc?view=rev&rev=543759 Log: Fix example
Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/datepicker/index.jsp Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/datepicker/index.jsp URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/datepicker/index.jsp?view=diff&rev=543759&r1=543758&r2=543759 ============================================================================== --- struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/datepicker/index.jsp (original) +++ struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/datepicker/index.jsp Sat Jun 2 10:00:55 2007 @@ -12,7 +12,7 @@ <sx:datetimepicker label="toggleType='wipe'" value="%{'2006-10-31'}" toggleType="wipe" toggleDuration="300" name="test"/> <sx:datetimepicker label="toggleType='explode'" value="%{'2006-07-22'}" toggleType="explode" toggleDuration="500"/> <sx:datetimepicker label="toggleType='fade'" value="%{'2006-06-30'}" toggleType="fade" toggleDuration="500"/> -<sx:datetimepicker label="With value='today'" name="dddp1" value="today" /> +<sx:datetimepicker label="With value='today'" name="dddp1" value="%{'today'}" /> <sx:datetimepicker label="US format, empty" name="dddp2" language="en-us" /> <sx:datetimepicker label="US format with initial date of 2006-06-26" name="dddp3" value="%{'2006-06-26'}" language="en-us" /> <sx:datetimepicker label="With initial date of 1969-04-25 and a custom format dd/MM/yyyy" name="dddp5" value="%{'25/04/1969'}" displayFormat="dd/MM/yyyy" />