Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • WebSphere Portal Family wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 6.0
  • 6.1
  • 6.1.0.1
  • 6.1.5
  • 7.0
  • 7.0.0.2
  • 8.0
  • actions
  • administrator
  • authoring
  • Banking template
  • best practices
  • blogs
  • builder
  • building a site
  • caching
  • catalog
  • Clickstream Engine
  • clusters
  • ConfigEngine tasks
  • content
  • customizing
  • databases
  • demo
  • deployment
  • deployment scenario
  • developer
  • developing
  • device class
  • elements
  • examples
  • Express
  • feature set
  • fix pack 2
  • Government to Business template
  • info center
  • information center
  • installation
  • installing
  • LDAP
  • Learning
  • libraries
  • LikeMinds Recommendation Engines
  • logging
  • mentors
  • message catalog
  • messages
  • migration
  • mobile
  • mobile devices
  • mobile experience
  • mobile experience 8.0
  • mobile theme
  • mobile webkit
  • MPA
  • multiplatform
  • pages
  • performance
  • personalization
  • planning
  • portal
  • Portal 6.1
  • Portal 8 theme
  • portlets
  • product doc
  • product documentation
  • projects
  • properties
  • Redbooks
  • Redbooks Wiki
  • remember me cookie
  • resources
  • REST
  • Retail Vendor template
  • rules
  • samples
  • search
  • security
  • sifters
  • sites
  • solutions catalog
  • syndication
  • test infrastructure
  • theme
  • theme optimization
  • topologies
  • troubleshooting
  • tutorials on personalization
  • video
  • wcm
  • web content
  • webkit
  • WebSphere Portal
  • WebSphere Portlet Factory
  • wikis
  • workflows
  • worksheet
  • XML configuration interface
  • z/os
  • zos
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 > IBM Redbooks: Building a Web site using Lotus Web Content Management 6.1 > 3.1.7 Key Lotus Web Content Management definitions - Other Components
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

3.1.7 Key Lotus Web Content Management definitions - Other Components 

expanded Abstract
collapsed Abstract
No abstract provided.
Untitled Document

Table of contents | Next | Previous

Key Lotus Web Content Management definitions - Other components

This article describes the following components within Lotus Web Content Management. All examples are based on the River Bend Tea and Coffee Company Web site.

  • Text Component
  • Rich Text Component
  • File Resource Component
  • HTML Component
  • Image Resource Component
  • JSP Component
  • Taxonomy Component
  • User Name Component
  • Authoring Tools Component
  • Link Component
  • Page Navigation Component
  • Stylesheet Component

Text component

You can use text components to store text or HTML as reusable text modules. For the River Bend Web site, you can create text components to describe standardized processes for coffee and tea production, such as roasting or picking. (Tea picking is different from coffee picking.) You can use the text components as standard text blocks in the Coffee and Tea product description pages.

Rich Text component

The Rich Text component is very similar to the text component. However, Rich Text components can reference one or more components using tags and also provide a Rich Text editor for formatting text and HTML. You can use a Rich Text component on the River Bend Web site on the Coffee and Tea product pages to provide a standardized form for rating the products. The Rich Text component references the form and its components (design, buttons, and so forth).

File resource component

File resources are components that provide a central repository for files, images, stylesheets, and so forth. Authors and site designers can reference the file resources. The River Bend Three Column Table presentation template references the Riverbend.css stylesheet as a file resource component as shown in the following example:

	<link rel="stylesheet" href='<Component 
name="Riverbend.css"/>'> 

Another example of a file resource component is graphics that are used to polish the River Bend Web site. The navigators do not use any symbols (such as arrows) to indicate activated sections. You could store a graphic as a file resource to serve as indicator for an activated selection.

HTML component

You can use an HTML component for almost any purpose. An HTML component contains HTML code and often references items, content fields, and components. The River Bend Web site uses the following HTML components:

The navigator on the left side, NAV-Left, displays its elements in alternating designs. Activated elements appear in bold layout, while other elements use the default layout.

The bold layout uses the HTML-Layout-Main Nav Bold component:

	<a href='<Placeholder tag="href"/>' >
	<b><IDCmpnt context="autoFill" 
type="sitearea" field="title"/></b>
	</a><br>

The default layout uses the HTML-Layout-Main Nav Plain component:

	<a class="norm" href="<Placeholder 
tag="href"/>"><IDCmpnt context="autoFill" 
type="sitearea" field="title"/></a>

Figure 23 shows the result of applying these layouts. 

