gwtboot / gwt-boot-samples

GWT Boot: Samples to check all the Starters
Apache License 2.0
40 stars 23 forks source link

Upgrade GWT Boot to JDK 11, GWT 2.9 and all other up-to-date libraries #11

Closed lofidewanto closed 4 years ago

lofidewanto commented 4 years ago

... and all the examples should work properly with the new versions.

lofidewanto commented 4 years ago

All examples are working well, except the newest version of DominoUI:

This happens on both examples of DominoUI:

They have the same look and feel problems, see file attachment:

Bildschirmfoto 2020-07-19 um 14 45 42 Bildschirmfoto 2020-07-19 um 14 48 44

@vegegoku: Could you please take a look at this L&F problem? Thanks a lot!

See also: https://gitter.im/DominoKit/domino

lofidewanto commented 4 years ago

Update to elemento-core 1.0.1, it uses Java 8 for backward compatibility. See: https://github.com/hal/elemento/issues/83

lofidewanto commented 4 years ago

All examples updated as this GWT Boot modules: https://github.com/gwtboot/gwt-boot-modules/issues/13

lofidewanto commented 4 years ago

A design problem in the example DominoUI with Dagger2:

todoItemsListGroup: https://github.com/gwtboot/gwt-boot-samples/blob/master/gwt-boot-sample-ui-domino-dagger2/src/main/java/com/github/gwtboot/sample/ui/domino/client/ui/HelloWorldView.java

Is there any way to take out: .addClickListener(evt -> complete(listItem.getValue()))

from the .setItemRenderer((listGroup, listItem) -> { ...

In the example with Dagger2 I need to separate the "UI layout" from the "View Logic" therefore I need to add the "addClickListener(...)" later in my view logic.

In: doneItemsListGroup:

I could take it out because it doesn't add any Listener... See: https://github.com/gwtboot/gwt-boot-samples/blob/master/gwt-boot-sample-ui-domino-dagger2/src/main/java/com/github/gwtboot/sample/ui/domino/client/ui/HelloWorldUiBinder.java

.... how could I get the "listItem.getValue" from outside the .setItemRenderer((listGroup, listItem) -> { ... ? ... or get the actual listItem from the todoItemsListGroup...?

lofidewanto commented 4 years ago

Check and done!