XPages: Subform Problem

Hello,

We are currently trying to build an XPages application from scratch. In order to create the data placeholders, we have developed several forms containing subforms. These subforms are repeated often.

I’ve searched long and hard to find a way of being able to bind to the form’s subform fields without much job. Examples I have seen on the web just do not allow the web document to submit.

So far, I have been able to create a new datasource and name this with my subform name. I can then drag the subform field onto my xPage. Great. However, when creating a new document the notes doucment does not contain a value for the subform field. But, when I edit the document and save again it displays.

Could someone advise me where I may be going wrong or give me a hint how I might be able to get around this problem?

Thanks in advance.

Ian

Subject: first, this has been fixed in 851

Have you tried just binding the datasource to the form and then just typing in the subform’s field name in the combobox where you would choose the field name (that in 8.5 only shows fields from the form)? That combobox should be editable, and this workaround should work!