Figure 23 Navigator element defined in different HTML components (31_23)

 This HTML component can be used across the web site.

Image component

You can insert images that are used throughout the Web site directly into image components fields in the authoring templates. In this case, the author has the option to define the size of the image, which might or might not fit the overall design. Defining images as image resources provides identical images for re-usage.

The River Bend Web site uses eleven image components as consistent design elements in the presentation templates. These are the home page logo, the inside logo, news home page image, food home page image, beverages home page image, company home page image, the brown line separator, and background image

The images are re-used in the different components and presentation templates.

JSP component

JSP components store the path to a JSP and the content of a field for an error message in case the JSP is not available. An extended discussion on JSP in combination with the API is found in section 4.3.1

Taxonomy component

Taxonomy components relate often to personalization where lists of categories are presented to the user to select categories of interest. Alternatively, you can use the taxonomy component to display categories for navigation instead of site areas. However, be aware that this option works only for authenticated users.

If your site requires this option for anonymous users as well, the implementation is more complex. In this case, you need to create a JSP for an imaginary user for which the component is displayed.

The taxonomy component displays a list of categories, starting with the selected start area (in this case, a category), and displaying the depth according to the Depth field. You can define further selection criteria by using a Profile Search Rule.

You can use the remaining fields to format the displayed categories with a header and footer. The Unselected Components and Selected Component fields contain special layout for selecting categories, which could be checkboxes.

User name component

You use user name components to display components for anonymous users or authenticated users and to create different design experiences based on user names. The logic for a user name component is as follows:

If an anonymous user is using the site, then it displays the Anonymous User Design, or else the User Component Design, where Anonymous User Design and User Component Design are the fields that are available in the component form. These fields contain designs that are based on HTML code or component references.

A good example for a user name component is a welcome message on a Web site's home page for an authenticated user. The anonymous user does not see a welcome message.

Authoring Tools component

WCM allows site designers to add direct access to some authoring functions inside the rendered web pages to:

  • Create new content items
  • Perform inline editing of the content item displayed in a Web page.
  • Delete the content item displayed in a Web page.
  • Approve or reject the current content being previewed. These are only visible to approvers who open a draft content item from a URL sent by an email workflow action used in a workflow stage.

The River Bend Web site uses the authoring tool component for the "Edit" and "New" functionality, see Figure 24

Figure 24 Authoring tool in the coffee site area

For more details on Authoring tool refer to section 4.1.1 In-line editing

Link component

A link component stores a link to a web content management item or to an external web site.

In the River Bend web site, a link to the home page is created. See Figure 25

Figure 25 Link component in the General Presentation template (31_25)

The link component links to an already existing item which is the site area Home. By clicking on that link, it gets the user back to the home page.

Page Navigation Component

The page navigator provides the control to navigate between a set of pages created as a result of a menu component, search component or a navigator component.

A page navigation component provides the following options:

  • Shuttle control related to current page. For example, next page, previous page, go last, and go first
  • Paging control. Showing an index for all the available pages or a continuation link for the pages
  • Jump to page, displaying a text box, where the user can enter the page number if known beforehand

Refer to Figure 26 for the available options for the page navigation component and the result in Figure 27

Figure 26 Page Navigation Options (31_26)

The following html could be added to the footer to display the current page number and the total number of the pages.

Ex: Page 2 of 10

	Page <PageInfo value="currentPage"/> of <PageInfo 
value="unknownPages" knowntext="" 
unknowntext=""/> <PageInfo value="totalPages"/>

Refer to 3.2.7.6-creating-the-page- navigation-component for a complete example of the page navigation

Figure 27 Page navigation controls

Style sheet Component

The style-sheet component is used to store a cascading style-sheet file. Style sheet components can not be referenced in authoring templates, sites, site areas or contents See 3.2.8-using-stylesheets for more information on using Style Sheet components in WCM.


expanded Article information
collapsed Article information
Category:
IBM Redbooks: Building a Web site using Lotus Web Content Management 6.1
Tags:
wcm

This Version: Version 10 October 21, 2009 5:23:25 PM by Amanda J Bauman  IBMer

expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (4)
collapsed Versions (4)
Version Comparison     
Version Date Changed by               Summary of changes
This version (10) Oct 21, 2009 5:23:25 PM Amanda J Bauman  
9 Oct 21, 2009 5:21:30 PM Amanda J Bauman  
7 Oct 19, 2008 9:07:28 PM John Bergland  
2 Oct 16, 2008 10:56:01 PM John Bergland  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX 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