Flowui, get full URL incl. params from anonymous view

Hi,

I need to get all parameters from the URL which is used to call a view.
The view class is set to @AnonymousAllowed
URL: http://localhost:8080/tourLists?name=paramvalue
It works fine, I can access the view without login and see the wanted content.

In onBeforeShow I want to read the passed parameters from the URL.
Whatever I try, the result looks like:
http://localhost:8080/?v-r=uidl&v-uiId=7

Would be great to get a tip where to look at.
What I need is: name=paramvalue
param: name
value: paramValue

KR
Roland

found the solution in the forum:
got it… I also had to add @AnonymousAllowed

@AnonymousAllowed
@Subscribe
public void onQueryParametersChange(final QueryParametersChangeEvent event) {
List messageParams = event.getQueryParameters().getParameters().get(“name”);
if (messageParams != null && !messageParams.isEmpty())
System.out.println("params: " + messageParams.get(0));
}

works fine…

no, it only works when I first login once… even when I logout then it works fine …
but starting a new browser session without any login/logout, it does not work

so, still looking for a solution

there was a typo :frowning:
solution described above works fine now