Xpage/Custom Control: Data stored only partially

Hi,

I am refactoring an old web based app to XPages. As a replacement of a Form/Subform combination, I created an XPage / Custom Control combination with field an both elements. When saving a document (created with the XPage), only field data from the XPage (not from the CC) is stored as part of the document. How do I tell the CC to use the same document data storage as the Xpage. Defining a separete data definition on the CC just using the same name “document1” doesn’t do right.

Manfred

Subject: Here’s some options

You can use “currentDocument” as your datasource name on your custom control to reference the default XPage datasource. Here’s a post that explains it further: http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-CstomControls-Tip

if you have multiple datasources, take a look at this article: サッカー ユニフォーム 安い – xpagesblog.com | 安いジャージを買う。 21.99 という安いジャージ。 ファンに最高のコレクションを提供します。 安心してお買い物をしてください。

-John