Join special agents Joe Friday and Frank Smith (Brad and Paul) as they uncover all the facts, and just the facts, about facets. Watch as they filter through the opinions, rumors and misconceptions to get answers to all the tough questions like "What are facets?", "When and how should I use them?", "Who else is using them?" and "Why should I even care?" Witness as they discover the xp:key differences and benefits of both named and unnamed facets. Follow our pragmatic pair as they argue and each make a case for xe:dynamicContent or xe:switchFacet. Listen as they reveal the flexibility and power of facets in the Form Table, Data View and Application Layout design frameworks.
3. Who we are
• Our background is in creating tools for collaborative
computing in mid-size and large enterprises, primarily for
Lotus Notes
• Easy-to-use tools for developers and administrators
• 2300+ active customers, 47 countries
• Offices in US, UK and Japan
• Entered mobile space in 2010 with Unplugged – easy
mobilization of Notes apps to Blackberry, Android and iOS
4. Teamstudio Unplugged
• Your Mobile Domino Server – take your Notes
apps with you!
• End users access Notes applications from
mobile devices whether online or offline
• Leverages existing skills and technology –
XPages – Replication model you already know
• IBM Collaboration Solutions Award Winner 2013
5. Teamstudio Continuity
• Mobile BCM application for smartphones and tablets
– iOS, Android and BB
• Offline access to all your BCM and
Disaster Recovery data
• Store plans, contacts, call trees, and more
• Client available for download from app stores
6. Teamstudio
• Next webinar October 17
• DCLUG – October 24th
• BLUG All Things Mobile – October 29th
• Promotions:
– Free Analyzer and Upgrade Filters when you buy Build Manager
– Chance to win an iPad mini when you get a demo of Teamstudio
Continuity
7. Howard Greenberg
TLCC
@TLCCLtd
#XPages
Your Host Today:
Who the heck is that guy and
where did you come up with the
name for this webinar?
For those outside the U.S. and/or under 50,
Dragnet was a long running TV police series in
the 50’s (revived several times after that).
8. Upcoming and Recorded Webinars
1
Next Webinar on October 17th
The Autobahn has no speed limit - Your
XPages shouldn't either!
www.tlcc.com/xpages-webinar
View Previous Webinars
(use url above)
9. TLCC Courses and Services
2
• The Leader in Notes and Domino Training since 1987
• Self Paced Distance Learning Courses for Notes/Domino
– XPages, Development, and Administration (user too!)
– Learn anywhere using your Notes client
– Many demos and activities
– An Instructor is a click away
• Instructor Led Online Classes
• OnSite Private Classes
• TLCC Mentoring Services
10. What’s New at TLCC
3
Free course – Introduction to XPages Development (both 8.5 and 9.0)
New Courses!
• Notes Domino 9 Application Development Update
• Java 1 for XPages Development (9.0)
• Notes Domino 9 System Administration Update
• Notes Domino 9 System Administration 1
New Packages!
• XPages and JavaScript for Domino 9 Package
• XPages and Rapid Development for Domino 9 Package
• XPages, JavaScript and Rapid Development for Domino 9 Package
TLCC’s Fall Sale – Save until Oct. 11th
11. XPages Skills Path
4
Core Notes/Domino
Skills
Domino Object
Model skills
LotusScript or
Java
JavaScript for XPages
Developers
XPages Development 1
ILO - October 28th
Rapid XPages
Development (user
interface controls)
ILO – December 9th
XPages Development 2
Mobile XPages
Development
Java for XPages
Suggested TLCC Skills Path at TLCC.com
TLCC Can Help:
• Self Paced Courses
• Instructor Led Online
• OnSite Private Instructor Led
• Blended Learning
• Custom courses
14. 7
What We’ll Cover …
• Callbacks, Facets and Keys
• Adding an Editable Area to a Custom Control
• Form Table design framework
• Data View design framework
• Application Layout design framework
• Dynamic Content and Facets
• Q & A
15. 8
Callbacks, Facets and Keys
What’s a facet?
A. A named area in a control, addressable via xp:key
B. The resulting drop location to add a component for an
Editable Area added to a custom control.
C. A named child instead of a sequential one. Only used if
the parent chooses to. Sequential children are
comparatively autonomous.
D. All of the above.
E. None of the above.
16. 9
Callbacks, Facets and Keys
What’s a callback?
A. An event on a custom control that can be coded return
a value from its containing XPage.
B. A design editable area added to a custom control.
C. Usually, an indication that your initial audition went
well.
D. All of the above.
E. None of the above.
21. 14
What We’ll Cover …
• Callbacks, Facets and Keys
• Adding an Editable Area to a Custom Control
• Form Table design framework
• Data View design framework
• Application Layout design framework
• Dynamic Content and Facets
• Q & A
23. 16
Editable Area control
• Add custom control with callback to XPage
• Add panel to editable area
• Custom control gets this.facets tag and panel gets
xp:key attribute
24. 17
Creating Custom Layout Control
• Set up a layout structure in a custom control
• Add Editable Area controls to each section
26. 19
What We’ll Cover …
• Callbacks, Facets and Keys
• Adding an Editable Area to a Custom Control
• Form Table design framework
• Data View design framework
• Application Layout design framework
• Dynamic Content and Facets
• Q & A
32. 25
Add a Form Table to an XPage
• Procedure: Form Buttons and Page Navigation
Add action controls and set navigation
33. 26
What We’ll Cover …
• Callbacks, Facets and Keys
• Adding an Editable Area to a Custom Control
• Form Table design framework
• Data View design framework
• Application Layout design framework
• Dynamic Content and Facets
• Q & A
50. 43
What We’ll Cover …
• Callbacks, Facets and Keys
• Adding an Editable Area to a Custom Control
• Form Table design framework
• Data View design framework
• Application Layout design framework
• Dynamic Content and Facets
• Q & A
67. 60
Application Layout Design Strategies
• Application Layout Design Strategies
Design Layout #6 – Web site Design
Design Layout #7 – Enabling the Search Bar in a Multi-Application Design
68. 61
What We’ll Cover …
• Callbacks, Facets and Keys
• Adding an Editable Area to a Custom Control
• Form Table design framework
• Data View design framework
• Application Layout design framework
• Dynamic Content and Facets
• Q & A
70. 63
Rendered Property and JSF Life Cycle
XPages Masterclass Video Series with Tony McGuckin
http://tonymcguckin.wordpress.com/2013/04/22/xpages-masterclass-series-1/
79. 72
Changing Content on Server Side
1
2
var dc=getComponent("dynamicContent1");
dc.show("provinces")
• Two ways to change content on server side:
DemoXPage251
81. 74
Some Key Points …
• Facets are named areas in a control, addressable via xp:key
• Form Table, Data View and Application Layout controls
– framework controls to display Domino documents and views
– Rapid XPages development of Web 2.0 apps in a oneui framework
– details facet of xe:dataView like a built-in repeat
• Rendered property …
– Like hide-when, often the first choice for dynamic content, but …
• Inefficient in JSF life cycle (recalculated in all 4 application-level
phases)
• Inefficient in component tree (rendered=“false”)
• Use xe:dynamicContent control
– Offers greatest flexibility to dynamically switch content
– Only the displayed facet is added to the component tree representation
for XPage
83. Question and Answer Time!
76
Teamstudio Questions?
contactus@teamstudio.com
877-228-6178
TLCC Questions?
howardg@tlcc.com paul@tlcc.com
888-241-8522 or 561-953-0095
Howard Greenberg Taline Badrikian
Upcoming Events:
TLCC Fall Sale
TLCC ILO Classes this Fall
IBM Connect 2014 Registration is now open
#XPages
@Balassaitis
@TLCCLtd
@Teamstudio
@PaulDN
Paul Della-Nebbia Brad Balassaitis