I have an xpage with custom control1 that contains another custom control2. The first custom control1 is bound to form1 (“open document”) and contains 4 tabs of fields. On the second tab of this custom control1, I have the second custom control2 which is bound to form2, set as “create document” and has fields from that form.
However, when I open the xpage in the browser, the fields from custom control2 don’t show. There is no visibility formula, and they are bound to fields in form2.
Is it not possible to have an embedded custom control bound to a different data source?
I’m trying to create a web (xpages) version of an existing client app. The existing app has a Task form that contains a tabbed table. One of the tabs contains an embedded view of related Issues. So, in the Task form on the client, the user clicks a button to “create a new issue” and a new document is opened for him to fill out and save, which then naturally brings him back to the Task form.
On the web, however, I’d simply like the Issue form to appear above the embedded view, so the user is still in the Task form. When they save the Issue, then I’d like the Issue form to disappear. This way, the context doesn’t change from the perspective of the user; they never leave the Task form they’re looking at.
So, my xpage has an fTask custom control (with a tabbbed layout) that contains an fIssue custom control in the second tab. The fTask custom control is bound to the Task form and the fIssue custom control is bound to the Issue form.
I hope this makes sense, and thank you again for your time and consideration.