XPages File Upload in Editable Area

I’m using a file upload control, using the code in the wiki template. If the file upload is on an XPage or a custom control added to an XPage, it works fine. However, as soon as it’s in a custom control that’s dropped into an editable area, my first attempt at an upload does nothing, my second attempt then uploads the file, a third attempt also uploads the file.

Does anyone know why and more importantly, how to resolve it? Unfortunately my whole site is based on the XPages framework, which uses editable areas. The workaround will be to add all the layout code also to my XPage, so a solution would be cleaner.

Subject: This is fixed by installing FP1

Subject: Actually I have a PMR in on upload controls…

  • I noticed my application was losing attachments when the XPage saved … the attachment was right there when the XPage loaded, but the Agent that runs in postSaveDocument finds nothing attached. The support dude says this happens even if an upload control is put on a XPage all by its lonesome. He’s supposed to get back with me any hour now to go over what he’s found out.

  • This is using R8.5.1FP1. I haven’t put in the latest yet.

Hope this helps avoid frustration…