SlideShare a Scribd company logo
1 of 10
XPages Extension Library:
                 Create an app in 1 hour (almost)




                                               PHL-Consult.dk
                                               info@PHL-Consult.dk

                                               Per Henrik Lausten
April 19, 2012                                 per.lausten.dk/blog/
                                               twitter.com/perlausten
Prerequisites
Lotus Domino 8.5.3
XPages Extension Library from OpenNTF or Upgrade Pack 1
Purpose
From classic:




To modern:




In 1 hour (almost)
Application Layout
OneUI application layout
  <xe:applicationLayout id="applicationLayout1">
       <xe:this.configuration>
                        <xe:oneuiApplication>
  </xe:oneuiApplication>
  </xe:this.configuration>
  </xe:applicationLayout>


Dropdown menu
  <xe:basicContainerNode label="Dropdown menu">
       <xe:this.children>

                  <xe:basicLeafNode label="Choice 1"></xe:basicLeafNode>

            <xe:basicLeafNode label="Choice 2"></xe:basicLeafNode>

             <xe:basicLeafNode label="Choice 3"></xe:basicLeafNode>
       </xe:this.children>
  </xe:basicContainerNode>


NavigationPath custom property and the selection property
Tabs
  <xe:this.titleBarTabs>
Navigator
Menu
  <xe:navigator id="navigator1">
       <xe:this.treeNodes>
             <xe:pageTreeNode label="Index" page="/index.xsp" selection="/Tab1/Index"></xe:pageTreeNode>
             <xe:pageTreeNode label="Page 2" page="/page2.xsp" selection="/Tab1/Page2"></xe:pageTreeNode>
       </xe:this.treeNodes>
  </xe:navigator>


View list
  <xe:dominoViewListTreeNode filter="All.*" submitValue="#{viewEntry.name}" var="viewEntry">
       <xe:this.databaseName><![CDATA[#{javascript:database.getServer() + "!!" +
  "notesnet//forum.nsf"}]]></xe:this.databaseName>
       <xe:this.selected><![CDATA[#{javascript:viewEntry.getName() ==
  sessionScope.clickedView}]]></xe:this.selected>
  </xe:dominoViewListTreeNode>

  <xp:eventHandler event="onItemClick" submit="true" refreshMode="complete">
       <xp:this.action>
         <![CDATA[#{javascript:sessionScope.clickedView = context.getSubmittedValue();
       context.redirectToPage("forumview.xsp");}]]>
       </xp:this.action>
  </xp:eventHandler>
Dynamic View Panel
Dynamic views
   <xe:dynamicViewPanel id="dynamicViewPanel1" pageName="/forumpost.xsp" var="viewEntry">
        <xe:this.data>

        <xp:dominoView var="view1" viewName="#{sessionScope.clickedView}">
        <xe:this.databaseName><![CDATA[#{javascript:database.getServer() + "!!" +
   "notesnet//forum.nsf"}]]></xe:this.databaseName>
        </xp:dominoView>
        </xe:this.data>

        <xp:eventHandler event="onColumnClick" submit="true" refreshMode="complete">
              <xp:this.action><![CDATA[#{javascript:var url="/forumpost.xsp?
   action=openDocument&documentId="+viewEntry.getNoteID();

context.redirectToPage(url);}]]></xp:this.action>
               </xp:eventHandler>
         </xe:dynamicViewPanel>


Customizer Bean
Forms
Form Table, Form Layout Row og Form Layout Column
 <xe:formTable id="formTable1">

      <xe:formRow id="formRow1" label="Subject">

           <xp:inputText id="inputText1" value="#{document1.Subject}"></xp:inputText>
      </xe:formRow>

      <xe:formRow id="formRow2" label="Body">

            <xp:inputRichText id="inputRichText1" value="#{document1.Body}"></xp:inputRichText>
      </xe:formRow>
 </xe:formTable>


Name picker
 <xe:djextNameTextBox id="From" value="#{document1.From}"></xe:djextNameTextBox>

      <xe:namePicker id="namePickerFrom" for="From">
           <xe:this.dataProvider>

      <xe:dominoNABNamePicker addressBookSel="all-public" nameList="people"></xe:dominoNABNamePicker>
      </xe:this.dataProvider>
 </xe:namePicker>
Forms
Value picker
  <xp:inputText id="Categories" value="#{document1.Categories}">

       <xp:typeAhead mode="partial" minChars="1" preventFiltering="true">
       <xp:this.valueList><
  [CDATA[#{javascript:getComponent("valuePickerCategories").getTypeAheadValue(this)}]]>
       </xp:this.valueList>
       </xp:typeAhead>
  </xp:inputText>

  <xe:valuePicker id="valuePickerCategories" for="Categories">
       <xe:this.dataProvider>
             <xe:simpleValuePicker>
                  <xe:this.valueList><![CDATA[#{javascript:DbColumnArray("", "Notesnetforum.nsf",
  "cache", "unique", "sort", "AllByCategory", 2)}]]></xe:this.valueList>
             </xe:simpleValuePicker>
       </xe:this.dataProvider>
  </xe:valuePicker>
