How can I override or add NotesXspDocument to XPages events?

I have a custom control to which I pass the data source. Property of the customecontrol.xsp-config property:

<property>
  <description>The src Datasource source data (WIP)</description>
  <display-name>Source Datasource</display-name>
  <property-name>srcDatasource</property-name>
  <property-class>com.ibm.xsp.model.domino.DominoDocumentData</property-class>
  <property-extension>
    <required>true</required>
    <designer-extension>
      <category>1. Workflow Parameters</category>
      <editor>com.ibm.workplace.designer.property.editors.dataSourcePicker</editor>
    </designer-extension>
  </property-extension>
</property>

I want to add some logic to querySaveDocumentthis data source with code in a user control beforePageLoad. This logic will add reader and author document elements to the document, as well as some other control values.

How can I add my code to this event?

Thanks in advance...

/ Newbs

+3
source share
2 answers

You can find the solution here:

http://dontpanic82.blogspot.com/2010/03/xpages-dynamically-binding-document.html

Loans for Tommy Valanda ...

+2
source

computeWithForm xpage. , onsave , .

" Xpages":

XPages Domino Document, computeWithForm, , , . , , , .

,

: , :

http://www.thenorth.com/apblog4.nsf/0/17B0E8334B2DCA68852579B400639D62

, ibm, .

Edit2: , Xsnippets.org

.

0

All Articles