The Common Task component is typically a link to a Visual Web JSF page in your application where a user can perform a task. It can be added to a Common Tasks Section or grouped with other like tasks in a Common Tasks Group.
Each Common Task is an action that users might typically perform in the web application. Putting the task in a Common Tasks section, optionally grouped with other, similar tasks, provides a single area where users can perform the main actions in the web application. Tasks can be used for a number of purposes, such as:
Minimally, a Common Task would be some text that links to a page or starts a task in your application. You set it up by setting properties in the Common Task Properties Window.
For the basic configuration, you can display text by setting the text
property, and you can specify a page to navigate to by using the action
property or by using one of the client side JavaScript attributes such as onClick
. A link that displays the specified text
value is created to invoke the action.
You can provide information about the task that the user can access by clicking an information icon, which opens an information box below the task. If you set one or both of the infoText
and infoTitle
properties, the information icon appears automatically, and the contents of the two properties appear in the information box. If there is more information about the task that might be too much to put in the information box, you can specify the infoLinkText
and infoLinkUrl
properties and display a link to the additional information at the bottom of the information box.
You can display a graphic image in front of the task by using the icon
attribute to specify a theme image key. For example, the key CTS_OVERVIEW
generates an image intended to designate overview information about the task. You can also use the imageUrl
attribute to specify the path to an image.