Styling
CSS
Demo
http://notesnet.dk/databaser/perlausten/extlibdemo.nsf/

More Related Content

What's hot

Doctype html public
Doctype html publicDoctype html public
Doctype html public
ecuapool
 
Java script frame history
Java script frame historyJava script frame history
Java script frame history
H K
 
Creating simple php contact form
Creating simple php contact formCreating simple php contact form
Creating simple php contact form
Daniel Downs
 
Web app development_html_02
Web app development_html_02Web app development_html_02
Web app development_html_02
Hassen Poreya
 

What's hot (18)

Doctype html public
Doctype html publicDoctype html public
Doctype html public
 
Java script frame history
Java script frame historyJava script frame history
Java script frame history
 
Xml 2
Xml  2 Xml  2
Xml 2
 
Form Handling using PHP
Form Handling using PHPForm Handling using PHP
Form Handling using PHP
 
PHPTAL with CakePHP
PHPTAL with CakePHPPHPTAL with CakePHP
PHPTAL with CakePHP
 
Html5 appunti.0
Html5   appunti.0Html5   appunti.0
Html5 appunti.0
 
Java script form validation
Java script  form validationJava script  form validation
Java script form validation
 
Lecture7 form processing by okello erick
Lecture7 form processing by okello erickLecture7 form processing by okello erick
Lecture7 form processing by okello erick
 
Creating simple php contact form
Creating simple php contact formCreating simple php contact form
Creating simple php contact form
 
Json
JsonJson
Json
 
Making web forms using php
Making web forms using phpMaking web forms using php
Making web forms using php
 
Practical file(XHTML)web designing
Practical file(XHTML)web designingPractical file(XHTML)web designing
Practical file(XHTML)web designing
 
Html basics
Html basicsHtml basics
Html basics
 
Isomorphic react in real life
Isomorphic react in real lifeIsomorphic react in real life
Isomorphic react in real life
 
REST and AJAX Reconciled
REST and AJAX ReconciledREST and AJAX Reconciled
REST and AJAX Reconciled
 
Web app development_html_02
Web app development_html_02Web app development_html_02
Web app development_html_02
 
03 namespace
03 namespace03 namespace
03 namespace
 
Introhtml 2
Introhtml 2Introhtml 2
Introhtml 2
 

Viewers also liked

Viewers also liked (8)

Bootstrap4XPages - an introduction
Bootstrap4XPages - an introductionBootstrap4XPages - an introduction
Bootstrap4XPages - an introduction
 
An introduction to IBM BlueMix
An introduction to IBM BlueMixAn introduction to IBM BlueMix
An introduction to IBM BlueMix
 
Connect 2014 - JMP102: Creating a Great XPages User Interface
Connect 2014 - JMP102: Creating a Great XPages User InterfaceConnect 2014 - JMP102: Creating a Great XPages User Interface
Connect 2014 - JMP102: Creating a Great XPages User Interface
 
Bootstrap and XPages (DanNotes 2013)
Bootstrap and XPages (DanNotes 2013)Bootstrap and XPages (DanNotes 2013)
Bootstrap and XPages (DanNotes 2013)
 
XPages Application Layout Control - TLCC March, 2014 Webinar
XPages Application Layout Control - TLCC March, 2014 WebinarXPages Application Layout Control - TLCC March, 2014 Webinar
XPages Application Layout Control - TLCC March, 2014 Webinar
 
Show110 | Using the XPages Extension Library for the Real World
Show110 | Using the XPages Extension Library for the Real WorldShow110 | Using the XPages Extension Library for the Real World
Show110 | Using the XPages Extension Library for the Real World
 
Bootstrap4XPages
Bootstrap4XPagesBootstrap4XPages
Bootstrap4XPages
 
Building Responsive Applications Using XPages
Building Responsive Applications Using XPagesBuilding Responsive Applications Using XPages
Building Responsive Applications Using XPages
 

Similar to XPages Extension Library - Create an app in 1 hour (almost)

Building Windows 8 Apps with Windows Azure
Building Windows 8 Apps with Windows AzureBuilding Windows 8 Apps with Windows Azure
Building Windows 8 Apps with Windows Azure
Supote Phunsakul
 
Microsoft Accademic Cloud Tour Genova
Microsoft Accademic Cloud Tour GenovaMicrosoft Accademic Cloud Tour Genova
Microsoft Accademic Cloud Tour Genova
antimo musone
 
网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识
ppanyong
 
