Skip to main content link. Accesskey S
  • Translate Page ▼
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • Lotus Notes and Domino Application Development wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 6.0
  • 6.5
  • 8.0
  • 8.5
  • 8.5.1
  • 8.5.2
  • 8.5.3
  • action bar
  • Agents
  • Ajax
  • app dev
  • beginner
  • C&S
  • calendaring and scheduling
  • client
  • composite applications
  • Controls
  • converters
  • css
  • Custom controls
  • Data Binding
  • db2
  • design elements
  • dialog boxes
  • Documents
  • Dojo
  • Domino
  • Domino Designer
  • Domino Designer 8.5
  • DXL
  • Eclipse
  • error handling
  • errors
  • extensions
  • FAQ
  • Forms
  • formulas
  • getting started
  • globalization
  • Help
  • html
  • Installation
  • interface
  • internationalization
  • Java
  • JavaScript
  • JSF
  • localization
  • Lotus Domino Designer
  • LotusScript
  • LotusSphere
  • LotusTechInfo
  • menu bar
  • Mobile
  • new user
  • Notes
  • Notes 8
  • notes.ini
  • NSD
  • OpenNTF
  • partial update
  • performance
  • Pickers
  • Portal
  • presentations
  • programming
  • Redbooks
  • Requested Articles
  • roadmap
  • rooms and resources
  • samples
  • Scripting
  • security
  • tabs
  • templates
  • themes
  • Tips
  • toolbar
  • troubleshooting
  • tutorials
  • validation
  • variables
  • video
  • VideoFest
  • View
  • view control
  • ViewPanel
  • Views
  • web
  • Web apps
  • Web services
  • webdev
  • x-pages
  • XML
  • Xpage
  • XPages
  • XPages Extensibility API
  • XPages Extension Library
  • xsp-config
  • データソース
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Designing Applications > Providing illustration for your XPage custom controls (Design Definition)
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Providing illustration for your XPage custom controls (Design Definition) 

expanded Abstract
collapsed Abstract
No abstract provided.
Something added to Lotus Domino Designer (DD) in 8.5.1 was the ability to better illustrate our custom controls when laid out within an XPage (within Designer itself).

For example in 8.5 a tag cloud may look like this:


whereas in 8.5.1 we can now make it look like:


This is a simple example so big deal you may think, however with more complex custom controls (and XPages) and the fact that they are reusable so you want them to be as polished as possible its a great improvement. You can even include on screen instructions on how to reuse your custom control like I have in the following example:


So how do we do this? Well in a custom control we have a new setting "Design Definition" and this accepts XSP markup so we can make our custom control look/feel exactly how we wish:


For the simple example of the tag cloud, we just include an image (which is stored in the resources/images) and a panel which reuses composite data defined in the custom control and set within the current XPage (this.viewName for this example). You can even use an XPage/custom control to design your "design definition" and copy/paste into the markup box.

<?xml version="1.0" encoding="UTF-8"?> 
<xp:view xmlns:xp="http://www.ibm.com/xsp/core"> 
<xp:image url="/ccTagCloud.gif"></xp:image> 
<xp:panel> 
tagCloud for <%=this.viewName %> 
</xp:panel> 
</xp:view>

expanded Article information
collapsed Article information
Category:
Designing Applications, Designing the User Experience, Designing XPage Applications,
Tags:
XPages, custom control, design definition

This Version: Version 3 November 3, 2009 7:03:40 PM by Deanna Drschiwiski  IBMer
   
expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (3)
collapsed Versions (3)
expanded Version Comparison
collapsed Version Comparison
     
Version Date Changed by               Summary of changes
This version (3) Nov 3, 2009 7:03:40 PM Deanna Drschiwiski  
2 Oct 29, 2009 1:44:39 PM Deanna Drschiwiski  
1 Oct 16, 2009 7:01:10 AM Steve Castledine  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Tip: When linking to articles use the original title, not the edited title. The alias for the link can be the edited title.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • Lotus Technical Information and Education Team Blog
  • Lotus Tech Info on Twitter
  • Lotus Tech Info on Facebook
  • Lotus product forums
  • Lotus Tech Info blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use
Return to English
Arabic
Chinese Simplified
Chinese Traditional
French
German
Italian
Japanese
Korean
Portuguese
Russian
Spanish