Problem submitting an area of the page

I am trying to do a partial update on a date time field using values in a combobox. It only works if I do not check the use date/time picker box for the date field. If this is selected I get the following error message:Problem submitting an area of the page.

Could not load class ‘ibm.xsp.widget.layout.DateTimeTextBoxContainer’. Did you spell the name correctly and use a full path, like ‘dijit.form.Button’?

Submit the entire page?

I would like to use the date picker option, but am not clear how to get round this issue. Is this a known issue with xpages. Any help would be greatly appreciated.

Subject: Solution

Hi,I worked it out. There are several scripts that are added by dojo for the datepicker only if the element is displayed. I have added these scripts to the xpage so that they are always there and this has fixed the problem.

Subject: Bugs that can be worked around are still bugs

Even if this can be worked around, it’s still a bug.

I tried opening a PMR, but I only got a blank page after logging in. I got tired of trying after the fifth or sixth time. I tried different browsers, but no go.

Oh the joy of IBM support!

Subject: solution

Hello Steven, good to hear that there is a workaround.

I’m stuck in this same issue.

Could you please post/share your solution?

Thanks

Marco

Subject: posted solution

Apologies for not responding sooner. Been up to my eyeballs. Anway you could try putting the following script on your xpage before the beforePageLoad event

<script type="text/javascript">

	dojo.require('ibm.xsp.widget.layout.DateTimeTextBoxContainer')

</script>

<script type="text/javascript">

	dojo.require('ibm.xsp.widget.layout.DateTextBox')

</script>

I can’t remember where I got this from but it should work.

Steve