-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow redirect via Annotation on action #1554
Comments
Will this also be applicable to void methods e.g.
|
I rather see it only apply to void methods and then taking an argument |
We could even allow both, see my updated example. |
I think this is great if it also allows external URLs. Old
New (just match
And EL expressions. Old
New
|
will prototype this in MF as next task |
What should we do with forward? |
I'd rather not implement/advocate a "forward" for now. It only encourages poor practices. |
Created a el-spec feature request, which would make this feature really easy to implement: jakartaee/expression-language#154 |
I currently think about something like that:
which could be easily accessed in ActionListenerImpl |
EL feature is implemented now, i will do a prototype in MF next week |
@BalusC @arjantijms i have propably some time to work on it. Would you like to see it? im sure its only a small change, similar to my CDI bridges |
@tandraschko sounds good! Sure would like to see it. |
Currently the return value of the action triggers a navigation
to force a redirect, we have to add a string param:
Wouldnt it be nice if we allow:
and
The text was updated successfully, but these errors were encountered: