Questions tagged [vaadin24]
49 questions
                    
                    2
                    
            votes
                
                0 answers
            
        Asynchronous requests sometimes fail because the RequestFacade is recycled
I have the following view, which loads its data asynchronously:
@Route(value = NewsAdminView.ROUTE)
@RequiredArgsConstructor
public class NewsAdminView extends VerticalLayout {
    public static final String ROUTE = "";
    private final Grid… 
        
        Sebastian Lütge
        
- 45
 - 4
 
                    2
                    
            votes
                
                1 answer
            
        Vaadin 24 export component to embed into another HTML page
In my Vaadin Flow 24 application, I have a view:
@Route(value = "embedded/jobables/recent")
@AnonymousAllowed
public class RecentJobablesEmbeddedView extends VerticalLayout implements HasUrlParameter {
...
}
which is also component(extended… 
        
        alexanoid
        
- 24,051
 - 54
 - 210
 - 410
 
                    1
                    
            vote
                
                0 answers
            
        TwinColselect.setItem is taking too much time
In vaadin 24 , i am facing one issue related to rendering of page is slow due to Twincolselect.setItems , where i have only 900 records to set .
but it was much faster in 23 version .
I tried to set it with asynchronous call ,where page is getting…
        
        shweta singh
        
- 11
 - 2
 
                    1
                    
            vote
                
                1 answer
            
        Vaadin show ProgressBar, then XHR then hide progress bar
Right now I use PUSH in order to asynchronously update my Vaadin UI.
I use the following code pattern:
ProgressBar progressBar = new ProgressBar();
progressBar.setIndeterminate(true);
add(progressBar);
var ui =…
        
        alexanoid
        
- 24,051
 - 54
 - 210
 - 410
 
                    1
                    
            vote
                
                1 answer
            
        Changes during UI.access() are not pushed during Unit Test
I have the following view class:
@Route(value = NewsAdminView.ROUTE)
@RequiredArgsConstructor
public class NewsAdminView extends VerticalLayout {
    public static final String ROUTE = "";
    private final NewsService service;
    final Grid… 
        
        Sebastian Lütge
        
- 45
 - 4
 
                    1
                    
            vote
                
                0 answers
            
        Vaadin 24.04 logging Broadcaster messages repeatedly
I just upgraded my Vaadin app from 23.x to 24.x and and correspondingly upgraded my runtime environment with Tomcat 10.1.8.
I'm using @Push(PushMode.AUTOMATIC) and my Servlet uses the following
@WebServlet(urlPatterns = "/*", name = "MyApp",…
        
        andhalib
        
- 11
 - 2
 
                    1
                    
            vote
                
                2 answers
            
        Vaadin 24 resources to bypass Spring Security
For Vaadin 14, there is documentation which clearly states which Vaadin resources should be added to the config to bypass Spring Security: https://vaadin.com/docs/v14/flow/tutorial/login-and-authentication
  /**
   * Allows access to static…
        
        alexanoid
        
- 24,051
 - 54
 - 210
 - 410
 
                    1
                    
            vote
                
                1 answer
            
        How to style vaadin-dialog in Vaadin 24?
I've upgraded my Polymer 3 Javascript app from Vaadin 14 components to Vaadin 24 components. The custom theme styling I was using to style vaadin-dialog-overlay does not work with v24, and the new v24 CSS selectors do not work for me either.
Here's…
        
        robg
        
- 15
 - 5
 
                    1
                    
            vote
                
                0 answers
            
        Vaadin 24 SubMenu routing
I'm building a menu bar in Vaadin 24 and got the following to work:
    MenuBar menuBar = new MenuBar();
    MenuItem monthlyTasksMenuItem = menuBar.addItem("Monthly Tasks", listener);
    SubMenu monthlyTasksSubMenu =…
        
        Todd
        
- 2,829
 - 5
 - 34
 - 56
 
                    1
                    
            vote
                
                1 answer
            
        Vaadin 24 Not Using Specified Theme
Is there some reason why Vaadin 24 is not using the specified theme?  Its using some default light theme.  You can even generate a new Vaadin 24 starter app and choose the lumo dark theme. When you run the app it doesn't use it. This was a working…
        
        K. Taylor
        
- 431
 - 5
 - 8
 
                    1
                    
            vote
                
                1 answer
            
        After Spring Boot 3 update: Manually authenticating user not working
I am upgrading an application to Spring Boot 3. We are using a custom authentication framework where we manually set the authentication object after authenticating the user.
After logging the user in, we call…
        
        mackesmilianw
        
- 21
 - 2
 
                    1
                    
            vote
                
                0 answers
            
        Vaadin RouterLink highlight condition for parent layouts
I'm trying to implement correct highlight condition for route links in nested layouts.
I have the following page which has the following layout structure:
1 - route link in MainLayout
2 - route link in CandidatesLayout
3 - route link in…
        
        alexanoid
        
- 24,051
 - 54
 - 210
 - 410
 
                    1
                    
            vote
                
                1 answer
            
        Vaadin 24 override styles for NavBar
The Vaadin 24 version has the following styles for navbar:
[part="navbar"] {
  min-height: var(--lumo-size-xl);
  border-bottom: 1px solid var(--lumo-contrast-10pct);
}
I want to remove the following line:
min-height: var(--lumo-size-xl);
For this…
        
        alexanoid
        
- 24,051
 - 54
 - 210
 - 410
 
                    1
                    
            vote
                
                0 answers
            
        Vaadin 24 LONG_POLLING Push and Failed to submit broadcast handler runnable to for Broadcaster/*
I'm trying to upgrade from Vaadin 23 to Vaadin 24.
Now, I very frequently see the following message in the console:
2023-03-09T16:32:14.882+02:00  WARN 4348 --- [sphere-Shared-0] org.atmosphere.cpr.DefaultBroadcaster    : This message…
        
        alexanoid
        
- 24,051
 - 54
 - 210
 - 410
 
                    0
                    
            votes
                
                0 answers
            
        Vaadin: Pass paramet in Mainlaout to defaultview but not getting before getTabsheet method
I am using vaadin 24.
**MainLayout:**
UI.getCurrent().navigate(defaultViewClass, new RouteParameters("project_Id",selectedProject.getId().toString()));
**DefaultView:**
@PageTitle("Default Mapping")
@Route(value = "Default-Mapping/:project_Id",…
        
        Maryam
        
- 1