SlideShare a Scribd company logo
XPages Extension Library Lab Lance Spellman   |   President, WorkFlow Studios
Objective Build an event registration system with XPages Extension Library
Use new capabilities provided by the Extension Library for: Layout
Page Navigation
Login/Logout
Search
User information
Event Registration Demo and Setup This application allows a team to setup events, such as this Xpages Workshop, and allow people on the web to register for them
On the Domino server, there is a database named events.nsf
Events is the application interface and where event data will be captured Events.nsf has a Registration form in it and nothing else On the Domino server, there is a database named users.nsf
Users is a copy of a Public Name and Address Book, and is registered in Directory Assistance as a secondary address book
Anyone listed in users will be able to login to the server and use the Events application
Begin Lab Open events.nsf
Go to XPages section
Add New  XPage  named Home, save and close
Enable Extension Library Open Application Properties
Go to Advanced Tab
Enable the Extension Library by clicking the checkmark for: com.ibm.xsp.extlib.library
Set Theme to oneuiv2 Go to the Xpages tab of Application Properties
In the Application Theme field, type oneuiv2
Set Error Page to Display Runtime Error Go to the Errors and Timeouts section
Checkmark the box for: Display Xpages runtime error page
Set Home as Launch Page Go to the Launch tab of Application Properties
In the Web Browser Launch section, set launch to: Open Designated Xpage Set Xpage to Home
Preview Application Home Page http://127.0.0.1/events.nsf
home.xsp page should launch If not, check previous steps for accuracy
Check security settings in server document for Xpages field
Restart http
Check that events.nsf is in the Server's data directory...not the Client's data dir
Create Layout Custom Control Go to Custom Controls section
Create new Custom Control called Layout
Make habit of filling in the Comment field
Add Application Layout Extlib Control Go to the Extension Library panel
Select Application Layout
Drag on the Layout Custom Control
Set Application Layout Configuration Click on the Application Layout control
Go to the All Properties tab
Select Other and configuration
Click in the Value column and click the selector
Choose xe:applicationConfiguration
Save Layout control and add to Home Save the Layout custom control
Open the Home Xpage
Add the Layout control to Home by clicking and dragging
Save Home and Preview Save the Home Xpage
Preview in browser by going to: http://127.0.0.1/events.nsf
Create events theme  Create new theme named “events”
Extend the “oneuiv2” theme
In application properties, change the theme to “events”
Create and add events.css resource Create a new Stylesheet called events.css
Add events.css as a resource in the events theme
Replace default Lotus logo Open events.css
Create new class to overwrite .lotusui .lotusLogo New logo image is already in Resources
Preview Home Page for new Logo http://127.0.0.1/events.nsf
Understanding Editable Areas When an Editable Area is added to a custom control, it creates a placeholder called a “callback”.
The callback automatically generates an id for itself, usually called “facet_1” for the first Editable Area on the page
Try creating a new custom control called “test” and add an Editable Area to it
Look at source
Using the Editable Area When the custom control containing the Editable Area is put on an XPage, it allows the developer to put arbitrary content into that spot Think of it as a placeholder the control developer has set aside for the Xpage developer Example: For left-hand column of a layout, I, as the layout builder, want to define a space for a navigator.  But I don't want to arbitrarily decide what that navigator will be or what it will contain.
By putting an Editable Area in the layout, when the layout control is used on an Xpage, the Xpage developer can decide what kind of navigator he wants to put there and simply drag it into the Editable Area placeholder.
Create a new Xpage called “UseTest”
Drag the “test” custom control on to the XPage
Add Label to the Editable Area The green dot in the Editable Area indicates the target where content can be added
Drag a label control over the green dot

More Related Content

ODP
Lab: Mobile App Development with XPages and Extension Library
PPTX
Chapter 2 lesson-1 adding the action bar
PPTX
Chapter 2 lesson-2 styling the action bar
PPTX
Android app development lesson 1
PDF
App creation guide
PDF
POLITEKNIK MALAYSIA
PDF
ALL NEW OOP 2014
PPS
Actionview
Lab: Mobile App Development with XPages and Extension Library
Chapter 2 lesson-1 adding the action bar
Chapter 2 lesson-2 styling the action bar
Android app development lesson 1
App creation guide
POLITEKNIK MALAYSIA
ALL NEW OOP 2014
Actionview

What's hot (20)

