-
Notifications
You must be signed in to change notification settings - Fork 3
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
@PageTitle not working on vaadin-quarkus #67
Comments
I noted that running the project using |
It seems that in dev mode all beans are intercepted by Quarkus for monitoring, so this is why page title may work when running the production jar, but not in dev mode. Maybe instead of making |
According to vaadin/flow#2590:
Somehow similar case but with |
Side note: Since this doesn't seem to be fixed any time soon, it should get a note in the "known Issues" section: https://vaadin.com/docs/latest/integrations/quarkus/#quarkus.vaadin.knownissues |
@ErrorProne thanks for pointing out. This should definitely be documented until we can have it properly fixed. |
The @PageTitle annotation is looked up on the route target class by Vaadin
However, when using Quarkus the route target is a proxy subclass.
Since the @PageTitle annotation is not inherited, the annotation is not found.
I was able to fix the issue by overriding the Vaadin @PageTitle annotation and adding @inherited
The text was updated successfully, but these errors were encountered: