I have a vanilla FLowUI view:
@Route(value = “DayView”, layout = MainView.class)
@ViewController(“DayView”)
@ViewDescriptor(“day-view.xml”)
public class DayView extends StandardView {
@ViewComponent
private Div balanceDivId;
@Autowired
private DataManager dataManager;
@ViewComponent
private HorizontalLayout todoInstanceBox1Id;
@ViewComponent
private VerticalLayout mainVboxId;
@Autowired
private ViewNavigators viewNavigators;
}
When I try to navigate to the same or another view (actual goal is to force a complete
rebuild of the view) like this:
viewNavigators.view(DayView.class).navigate();
I get these errors:
2023-06-22 03:23:22.000 WARN 39356 — [undTask-0-admin] i.j.s.access.FlowuiViewAccessChecker : Preventing navigation to com.softwaretruth.todos.view.day.DayView because no HTTP request is available for checking access.
2023-06-22 03:23:22.002 WARN 39356 — [undTask-0-admin] i.j.s.access.FlowuiViewAccessChecker : Preventing navigation to com.vaadin.flow.router.RouteNotFoundError because no HTTP request is available for checking access.