Questions tagged [vaadin23]

Use this tag for version-specific questions about Vaadin 23 - the open-source platform for web application development. When using this tag, also include the more generic [vaadin] and [vaadin-flow] tags where applicable. Vaadin 23 superseded Vaadin 14 in March 2022.

191 questions
0
votes
0 answers

Vaadin 23 configure routes for dynamic and static pages

I have the following view: @Component @Scope("prototype") @Route(value = "jobs", layout = JobsLayout.class) @PageTitle("Jobs") @AnonymousAllowed public class AllJobsView extends VerticalLayout implements LocaleChangeObserver { with route = "jobs".…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
0 answers

Vaadin23 FlexLayout and component resize

I have FlexLayout with two vertical components: VerticalLayout gridVerticalLayout = configureGrid(); form = new SearchForm(employmentService, locationService); form.setWidth("25em"); FlexLayout content = new…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
1 answer

mulitple ComboBox validation on the same value

I have a dynamic form where the user may add as many ComboBox as they need. All ComboBoxes contain the same predefined list of values. Is it possible somehow with the binding and validation mechanism to prevent the user from selecting the same value…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
1 answer

Vaadin23 access to search term entered to ComboBox from custom Renderer

I implemented the custom Renderer for ComboBox items: private Renderer createRenderer() { StringBuilder tpl = new StringBuilder(); tpl.append("
"); tpl.append("
"); …
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
1 answer

Vaadin23 ComBox autocomplete and "Attempted to fetch more items from server than allowed in one go"

I'm trying to implement my first Vaadin ComboBox with autocomplete feature. This is what I have so far: ComboBox companyComboBox = new ComboBox<>("Company"); companyComboBox.setRequired(true); …
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
0 answers

Vaadin 23 Form Layout and components add/delete/rearrangement on click

I have a FormLayout with multiple logical rows. I'd like to be able to swap or remove rows on button click, or add a new row to the certain location in FormLayout. Is it possible with FormLayout? If so, could you please tell how? Also, as far as I…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
1 answer

Vaadin23 how to get the current application url

Looks like previously it was possible to get the current location url (url in the browser location bar) by Page.getCurrent().getLocation(); How to get the current application url in Vaadin23? Is it possible with com.vaadin.flow.component.UI…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
1 answer

Vaadin 23 restore tabs state after external authentication with IdP

I implemented layouts - MainLayout and JobsLayout with @ParentLayout(MainLayout.class) The application looks like: Currently I'm fully authenticated and accessed the path Jobs -> Post a Job Post a Job route requires from user to be fully…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
1 answer

Vaadin 23 add the common part of several Views into content part of AppLayout

I have MainLayout defined (extended from AppLayout), where I have configured Header and Drawer. Also, I have 3 different views which use MainLayout via @Route annotation. There is some similarity between such 3 views - they have the common tabs at…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
0 answers

Vaadin 23 artifact generation and Maven multimodule project

I have a Maven multimodule project with the following structure: parent - domain - vaadin-ui When I run the vaadin-ui project with a Maven command mvn spring-boot:run, Vaadin generates different artifacts on the domain and vaadin-ui folders level,…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
1 answer

Vaadin - set focus in Login Page

I am using the login form to log in to the app. I need to set the Focus after starting the application to the Password field. I can only set a description through the getFrom method. LoginI18n i18n = LoginI18n.createDefault(); i18n.setHeader(new…
Evzenkooo
  • 67
  • 8
0
votes
1 answer

Vaadin 23 VirtualList with 50 or more items loses ClickListener and is not refreshed

Context: In a Vaadin 23.1.3 application there's a VirtualList with items with a ClickListener that refreshes the content of the item. What works: When there are 3 items in the VirtualList, the ClickListener works fine and after calling…
S. Doe
  • 685
  • 1
  • 6
  • 25
0
votes
1 answer

Vaadin 23: file upload from clipboard / Ctrl+V

My need: I'd like to add an "upload from clipboard" functionality into a Vaadin 23 application so that the user can paste a screenshot into an Upload field. Known pieces of the puzzle: I know that there is a paste event (see here…
S. Doe
  • 685
  • 1
  • 6
  • 25
0
votes
1 answer

Vaadin: Anchor sets internal URL in browser but does not navigate

In a LoginView in a Vaadin 23.1.0 application I've got an Anchor to navigate to Microsoft Azure Login URL: add(new Anchor("/oauth2/authorization/azure", "Login with MS Azure AD"));. Problem: When I click that anchor / link then the URL in the…
S. Doe
  • 685
  • 1
  • 6
  • 25
0
votes
1 answer

Vaadin Add on Compatibility for Vaadin 8 add ons

The following add-ons are supported till Vaadin 8. Are they compatible for Vaadin 14 or 23? If not, any alternative option available? I have searched both Vaadin Directory and component factory, but cannot find anything similar to this. May be…
Manushi
  • 597
  • 1
  • 7
  • 26
1 2 3
12
13