How To Reset Region Task Flow in Popup

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

1- In Task Flow Definitions: Define an input parameter :

name : refreshFlag

java.lang.String

#{sessionScope.refreshFlag}

2- Put the task flow in a popup:

Popup Content Delivery : Immediate

Task Flow Binding:

Refresh: IfNeeded

Define a task flow binding parameter (automatically defined): with the value of :
#{sessionScope.refreshFlag}

3- The button invoking the popup:

public void passwordResetAction(ActionEvent actionEvent) {

ADFUtil2.setEL("#{sessionScope.refreshFlag}" , getRefreshToken());

System.out.println(ADFUtil2.evaluateEL("#{sessionScope.refreshFlag}" ));

RichClientUtils.getInstance().showPopup(getResetPasswordPopup(), null);

}
private String refreshToken;

public String getRefreshToken(){

return String.valueOf(System.currentTimeMillis());

There are several ways to make the taskflow ‘restart’. One is


by passing in a different value for at least one of the input
parameters (provided the refresh property of the taskflow
binding in the pageDef has been set to ifNeeded or a
refreshCondition expresion has been set and evaluates to
true.

You might also like