Monday, February 27, 2012

Re: Date box pop up seems to ignore default css

Any suggestion pls...

On Sun, Feb 26, 2012 at 1:06 AM, Deepak Singh <> wrote:
Hi All,

I have a ui:binder and am using date box as follows

<d:DateBox width="16em" ui:field="agPacValidityTo" ></d:DateBox>

DateTimeFormat df = DateTimeFormat.getFormat("EEE, MMM d, yyyy");
Format f  = new DateBox.DefaultFormat(df);
agPacValidityFrom.setTitle("Validity date");
agPacValidityFrom.addValueChangeHandler(new ValueChangeHandler<Date>() {

public void onValueChange(ValueChangeEvent<Date> event) {
Date date = event.getValue();
       String dateString = DateTimeFormat.getMediumDateFormat().format(date);

The problem i am getting is that the date popup is not shown properly. The pop up appears without any css applied to it. So the look n feel of pop up is totally disturbed.

Am i missing something here ?

Deepak Singh

Deepak Singh

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment