Calling a view Activity dynamically in Task Flow.
1. to call view 2 from from view if action out come comes yes then view reflects other wise view1.
2 From Outcome of Command links are yes & no.
3 set a method in a bean on Action of view1(.jsff or .jspx page) whose return type is String and return yes or no on the business condition & accordingly screen reflects to the user.
public String actionmethod() {
// Add event code here...
if(a==b){
return "yes";
}else
return "no";
}
1. to call view 2 from from view if action out come comes yes then view reflects other wise view1.
2 From Outcome of Command links are yes & no.
3 set a method in a bean on Action of view1(.jsff or .jspx page) whose return type is String and return yes or no on the business condition & accordingly screen reflects to the user.
public String actionmethod() {
// Add event code here...
if(a==b){
return "yes";
}else
return "no";
}