PermaLink XPages Example: updating data from multiple forms from a single xPage06/09/2008
Domino 8.5 - XPages
* please note: There are a few issues with Beta 2 that prevent this example from working properly.  Refer to this blog entry for workarounds.

I put together an example of using XPages to update data from multiple forms on a single XPage.  There is a sample database for you to download as well as a presentation that walks you through the steps involved.

XPages separates the presentation layer from the data layer.  This is obviously very different to the one to one relationship in Domino.  XPages also allows the developer to bind to multiple datasources from a single page.  This feature can really provide a different approach to developing Domino applications.

I came up with the following simple use case:  We have an application where the user takes product orders that are shipped to customers.  Sometimes the user needs to update the customer information while taking the order.  We can provide the Customer fields right on the Order form and bind them via a Panel control to the Customer form.  A single button with a simple action saves all the bound datasources for the page and therefore updates both forms for us.  Here is a screen shot:

Image:John's Blog - XPages Example: updating data from multiple forms from a single xPage

Here are the downloads:
- CustomerOrders.nsf
- step-by-step powerpoint

Download the application and try it out.  Contact me if you have any questions via posting or email.  My email address is in the powerpoint (created with Symphony however!).

John

Technorati:
This page has been accessed 2098 times. .
Comments :v

1. John Turnbow06/09/2008 01:50:50 AM
Homepage: http://www.recondite2.com


John,

Thanks for this. I am just getting into reviewing and testing R8.5. Nice way to put it all together.

John Turnbow




2. jjtb somhorst06/09/2008 09:40:54 PM


Pretty good introduction on the subject.




3. K Vijaya Kumar07/08/2008 01:53:30 PM
Homepage: http://www.qafco.com.qa


Dear John,

Excellent design concept the xpage is,

I appreciate your contribution for us to early adoption

Regards




4. Shu07/08/2008 11:11:24 PM


Excellent resource to preview the feature! I don't see the theme as reflected in your screenshot, though. Could you provide it as part of the download?




5. John Mackey07/09/2008 11:02:29 AM
Homepage: http://www.jmackey.net


@Shu, that actually is funny. I should do an example on using themes...maybe soon.

That is a screen shot of the powerpoint presentation that you can download, which has the nice ppt theme...thanks to Microsoft

John




6. Edwin10/18/2008 03:28:29 AM
Homepage: http://www.viresto.nl


Thanks for your introduction on the Xpages of Lotus.




Search
XPage Examples
By Category
My Links
Downloads
Monthly Archive
Powered by
Blogsphere
Lotus Domino ND7 RSS News Feed RSS Comments Feed Geo URL netcraft RSS Validator Lotus Geek Chris. A. Brandlehner OpenNTF BlogSphere
Calendar
November 2008
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
The BlogRoll