Package ch.ivyteam.ivy.jsf.bean.wf
Class WorkflowBean
- java.lang.Object
-
- ch.ivyteam.ivy.jsf.bean.wf.WorkflowBean
-
public class WorkflowBean extends Object
CancelBean for reset your current Task and redirection to a DefaultPage.- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
Method to cancel your Html Dialog.
-
-
-
Method Detail
-
cancel
public void cancel() throws IOException
Method to cancel your Html Dialog.
Example: <p:commandLink actionListener="#{ivyWorkflowView.cancel()}" 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:
cancel(String redirectPage)
- API:
- This public API is available in Java.
-
-