网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识
ppanyong
 
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложенияCodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
CodeFest
 
Your Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages SuckYour Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages Suck
Anthony Montalbano
 

Similar to XPages Extension Library - Create an app in 1 hour (almost) (20)

Building Windows 8 Apps with Windows Azure
Building Windows 8 Apps with Windows AzureBuilding Windows 8 Apps with Windows Azure
Building Windows 8 Apps with Windows Azure
 
Microsoft Accademic Cloud Tour Genova
Microsoft Accademic Cloud Tour GenovaMicrosoft Accademic Cloud Tour Genova
Microsoft Accademic Cloud Tour Genova
 
Introduction to Html5
Introduction to Html5Introduction to Html5
Introduction to Html5
 
Oracle Endeca Developer's Guide
Oracle Endeca Developer's GuideOracle Endeca Developer's Guide
Oracle Endeca Developer's Guide
 
网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识
 
网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识
 
treeview
treeviewtreeview
treeview
 
treeview
treeviewtreeview
treeview
 
Effective Web Scraping with OXPath
Effective Web Scraping with OXPathEffective Web Scraping with OXPath
Effective Web Scraping with OXPath
 
iWebkit
iWebkitiWebkit
iWebkit
 
Multi faceted responsive search, autocomplete, feeds engine & logging
Multi faceted responsive search, autocomplete, feeds engine & loggingMulti faceted responsive search, autocomplete, feeds engine & logging
Multi faceted responsive search, autocomplete, feeds engine & logging
 
Spring Web Service, Spring Integration and Spring Batch
Spring Web Service, Spring Integration and Spring BatchSpring Web Service, Spring Integration and Spring Batch
Spring Web Service, Spring Integration and Spring Batch
 
Rich Portlet Development in uPortal
Rich Portlet Development in uPortalRich Portlet Development in uPortal
Rich Portlet Development in uPortal
 
Portal Site Management
Portal Site ManagementPortal Site Management
Portal Site Management
 
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложенияCodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
 
Test upload
Test uploadTest upload
Test upload
 
JSF 2.0 Preview
JSF 2.0 PreviewJSF 2.0 Preview
JSF 2.0 Preview
 
Count to 10 and Say Yes
Count to 10 and Say YesCount to 10 and Say Yes
Count to 10 and Say Yes
 
Your Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages SuckYour Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages Suck
 
IBM Lotus Notes Domino XPages and XPages for Mobile
IBM Lotus Notes Domino XPages and XPages for MobileIBM Lotus Notes Domino XPages and XPages for Mobile
IBM Lotus Notes Domino XPages and XPages for Mobile
 

More from Per Henrik Lausten

Intro to XPages for Administrators (DanNotes, November 28, 2012)
Intro to XPages for Administrators (DanNotes, November 28, 2012)Intro to XPages for Administrators (DanNotes, November 28, 2012)
Intro to XPages for Administrators (DanNotes, November 28, 2012)
Per Henrik Lausten
 

More from Per Henrik Lausten (7)

Introduktion til Twitter for FCNetværk, august 2014
Introduktion til Twitter for FCNetværk, august 2014Introduktion til Twitter for FCNetværk, august 2014
Introduktion til Twitter for FCNetværk, august 2014
 
XPages and Java (DanNotes 50th conference, November 2013)
XPages and Java (DanNotes 50th conference, November 2013)XPages and Java (DanNotes 50th conference, November 2013)
XPages and Java (DanNotes 50th conference, November 2013)
 
En fantastisk applikationsserver (Intravision IBM Connect 2013 Update i Århus)
En fantastisk applikationsserver (Intravision IBM Connect 2013 Update i Århus)En fantastisk applikationsserver (Intravision IBM Connect 2013 Update i Århus)
En fantastisk applikationsserver (Intravision IBM Connect 2013 Update i Århus)
 
A powerful web application server (intravision IBM Connect 2013 Update) Febru...
A powerful web application server (intravision IBM Connect 2013 Update) Febru...A powerful web application server (intravision IBM Connect 2013 Update) Febru...
A powerful web application server (intravision IBM Connect 2013 Update) Febru...
 
Source Control with Domino Designer 8.5.3 and Git (DanNotes, November 28, 2012)
Source Control with Domino Designer 8.5.3 and Git (DanNotes, November 28, 2012)Source Control with Domino Designer 8.5.3 and Git (DanNotes, November 28, 2012)
Source Control with Domino Designer 8.5.3 and Git (DanNotes, November 28, 2012)
 
Intro to XPages for Administrators (DanNotes, November 28, 2012)
Intro to XPages for Administrators (DanNotes, November 28, 2012)Intro to XPages for Administrators (DanNotes, November 28, 2012)
Intro to XPages for Administrators (DanNotes, November 28, 2012)
 
