Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Loading ComboBox

mallek ahmed
10 years ago Apr 10, 2012 3:24pm
Charles Anthony
10 years ago Apr 10, 2012 3:34pm
mallek ahmed
10 years ago Apr 10, 2012 3:58pm
mallek ahmed
10 years ago Apr 10, 2012 4:13pm
Javier Serrano
10 years ago Apr 10, 2012 4:31pm
Javier Serrano
10 years ago Apr 10, 2012 4:37pm
mallek ahmed
10 years ago Apr 10, 2012 4:44pm

here's the way I filled my container.

private void fillComboProjet(Client cl) throws Exception {
        containerProjets = new BeanItemContainer<Projets>(Projets.class);
        try {
            List list = dataSelect.getProjetsByClient(cl);
            containerProjets.addAll(list);
            comboProjet.setContainerDataSource(containerProjets);
            comboProjet.setItemCaptionPropertyId("libProj");
        } catch (Exception ex) {
            throw ex;
        }
    }

it does not regulate the concern: (.
the same piece of code that you sent me, I'm sorry but it does not work.

Last updated on Apr, 10th 2012
Javier Serrano
10 years ago Apr 11, 2012 7:30am
mallek ahmed
10 years ago Apr 11, 2012 4:12pm