Creating a Text Provider Factory class
A text provider factory is used to provide multiple text providers that can be used within web content item forms. Text provider can be used to localize the field labels or help text within an authoring template so that each user sees the labels or help text in their own language. A text provider factory can make multiple such text providers available.
About this task
Procedure
What to do next
- Each plug-in is represented by a single <extension></extension> tag.
- The value of the point attribute must be com.ibm.workplace.wcm.api.TextProvider.
- Provide an id value of your choice.
- Specify the provider class for your plug-in.
Naming conventions:
If you create
a new plug-in application with the same names and IDs as an existing
plugin, the new plug-in may override the first. When creating plug-in
applications ensure that the following are unique across your system:
- The plug-in ID, plug-in name and extension ID of the plugin.xml file.
- The fully qualified class name plus path of all classes within the application.
- The file path of any files within the application.
Sorting conventions:
When sorting is applied to a set of items, the item title is used to sort the items, not the title specified in the text provider factory.