Back Forum Reply New

Post method for external redirect

Is there a way to achieve an external redirect with a post method ?

view=quot;externalRedirect:...quot; : this is a get

how can I achieve a Post ?
Should it be done exclusively
with a custom redirect selector ? Like

view=quot;bean:MyCustomRedirectSelectorquot;  That bean would achieve the redirection and force the use of post method ?

I am not 100% sure what you are trying to do, but one approach is to set alwaysRedirectOnPause to true, for exampleCode:
lt;flow:executor id=quot;flowExecutorquot; registry-ref=quot;flowRegistryquot; repository-type=quot;continuationquot;gt;
lt;flow:execution-attributesgt;
lt;flow:alwaysRedirectOnPause value=quot;truequot;/gt;
lt;/flow:execution-attributesgt;
lt;/flow:executorgt;I am not 100% sure what you are trying to do, but one approach is to set alwaysRedirectOnPause to true, for example

Isn't it true by default? And I didn't understand how it will solve the problem of sending post data with the redirect?

I thought setting requestScope or flashScope variables would provide request parameters with the same names, but it doesn't seem to be so. Any insights?

Do you have the solution for this yet?

I am also needing to implement a post method on the external redirect, any solutions?

Did you ever find a way to redirect a post?
¥
Back Forum Reply New