Package ch.ivyteam.ivy.jsf.bean.wf
Class WorkflowBean
java.lang.Object
ch.ivyteam.ivy.jsf.bean.wf.WorkflowBean
CancelBean for reset your current Task and redirection to a DefaultPage.
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
Method to cancel your Html Dialog.void
Method to cancel your Html Dialog with a specific redirect page.void
Resets the current task and redirects the user to the application home.
-
Method Details
-
cancel
Method to cancel your Html Dialog.
Example: <p:commandLink actionListener="#{ivyWorkflowView.cancel()}" process="@this" value="Cancel" />
You will be redirected to the DefaultApplicationHomePage if your task is not persistent, otherwise you will be redirected to the DefaultTaskListPage. The current task will be reseted.- Throws:
IOException
- See Also:
- API:
- This public API is available in Java.
-
cancelToHome
Resets the current task and redirects the user to the application home.
Example: <p:commandLink actionListener="#{ivyWorkflowView.cancelToHome()}" process="@this" value="Cancel" />- Throws:
IOException
- See Also:
- API:
- This public API is available in Java.
-
cancelTo
Method to cancel your Html Dialog with a specific redirect page.
Example: <p:commandButton actionListener="#{ivyWorkflowView.cancel(ivy.html.processStartListRef())}" process="@this" value="Cancel" />
You will be redirected to the given URL. The current task will be reseted.- Parameters:
redirectPage
- page to redirect to- Throws:
IOException
- See Also:
- API:
- This public API is available in Java.
-