You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by mleneveut <ML...@abusinessware.com> on 2007/08/06 14:13:52 UTC
[S2] Error datetimepicker when erase input and click again calendar
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)
<%@ taglib uri="/struts-dojo-tags" prefix="sx"%>
<sx:head/>
<sx:datetimepicker id="dateTri" name="dateTri" label="Date"
cssClass="filtreInput" displayFormat="dd/MM/yyyy" toggleType="explode"
toggleDuration="500"/>
--
View this message in context: http://www.nabble.com/-S2--Error-datetimepicker-when-erase-input-and-click-again-calendar-tf4223764.html#a12015179
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [S2] Error datetimepicker when erase input and click again
calendar
Posted by mleneveut <ML...@abusinessware.com>.
Here is a sample application containing the test pages :
http://oughacom.free.fr/Java/Test.war
mleneveut wrote:
>
> The whole string.
>
> If I clicked the date 06/08/2007, I have "06/08/2007" in the input, I
> delete all to have an empty string "", I click on the calendar, it appears
> with all days as "NaN"
>
>
>
>
>
> "Musachy Barroso" <mu...@gmail.com>
> 06/08/2007 17:28
> Veuillez répondre à
> "Struts Users Mailing List" <us...@struts.apache.org>
>
>
> A
> "Struts Users Mailing List" <us...@struts.apache.org>
> cc
>
> Objet
> Re: [S2] Error datetimepicker when erase input and click again calendar
>
>
>
>
>
>
> When you delete the date in the input, do you delete the whole thing?
> or juts a part of it?
>
> musachy
>
> On 8/6/07, mleneveut <ML...@abusinessware.com> wrote:
>>
>> 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)
>>
>> <%@ taglib uri="/struts-dojo-tags" prefix="sx"%>
>> <sx:head/>
>> <sx:datetimepicker id="dateTri" name="dateTri" label="Date"
>> cssClass="filtreInput" displayFormat="dd/MM/yyyy" toggleType="explode"
>> toggleDuration="500"/>
>> --
>> View this message in context:
> http://www.nabble.com/-S2--Error-datetimepicker-when-erase-input-and-click-again-calendar-tf4223764.html#a12015179
>
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>
--
View this message in context: http://www.nabble.com/-S2--Error-datetimepicker-when-erase-input-and-click-again-calendar-tf4223764.html#a12020795
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [S2] Error datetimepicker when erase input and click again calendar
Posted by ML...@abusinessware.com.
The whole string.
If I clicked the date 06/08/2007, I have "06/08/2007" in the input, I
delete all to have an empty string "", I click on the calendar, it appears
with all days as "NaN"
"Musachy Barroso" <mu...@gmail.com>
06/08/2007 17:28
Veuillez répondre à
"Struts Users Mailing List" <us...@struts.apache.org>
A
"Struts Users Mailing List" <us...@struts.apache.org>
cc
Objet
Re: [S2] Error datetimepicker when erase input and click again calendar
When you delete the date in the input, do you delete the whole thing?
or juts a part of it?
musachy
On 8/6/07, mleneveut <ML...@abusinessware.com> wrote:
>
> 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)
>
> <%@ taglib uri="/struts-dojo-tags" prefix="sx"%>
> <sx:head/>
> <sx:datetimepicker id="dateTri" name="dateTri" label="Date"
> cssClass="filtreInput" displayFormat="dd/MM/yyyy" toggleType="explode"
> toggleDuration="500"/>
> --
> View this message in context:
http://www.nabble.com/-S2--Error-datetimepicker-when-erase-input-and-click-again-calendar-tf4223764.html#a12015179
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [S2] Error datetimepicker when erase input and click again calendar
Posted by Musachy Barroso <mu...@gmail.com>.
When you delete the date in the input, do you delete the whole thing?
or juts a part of it?
musachy
On 8/6/07, mleneveut <ML...@abusinessware.com> wrote:
>
> 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)
>
> <%@ taglib uri="/struts-dojo-tags" prefix="sx"%>
> <sx:head/>
> <sx:datetimepicker id="dateTri" name="dateTri" label="Date"
> cssClass="filtreInput" displayFormat="dd/MM/yyyy" toggleType="explode"
> toggleDuration="500"/>
> --
> View this message in context: http://www.nabble.com/-S2--Error-datetimepicker-when-erase-input-and-click-again-calendar-tf4223764.html#a12015179
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org