The display attribute contains information that relates to the context in which the view is being processed. Most of the attributes are valid only during interactive form processing.
The following table shows the most used display view attributes.
Table 3–14 Most Used display Attributes (User VIew)
Attribute |
Description |
---|---|
eventType |
Indicates whether the user view is servicing a create or update request, as indicated by the values create or update (read-only). |
session |
A handle to an authenticated Waveset session. This attribute is valid only during interactive editing session in the Waveset Administrator Interface. It is provided as an access point into the Waveset repository. The value of this attribute can be passed to methods in the com.waveset.ui.FormUtil class. The display.session attribute is not valid in the following cases where form processing may occur: in the bulk loader during background reprovisioning in unsynchronized actions or approvals Best practices suggest using this attribute only within a Property or Constraints element. In almost all existing forms, display.session is used only in Constraints elements. |
subject |
An object holding information about the credentials of an Waveset user or administrator. This value is set in almost all cases, but is typically used in workflow applications called during background activities where the display.session is no longer valid. The subject can be used to get a new session. In this case, it is used for gaining access to the repository. |
state |
A handle to a _com.waveset.ui.util.RequestState_ object that in turn contains handles to objects related to the HTTP request such as the _javax.servlet.http.HttpSession_. |
Typically, only wizard itemTypes cause a workflow to transition directly to a WorkItem if the requester is the owner of the workItem.
When itemType is set as follows, the workflow will not transition into a WorkItem, but will instead appear under the Approval tab:
approval
custom
itemType
You can override behavior in the User view by setting the allowedWorkItemTransitions option as a property of the form as follows:
<Form ......> <Properties> <Property name=’allowedWorkItemTransitions’> <list> <s>myCustomType</s> </list> < /Property> </Properties> |