Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[S2] Error datetimepicker when erase input and click again calendar

MLENEVEUT

2007-08-06

Replies:


Hi,

When I click the calendar picture of my datetimepicker tag (the input is
empty), the calendar shows up normally. I pick a date, all is ok.

But if I then delete the choosen date in the input, and click again on the
calendar, all the dates are NaN. As if the displayFormat was in trouble.

Is that normal ? What I missed ?

I'm in the last 2.1.0-SNAPSHOT SVN version (updated all yesterday)

<%@(protected)"%>
<sx:head/>
<sx:datetimepicker id="dateTri" name="dateTri" label="Date"
cssClass="filtreInput" displayFormat="dd/MM/yyyy" toggleType="explode"
toggleDuration="500"/>
--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.