Hey Alejandro!!! can u help me please? again about navigator... if i have something like that: for (Category category : categories) { categoriesMenu.addItem(category.getDescription().toUpperCase(), null, new MenuBar.Command() { @Override public void menuSelected(MenuBar.MenuItem selectedItem) { showAllProducts(category.getDescription()); } }); // i want send category.getDescription to navigate, its string , like example PIZZA... and in navigate page i have method showAllProducts(String desc){ products = productService.productResponseToObjects(responseService.getRespond( url.FIND_BY_DESCRIPTION + desc)); } how i can do that not in same page? but in navigate page? thanks for answer!
@Cashbeee6 жыл бұрын
Great video, as always! keep it up :) One question though: wouldn't it be better/easier to read/scope-irrelevant if you used `binder.addValueChangeListener(e -> binder.setBean(binder.getBean()));` instead of `binder.addValueChangeListener(e -> binder.setBean(person));` ? Does my version have any drawbacks?