My view on XPages
My view on XPagesMy view on XPages
My view on XPages
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

XPages Extension Library - Create an app in 1 hour (almost)

  • 1. XPages Extension Library: Create an app in 1 hour (almost) PHL-Consult.dk info@PHL-Consult.dk Per Henrik Lausten April 19, 2012 per.lausten.dk/blog/ twitter.com/perlausten
  • 2. Prerequisites Lotus Domino 8.5.3 XPages Extension Library from OpenNTF or Upgrade Pack 1
  • 4. Application Layout OneUI application layout <xe:applicationLayout id="applicationLayout1"> <xe:this.configuration> <xe:oneuiApplication> </xe:oneuiApplication> </xe:this.configuration> </xe:applicationLayout> Dropdown menu <xe:basicContainerNode label="Dropdown menu"> <xe:this.children> <xe:basicLeafNode label="Choice 1"></xe:basicLeafNode> <xe:basicLeafNode label="Choice 2"></xe:basicLeafNode> <xe:basicLeafNode label="Choice 3"></xe:basicLeafNode> </xe:this.children> </xe:basicContainerNode> NavigationPath custom property and the selection property Tabs <xe:this.titleBarTabs>
  • 5. Navigator Menu <xe:navigator id="navigator1"> <xe:this.treeNodes> <xe:pageTreeNode label="Index" page="/index.xsp" selection="/Tab1/Index"></xe:pageTreeNode> <xe:pageTreeNode label="Page 2" page="/page2.xsp" selection="/Tab1/Page2"></xe:pageTreeNode> </xe:this.treeNodes> </xe:navigator> View list <xe:dominoViewListTreeNode filter="All.*" submitValue="#{viewEntry.name}" var="viewEntry"> <xe:this.databaseName><![CDATA[#{javascript:database.getServer() + "!!" + "notesnet//forum.nsf"}]]></xe:this.databaseName> <xe:this.selected><![CDATA[#{javascript:viewEntry.getName() == sessionScope.clickedView}]]></xe:this.selected> </xe:dominoViewListTreeNode> <xp:eventHandler event="onItemClick" submit="true" refreshMode="complete"> <xp:this.action> <![CDATA[#{javascript:sessionScope.clickedView = context.getSubmittedValue(); context.redirectToPage("forumview.xsp");}]]> </xp:this.action> </xp:eventHandler>
  • 6. Dynamic View Panel Dynamic views <xe:dynamicViewPanel id="dynamicViewPanel1" pageName="/forumpost.xsp" var="viewEntry"> <xe:this.data> <xp:dominoView var="view1" viewName="#{sessionScope.clickedView}"> <xe:this.databaseName><![CDATA[#{javascript:database.getServer() + "!!" + "notesnet//forum.nsf"}]]></xe:this.databaseName> </xp:dominoView> </xe:this.data> <xp:eventHandler event="onColumnClick" submit="true" refreshMode="complete"> <xp:this.action><![CDATA[#{javascript:var url="/forumpost.xsp? action=openDocument&documentId="+viewEntry.getNoteID(); context.redirectToPage(url);}]]></xp:this.action> </xp:eventHandler> </xe:dynamicViewPanel> Customizer Bean
  • 7. Forms Form Table, Form Layout Row og Form Layout Column <xe:formTable id="formTable1"> <xe:formRow id="formRow1" label="Subject"> <xp:inputText id="inputText1" value="#{document1.Subject}"></xp:inputText> </xe:formRow> <xe:formRow id="formRow2" label="Body"> <xp:inputRichText id="inputRichText1" value="#{document1.Body}"></xp:inputRichText> </xe:formRow> </xe:formTable> Name picker <xe:djextNameTextBox id="From" value="#{document1.From}"></xe:djextNameTextBox> <xe:namePicker id="namePickerFrom" for="From"> <xe:this.dataProvider> <xe:dominoNABNamePicker addressBookSel="all-public" nameList="people"></xe:dominoNABNamePicker> </xe:this.dataProvider> </xe:namePicker>
  • 8. Forms Value picker <xp:inputText id="Categories" value="#{document1.Categories}"> <xp:typeAhead mode="partial" minChars="1" preventFiltering="true"> <xp:this.valueList>< [CDATA[#{javascript:getComponent("valuePickerCategories").getTypeAheadValue(this)}]]> </xp:this.valueList> </xp:typeAhead> </xp:inputText> <xe:valuePicker id="valuePickerCategories" for="Categories"> <xe:this.dataProvider> <xe:simpleValuePicker> <xe:this.valueList><![CDATA[#{javascript:DbColumnArray("", "Notesnetforum.nsf", "cache", "unique", "sort", "AllByCategory", 2)}]]></xe:this.valueList> </xe:simpleValuePicker> </xe:this.dataProvider> </xe:valuePicker>