Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

107
Visualizações
Do a hard location change when clicking on a link in Vaadin

When I click on a link in my vaadin application it gets intercepted by the router and only the components get changed, no page reload is done.

But as descripted in the vaadin docs it should only happen when you add the "router-link" HTML-Attribute. https://vaadin.com/docs/latest/routing/navigation#using-standard-links

Since when has this changed? And how can I prevent this?

My first idea was to add a click listener that stops the event bubbling and does a "window.location=". But I wonder if there is a more straightforward way to achieve this or a config option that I'm missing.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

As descripted by @Knoobie in https://stackoverflow.com/a/72728856/16651073

When you add the "router-ignore" attribute to an anchor. It will do a page reload on click.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda