Skip to content
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

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

Closed
lofidewanto opened this issue Jul 19, 2020 · 5 comments
Closed

Comments

@lofidewanto
Copy link
Contributor

lofidewanto commented Jul 19, 2020

  • JDK 11
  • GWT 2.9
  • Elemento 1.0.0
  • Dagger2

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

@lofidewanto
Copy link
Contributor Author

lofidewanto commented Jul 19, 2020

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
Copy link
Contributor Author

lofidewanto commented Jul 22, 2020

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

@lofidewanto
Copy link
Contributor Author

All examples updated as this GWT Boot modules: gwtboot/gwt-boot-modules#13

@lofidewanto
Copy link
Contributor Author

lofidewanto commented Jul 22, 2020

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
Copy link
Contributor Author

Check and done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant