Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 15 12:10
    mfreeman-xtivia starred DominoKit/domino-ui
  • May 14 18:28
    vegegoku commented #58
  • May 14 18:27
    vegegoku milestoned #58
  • May 14 18:27
    vegegoku labeled #58
  • May 14 18:27
    vegegoku assigned #58
  • May 14 18:23
    vegegoku edited #59
  • May 14 17:19
    foal opened #59
  • May 14 17:14
  • May 14 17:05
    foal opened #58
  • May 13 08:58

    vegegoku on master

    Fix sample code about tree menu… (compare)

  • May 13 08:58
    vegegoku closed #20
  • May 13 08:58
    vegegoku closed #19
  • May 13 08:52
    stockiNail opened #20
  • May 13 08:37
    stockiNail opened #19
  • May 11 12:45
    NickGaens edited #653
  • May 11 12:44
    NickGaens edited #653
  • May 11 12:43
    NickGaens opened #653
  • May 11 12:37
    NickGaens starred DominoKit/domino-ui
Colin Alworth
@niloc132
it is hard to guess what you might have missed without seeing it
but if you edit another example (change the url pattern etc) you'll see that when it rebuilds it reflects that change
Ahmad K. Bawaneh
@vegegoku
@/all
Domino-ui 1.0.0-RC13 have been released with few enhancements and bug fixes, find out more here
https://github.com/DominoKit/domino-ui/releases/tag/1.0.0-RC13
Frank Hossfeld
@FrankHossfeld
:+1:
Ahmad K. Bawaneh
@vegegoku
@DavidWilla Why doing that when you can just follow tutorial and create an app using the cli, the demo is customized to make it easy for the us to add new components samples
DavidWilla
@DavidWilla
image.png
I like to create the same layout as the above like https://github.com/DominoKit/domino-ui-demo.
I thought the provided demo example is a good candidate so I copied it.
Ahmad K. Bawaneh
@vegegoku
it works if you study the code and knows how domino-mvp works
DavidWilla
@DavidWilla
I knew domino-mvp and domino-ui. I don't know why History.fireState("components/books") doesn't invoke BooksProxy
Ahmad K. Bawaneh
@vegegoku
As @niloc132 suggested, if you can share the code I cant help figuring it out
jhillbounce
@jhillbounce
Helping people getting started - for this tutorial method #4 - https://github.com/DominoKit/domino-ui/wiki/Getting-started I suggest a note be added that the dependencies for domino be added to the pom.xml for the client. (There are 4 pom.xml files created in most GWT starter projects - the pom.xml that should be edited is in *-client folder)
2 replies
DavidWilla
@DavidWilla
@vegegoku Can you provide a simplified version of demo with the same layout as https://demo.dominokit.org/home.
I like my application to have the same app layout as the demo.
DavidWilla
@DavidWilla
I do make some progress. But I am still struggling with why History.fireState doesn't invoke a right PresenterProxy. Can somebody provide me with good suggestions how to debug it?
DavidWilla
@DavidWilla
How do I trace the following code into Presenter
      CustomEvent tokenEvent = new CustomEvent("domino-history-event", tokenEventInit);
      DomGlobal.document.dispatchEvent(tokenEvent);
Ahmad K. Bawaneh
@vegegoku:matrix.org
[m]
For every proxy routing there is a task that is generated, the task registers the listener for the history token and guide the proxy through its life cycle
Colin Alworth
@niloc132
@DavidWilla dispatchEvent means that the CustomEvent will fire, you'll need to find the document.addEventListener("domino-history-event", ...) call - but perhaps it still makes sense to start with a smaller example, rather than taking a large app (designed for a demo) and modifying to fir your purposes?
DavidWilla
@DavidWilla
I downloaded https://github.com/DominoKit/bookstore. It doesn't work if I click one row or click "+".
DavidWilla
@DavidWilla
I use Chrome "Version 101.0.4951.54 (Official Build) (64-bit)"
I can get a list of books. But I got nothing if I click one row or click "+".
It used to work fine a month ago
DavidWilla
@DavidWilla
@vegegoku:matrix.org I tested the above example code again. It can display a list of books only. Can you take a look at it?
Ahmad K. Bawaneh
@vegegoku
It is the last day of our vacation and my wife the 2 girls are sick. I didnt even had the time login into my pc.
DavidWilla
@DavidWilla
@vegegoku I understand that is a reason you don't responde message in hours or even in minutes. Take care of them and have a good vacation. My request is not urgent. I do appreciate it.
Ahmad K. Bawaneh
@vegegoku
Fixed, the name was missing on the books list proxy
DavidWilla
@DavidWilla
It works fine. Thank you so much! Can you explain "@PresenterProxy(parent = "shell", name = "books")" and "@PresenterProxy(parent = "shell")"?
and @PresenterProxy
Ahmad K. Bawaneh
@vegegoku
This is one way to define dependency between presenters/views... the books list needs the shell to be already activated to show up so it says that its parent is the shell proxy and then it will wait until a presenter named shell to be activated and only then the books presenter will be activated
DavidWilla
@DavidWilla
How do you explain name="books" in @PresenterProxy(parent = "shell", name = "books")?
Frank Wynants
@FrankW76

Question about the LocalListScrollingDataSource

Currently we are using LocalListDataStore as the datastore for our datatables. But want to swap to the something with scroll loading.
Now we have noted that currently on the LocalListDataStore we do the following things

dataStore.setAutoSortDirection(dataTableSetting.getSortDirection());
dataStore.setAutoSortBy(dataTableSetting.getSortColumn());
dataStore.setAutoSort(true);

These autoSort methods do not exist in the LocalListScrollingDataSource.
Should it be easy for us to create a scrolling datasource based on LocalListScrollingDataSource with those autosort things added?
Or are these absent in the LocalListScrollingDataSource for a reason (for example : impossible to do due to .....)

Ahmad K. Bawaneh
@vegegoku
It is just not implemented
Stanislav Spiridonov
@foal
image.png
@vegegoku I have faced one issue with https://github.com/DominoKit/domino-jackson. After moving to Java 11/17 I realized that eclipse can't compile the project due to strange error - "ArrayList cannot be resolved to a type". After some investigation I found out that project domino-jackson-super contains UUID binary class that breaks the Eclipse.
Removing these files solves the problem. Is they necessary at all?
Stanislav Spiridonov
@foal
Marteijn Nouwens
@mnouwens
Hi, A question. What would be the best way to make au user to swithc language. On old app I would add locale=nl of locale=fr
Daniel Korbel
@masterdany88
Hi. How I can change input value without triggering event change handler
Frank Hossfeld
@FrankHossfeld
F. E.: textBox.value(value, true) should work.
Daniel Korbel
@masterdany88
there is basic form element
and has only
@Override
public void setValue(V value) {
value(value);
}
Frank Hossfeld
@FrankHossfeld
Use the value method.
Daniel Korbel
@masterdany88
value method triggers change handler action
Frank Hossfeld
@FrankHossfeld
You need to use the value with Two parameters! The second parameter controls weather the change handler is called or not.
Daniel Korbel
@masterdany88
no there is no such method, no such signature
Frank Hossfeld
@FrankHossfeld
For example the ValueBox-class implements the method:
  public T value(V value, boolean silent) {
    this.doSetValue(value);
    this.changeLabelFloating();
    this.autoValidate();
    if (!silent) {
      this.callChangeHandlers();
    }
    return this;
  }
All form elements that extend ValueBox will have the method as several other classes.