Martin Vysny

Results 361 comments of Martin Vysny

Workaround: ``` $(DialogElement.class).all().stream() .filter(it -> caption.equals(it.getPropertyString("headerTitle"))) .findFirst() .orElseThrow(() -> new java.util.NoSuchElementException("No Dialog with header title " + caption)); ```

Better workaround: ```java public class TestBenchUtils { private static String getTagName(Class elementClass) { Element annotation = elementClass.getAnnotation(Element.class); if (annotation == null) { return "*"; } return annotation.value(); } public static...

Workaround: use JDBC: ```kotlin fun main() { val database = Database.connect("jdbc:h2:mem:test;DB_CLOSE_DELAY=-1", user = "root", password = "***") database.useTransaction { it.connection.prepareStatement("""create table t_employee( id int not null primary key auto_increment, name...

`listBox.getElement().setProperty("label", "foo")` doesn't seem to work, so the only workaround is to wrap the ListBox in a CustomField.

Hi, which database is it, Postgres?

Thanks for confirming. vok-orm doesn't support quoted selects at the moment and this needs to be added as a feature to jdbi-orm. Could you please open a feature request at...

Thanks @simasch . There are the following arguments against doing that: * Vaadin 8 uses `javax` APIs while Spring Boot 3+ uses `jakarta` APIs. * There's Vaadin 8 build which...

> Hm... the only issue is that javax package was replaced by jakarta, I thought it would be very simple task. True, that indeed is; it could be as simple...

Interesting. Say we have this testing app: ```java @Route("") public class MainView extends VerticalLayout { public MainView() { Button button = new Button("Say hello", e -> UI.getCurrent().navigate("second/%25CHARS")); add(button); } }...

At the moment the text is retrieved recursively and that's pretty much set in stone. Perhaps I could add a config option for Karibu Testing to return the full template...