PPTX
Places Tutorial
PPTX
Point and Click App Building Workshop
PPTX
Carousel Tutorial
PPTX
Gallery Tutorial
PPT
Windows Vista
PPTX
Locations tutorial
PPTX
Links Tutorial
PPT
Dreamweaver
PPTX
Menu/Catalogue tutorial
PPTX
About Us Tutorial
PPT
Instruction manual im
PPT
Leopard At SJCPL
PPTX
Push Notifications Tutorial
PPTX
Coupons Tutorial
PPTX
Gallery Tutorial
PPTX
App Design and Layout
PPTX
Website Design Configuration
PDF
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
PPTX
App Design + Layout
PPTX
Mobile Website Tutorial
Places Tutorial
Point and Click App Building Workshop
Carousel Tutorial
Gallery Tutorial
Windows Vista
Locations tutorial
Links Tutorial
Dreamweaver
Menu/Catalogue tutorial
About Us Tutorial
Instruction manual im
Leopard At SJCPL
Push Notifications Tutorial
Coupons Tutorial
Gallery Tutorial
App Design and Layout
Website Design Configuration
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
App Design + Layout
Mobile Website Tutorial
Ad

Similar to Lab: Developing with the extension library (20)

PDF
Connect 2014 - BP202: Rapid XPages Development Using the Application Layout C...
PDF
XPages Application Layout Control - TLCC March, 2014 Webinar
PDF
Application Layout Control
PDF
Just the Facets, Ma'am
ODP
Approaches to Enhancing the User Experience
PDF
Tip from IBM Connect 2014: Rapid XPages Developing Using the Application Layo...
ODP
Two CCs of Layout -- Stat
ODP
XPages OneUIv2 Theme Deep Dive
PPTX
Session 5#
PDF
Connect 2014 SHOW102: XPages Still No Experience Necessary
PDF
Harness the power of XPages in Lotus Domino
PDF
Connect 2014 - JMP102: Creating a Great XPages User Interface
PPTX
Just the Facets Ma'am ... MWLUG August 23, 2013, Indianapoilis, IN
PPTX
Just the Facets Ma'am - MWLUG 2013
PDF
XPages101 - Building an XPages app - Lotusphere 2011
PDF
Conditional Logic, Variables, & Raised Events in Axure
PDF
SHOW102 XPages: Still No Experience Necessary IBM Connect 2014
ODP
IBM Lotus Notes Domino XPages and XPages for Mobile
PDF
XPages Blast - ILUG 2010
PDF
Creating a Great XPages User Interface
Connect 2014 - BP202: Rapid XPages Development Using the Application Layout C...
XPages Application Layout Control - TLCC March, 2014 Webinar
Application Layout Control
Just the Facets, Ma'am
Approaches to Enhancing the User Experience
Tip from IBM Connect 2014: Rapid XPages Developing Using the Application Layo...
Two CCs of Layout -- Stat
XPages OneUIv2 Theme Deep Dive
Session 5#
Connect 2014 SHOW102: XPages Still No Experience Necessary
Harness the power of XPages in Lotus Domino
Connect 2014 - JMP102: Creating a Great XPages User Interface
Just the Facets Ma'am ... MWLUG August 23, 2013, Indianapoilis, IN
Just the Facets Ma'am - MWLUG 2013
XPages101 - Building an XPages app - Lotusphere 2011
Conditional Logic, Variables, & Raised Events in Axure
SHOW102 XPages: Still No Experience Necessary IBM Connect 2014
IBM Lotus Notes Domino XPages and XPages for Mobile
XPages Blast - ILUG 2010
Creating a Great XPages User Interface
Ad

Recently uploaded (20)

PPTX
Spectroscopy.pptx food analysis technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
KodekX | Application Modernization Development
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
sap open course for s4hana steps from ECC to s4
Spectroscopy.pptx food analysis technology
Digital-Transformation-Roadmap-for-Companies.pptx
Machine learning based COVID-19 study performance prediction
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Empathic Computing: Creating Shared Understanding
Dropbox Q2 2025 Financial Results & Investor Presentation
Diabetes mellitus diagnosis method based random forest with bat algorithm
MYSQL Presentation for SQL database connectivity
Programs and apps: productivity, graphics, security and other tools
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
MIND Revenue Release Quarter 2 2025 Press Release
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
20250228 LYD VKU AI Blended-Learning.pptx
Spectral efficient network and resource selection model in 5G networks
KodekX | Application Modernization Development
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
sap open course for s4hana steps from ECC to s4

Lab: Developing with the extension library