I am playing around with 4.1-SNAPSHOT, trying a few things.

I had a DropdownDatePicker that was working just fine but recently
stopped working:


     @Component(
         bindings = {
           "value=ognl:arrivalDate",
           "validators=ognl:{beans.required, beans.arrivalDateValidator}"
         }
     )
     public abstract DropdownDatePicker getArrivalDatePicker();




The corresponding page property is:

     @Persist
     public abstract Date getArrivalDate();
     public abstract void setArrivalDate(Date arrivalDate);



And the value of getArrivalDate is not null, because in
pageBeginRender() I have:

         if(getArrivalDate() == null) {
             setArrivalDate(
                 DateUtil.addDays(DateUtil.getTodaysMidnight(),  5);
             LOG.debug("Arrival Date set, is now " + getArrivalDate());
         }





The error I see now is:

The date-pickers text field says "NaN undefined NaN"

The debugging messages says "DEBUG: invalid date string: NaN-NaN-NaN"




I have no idea. Do you?





Andy





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to