Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • IBM Web Experience Factory wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category Web Experience Factory 8 Documentation WebSphere Portlet Factory 7 Documentation WebSphere Portlet Factory 7.0.1 Documentation Custom Search Scope...
Search
Community Articles > Samples and techniques > Custom Builder for Tagcloud
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Axel Sass
Contribution Summary:
  • Articles authored: 1
  • Articles edited: 1
  • Comments Posted: 0

Recent articles by this author

Custom Builder for Tagcloud

What it does: This builder creates a Tagcloud coming from an xml structure. How to use this builder: Here is a screenshot of the builder at design time: Input Definitions Entry fields Content Name Name of the builder Page Location Page location where tag cloud should be displayed ...

Community articleCustom Builder for Tagcloud

Added by Axel Sass | Edited by IBM contributor Axel Sass on August 6, 2009 | Version 5
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: Code samples, Custom builder, CustomBuilder, Tagcloud
What it does:
This builder creates a Tagcloud coming from an xml structure.

How to use this builder:

Here is a screenshot of the builder at design time:




Input Definitions
Entry fields Content
Name Name of the builder
Page Location Page location where tag cloud should be displayed
Color of Maximum Value Hex value of color for maximal value. For example #000000 for black
Color of Minimum Value Hex value of color for minimal value. For example #aaaaaa for light grey
Relative minimal Font size Relative Font size of the minimal value displayed in the cloud. Enter a percent value without the percent sign.
Relative maximal Font size Relative Font size of the maximal value displayed in the cloud. Enter a percent value without the percent sign.
Width of displayed cloud Width of the coud in pixel. For example 200.
Heigth of displayed cloud Approximate heigth of the cloud in pixel. The height itself will be calculatetd with a best effort during generation.
Element variable with tags Variable of the element which holds the tags. For example Variables/myvar/rows/row/tagname.
Element variable with weigth Variable of the element which holds the tags. For example Variables/myvar/rows/row/weigth.
Minimal weight to display Minimal weight a tag should have before it is displayed in percent. for example 40
Action for selected link Action which should be called when clicking on a link.






Remarks:
  • Element variable with tags needs to be an element and not an attribute.
  • Element variable with weigth needs to be sibling of the Tag variable.
  • Element variable with tags / with weigth : Here the variable needs to be entered without the ${ in front and } at the end. You can enter a indirect value here. but the result needs to be a name of a variable which can be found in the webApp. for example you can enter Variables/myvar/rows/row/${columnname}. In this case case columnname should be a string variable which holds the name of the column.
  • Action needs to be set. Can be an empty action wich points back to the page.

Attached you find the builder itself and a TagCloud widget which uses the builder.
expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (4)
collapsed Versions (4)
Version Comparison     
VersionDateChanged by              Summary of changes
6Dec 22, 2009 10:11:31 AMRob Flynn  IBM contributor
This version (5)Aug 6, 2009 9:29:49 AMAxel Sass  IBM contributor
4May 19, 2010 12:50:29 PMJonathan Booth  IBM contributor
3Aug 6, 2009 6:06:53 AMAxel Sass  IBM contributor
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • BlogsIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use