Layouting Text with ClickListeners


I need to layout a bit longer text, which will include some “pseudo links”. When a user clicks on such a “pseudo link” a vaadin popup should be opend.

Is there a component for this, or do I just take a layout and add Labels and Buttons?

Best wishes


Sounds like labels and buttons/links will be your best bet.

That being said, if the text changes dynamically or there are some special cases like long link texts, it might not necessarily be easy to make the text flow nicely with labels and buttons. On a normal HTML page this wouldn’t be an issue, since the browser handles the text flow inside a (say) paragraph. I haven’t seen an add-on that does what you describe, but it sounds it wouldn’t be too hard to implement - depending on the exact requirements of course.