Skip to content
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 specifying query parameters when forwarding or rerouting #7680

Closed
Tracked by #4379
OlliTietavainenVaadin opened this issue Feb 26, 2020 · 3 comments
Closed
Tracked by #4379

Comments

@OlliTietavainenVaadin
Copy link
Member

V14.1.17
Currently, when you use rerouteTo or forwardTo, original query parameters should be retained. However, in some cases it would be useful to be able to provide a custom set of query parameters when rerouting or forwarding; e.g. after logging in, in a beforeEnter listener.

@knoobie
Copy link
Contributor

knoobie commented Dec 20, 2021

Workaround by @TatuLund from discord discussion:

Currently the workaround is to use afterNavigation, and ui.navigate ... Here is an example https://github.com/TatuLund/devday-demo-flow/blob/master/src/main/java/com/vaadin/devday/demo/views/LoginView.java#L80 In this use case I am using ui.navigate without any parameters, since I do not want them to be shown.

@mshabarov
Copy link
Contributor

Should be re-checked agains #17407, this might have been already addressed there.

@caalador
Copy link
Contributor

caalador commented Oct 4, 2023

In combination with #17659 I would say the feature is fully addressed.

OLD Vaadin Flow ongoing work (Vaadin 10+) automation moved this from Product backlog to Done - pending release Oct 6, 2023
Vaadin Flow enhancements backlog (Vaadin 10+) automation moved this from Needs Design to Done / Pending Release Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
OLD Vaadin Flow ongoing work (Vaadin ...
  
Done - pending release
Vaadin Flow enhancements backlog (Vaa...
  
Done / Pending Release
Development

No branches or pull requests

5 participants