We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I don't know if this is even possible but it would be nice to have support for Springs RedirectAttributes when using
RedirectAttributes
return HtmxResponse.builder() .redirect("/my-resource/1") .build();
The text was updated successfully, but these errors were encountered:
What do you want to make possible that is not possible now?
Sorry, something went wrong.
I'd like to have a replacement for
@GetMapping("/test") public String testRedirect(RedirectAttributes redirAttrs) { redirAttrs.addFlashAttribute("success", "an example message"); return "redirect:/"; }
but with a HtmxResponse:
HtmxResponse
@HxRequest @GetMapping("/test") public HtmxResponse testRedirectHx(RedirectAttributes redirAttrs) { redirAttrs.addFlashAttribute("success", "an example message"); return HtmxResponse.builder() .redirect("/") .build(); }
No branches or pull requests
I don't know if this is even possible but it would be nice to have support for Springs
RedirectAttributes
when usingThe text was updated successfully, but these errors were encountered: