Your SlideShare is downloading. ×
Two CCs of Layout -- Stat
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Two CCs of Layout -- Stat

780
views

Published on

In this Speedgeeking session from Lotusphere 2012, I described the benefits of using the basic XPages technique of an outer custom control with common layout elements containing an inner custom …

In this Speedgeeking session from Lotusphere 2012, I described the benefits of using the basic XPages technique of an outer custom control with common layout elements containing an inner custom control with specific page content.

Published in: Technology, Business

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
780
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
68
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Session GEEK101 SpeedGeeking: Two CCs of Layout — Stat! Mike McGarel Collaborative Solutions Developer Czarnowski Display Service, Inc.
  • 2. Mike McGarel
    • Notes/Web developer for over 12 years
    • 3. Work for a customer, not a business partner
    • 4. Responsible for intranet and extranet applications
    • 5. Developer for the Blogger Open and SkiLUG sites
    • 6. Currently VP of GRANITE, the Chicago-based Lotus user group
    I AM
  • 7. Demonstration
    • Structured layout
    • 8. Custom control within a custom control
    • 9. Use of core control: Editable area
  • 10. Sample Application
    • Simple picture gallery
    • 11. Three pages:
      • Home page
      • 12. List of artists
      • 13. List of selected artist's pictures
  • 14.  
  • 15.  
  • 16.  
  • 17. Outer custom control
    • Contains with the layout structure
    • 18. In this example, the custom control “layout_Container” contains the header, side menu and Editable Area control, which appears on the screen as a rectangle with an ID that starts with “facet_”
    • 19. It is used within three pages:
      • Home page
      • 20. List of artists
      • 21. List of selected artist's pictures
  • 22.  
  • 23.  
  • 24. Inner custom control
    • Contains with specific page content
    • 25. In this example, the custom control “layout_ByDateAdded” has a repeat control that displays the 3 most recently added pictures.
  • 26.  
  • 27.  
  • 28. The Technique
    • Create an XPage.
    • 29. Drag the outer custom control onto the XPage.
    • 30. Place the inner custom control within the Editable Area of the outer control.
    • 31. Save and repeat as often as necessary.
  • 32.  
  • 33.  
  • 34.  
  • 35.  
  • 36.  
  • 37.  
  • 38.  
  • 39. Advantages
    • Single source for layout structure
    • 40. Consistency
    • 41. Speed
  • 42. For More Information The “Layout Container” design pattern is described in more detail in the Mastering XPages book, starting on page 358
  • 43. Thank You!
    • Blog: www.bleedyellow.com/blogs/McGarelGramming/
    • 44. Twitter: @mmcgarel
    • 45. Email: [email_address]
    • 46. LinkedIn: www.linkedin.com/in/mikemcgarel
  • 47. Legal disclaimer © IBM Corporation 2012. All Rights Reserved. The information contained in this publication is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained in this publication, it is provided AS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this publication or any other materials. Nothing contained in this publication is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in this presentation may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results. IBM, the IBM logo, Lotus, Lotus Notes, Notes, Domino, and Lotusphere are trademarks of International Business Machines Corporation in the United States, other countries, or both. All references to Fine Art Gallery refer to a fictitious company and are used for illustration purposes only.