I’m upgrading a Vaadin 6.8 application to 7. This is the first step, where I just want to get things working, which is what might explain this slightly strange question.
I have a @PreserveOnRefresh which is used as follows:
- User opens UI and, at some point, clicks on a buy button
- User is redirected to PayPal for payment
- After payment, the user is redirect back to the same initial UI, but with query parameters added
- A Window is added to the UI to show the result of the transaction
In 6.8, I used a ParameterHandler to handle the query parameters and update the UI if everything went well.
What would be the way to do this in Vaadin 7?
I’ve already tried to do this with a RequestHandler, but I can’t get the last step (update the UI) to work correctly.