I am completely unfamiliar with gwt ajax, I need to maintain a project 
using gwt 2.6.1, is it possible to set the end year of this javascript 
control DateItem
for example year 2030, could it beem limited to 2020 :

dateItem = new DateItem("expDate");
        dateItem.setTitle(DEManager.I18N_CST.uploadExpirationDateLbl());

        dateItem.setColSpan(4);
        dateItem.setWidth(190);// guglielmo was 90 test !
        dateItem.setEndDate(new Date(2030,1,1) );// is it possible to set 
the date to 2030 ? **********************************
        dateItem.addChangedHandler(new ChangedHandler() {
            @Override
            public void onChanged(ChangedEvent event) {
                resetFieldError(dateItem.getName());
                
expiration.setValue(EXP_DATE_FORMAT.format(dateItem.getValueAsDate()) + "-" 
+ EXP_TIME_FORMAT.format((Date) timeItem.getValue()));
            }
        });

it seems to default to 1995-2020, is it possible ?
thank you for any clues.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to