I'm trying to forward action result to another action with dynamic parameter. The passed parameter to second action has "" value.
@Result(name = "success",
location = "edit_service_subscribers",
type = "redirect",
params = {"selectedServiceId", "%{serviceId}"}
)
I declared private String serviceId; with getter and setter in first action,
and private String selectedServiceId; with getter and setter in second action.
Problem is with filling the value of parameter. But where?
How can I pass value of global variable in action class to redirected parameter?