Dashboard > blojsom 3.0 > ... > Plugins > String Utilities Plugin
  blojsom 3.0 Log In   View a printable version of the current page.  
  String Utilities Plugin
Added by David Czarnecki, last edited by David Czarnecki on Jul 10, 2007
Labels: 
(None)

Description

Adds an object to the context which is available from your templates with various methods for operating on string data.

Availabilty

Available as of blojsom 2.29.

Installation and Setup

In your /WEB-INF/classes/blojsom-plugins.xml file, add the following:

<bean id="string-utilities" class="org.blojsom.plugin.common.StringUtilitiesPlugin" init-method="init"
          destroy-method="destroy"/>

You may then add "string-utilities" to one of the flavor-based plugin chains.

Context Attributes and Types

The following table describes the context attributes that are available and their associated type.

Context key Input or Output Type Description
BLOJSOM_PLUGIN_STRING_UTILITIES Input org.blojsom.plugin.common.StringUtilities Various methods on this object exist to operate on string data.

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators