Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
9.4.5. Task lists
Several built-in Seam components make it easy to display task lists. The
pooledTaskInstanceList
is a list of pooled tasks that users may assign to themselves:
Note that instead of
<s:link>
, we can use a plain JSF <h:commandLink>
:
<h:commandLink action="#{pooledTask.assignToCurrentActor}"> <f:param name="taskId" value="#{task.id}"/> </h:commandLink>
<h:commandLink action="#{pooledTask.assignToCurrentActor}">
<f:param name="taskId" value="#{task.id}"/>
</h:commandLink>
The
pooledTask
component is a built-in component that simply assigns the task to the current user.
The
taskInstanceListForType
component includes tasks of a particular type that are assigned to the current user: