more datepicker questions
more datepicker questions
- Subject: more datepicker questions
- From: Theodore Petrosky <email@hidden>
- Date: Thu, 19 Aug 2010 12:34:51 -0700 (PDT)
Please someone explain this one to me.
I have a datepicker on an AMD. except that the ADP doesn't seem to be attached to the textarea of the AMD. It act likes it is attached to the underlaying window.
so that if the underlaying window has an up and down scroll bar, this scroll bar controls the placement of the datepicker. I wasn't expecting this.
Maybe i am using the datepicker 'wrong'. or I need to do something more in the set up.
I can send an example if required..
My content of my AMD comes from its own WOComponent that I call with the action binding.
EditJobMetaMDO : AjaxModalDialogOpener {
dialogId = "editJobMetaModalDialog";
label = currentJob.composedJobNumber;
action = setTheCurrentJob;
}
EditJobMetaMD : AjaxModalDialog {
id = "editJobMetaModalDialog";
action = showJobMeta;
height = 360;
locked = true;
title="Edit Job Meta";
}
and from my java:
public WOActionResults showJobMeta() {
TWTWorkListEditJobComponent nextPage = (TWTWorkListEditJobComponent)pageWithName(TWTWorkListEditJobComponent.class.getName());
nextPage.setTheEditJobMeta(aJobToEdit);
return nextPage;
}
The AjaxDatePicker lives on TWTWorkListEditJobComponent.
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden