ComboBox invisible after Upgrade (6.3 -> 6.5)

First excuse my poor English.

I have a window working perfect in Vaadin 6.3, but after upgrade to version 6.5, the ComboBox component is not visible, here's my source of Constructor in the window (the component with problem is cmbOpcoes) :

public FiltroWindow(ObjCampo lista[], String modulo, Component owner, ObjModulo myMod) {
	
	myModulo = myMod;
	
    setModal(true);
    setWidth("550px");
    this.setScrollable(true);
    center();
    this.init();
    
    this.setOwner(owner);
    
    ObjCampo campotemp = null;
     
    
    setCaption("Opções de Filtro do módulo " + modulo);
    
    if (lista != null)
	for (int x=0; x < lista.length;x++) {
		campotemp = (ObjCampo)lista[x]

;

		if ((campotemp) != null)
		if ((campotemp).isUsa_na_busca())					                
		if (!campotemp.getTipoComp().equalsIgnoreCase("EDITA_PESQUISA"))
		{					
			Painel panel = new Painel();
			panel.setCaption(campotemp.getCode_campo());
			panel.setTitulo(campotemp.getTitulo());
			panel.setTipo(campotemp.getTipo());
			
			String nome = campotemp.getNome();
			if (!campotemp.getAlias().trim().equals(""))
				nome = campotemp.getAlias()+"." + nome;
			
			panel.setNome(nome);										
			panel.setSpacing(true);
				
			Label titulo = new Label(campotemp.getTitulo());
			titulo.setWidth(100, UNITS_PIXELS);
			panel.addComponent(titulo);
			
			final ComboBox cmbOpcoes = new ComboBox("Tipo de Filtro");
			cmbOpcoes.setParent(panel);
							
			//cmbOpcoes.addListener(this);
			cmbOpcoes.setImmediate(true);
			cmbOpcoes.addListener(new Property.ValueChangeListener() {
				
				@Override
				public void valueChange(ValueChangeEvent event) {
					// TODO Auto-generated method stub
					System.out.println("MUDOUUUUUUUUUUUU para " + cmbOpcoes.getValue().toString());
					
					if (((Painel)cmbOpcoes.getParent()).componente2 != null) {
						
						((Painel)cmbOpcoes.getParent()).componente2.setVisible(cmbOpcoes.getValue().toString().equalsIgnoreCase("ENTRE"));
					}
				
					
					
				}
			});
			
			cmbOpcoes.setNullSelectionAllowed(false);
			cmbOpcoes.setCaption(campotemp.getCode_campo());
			
			for (int y=0;y<Util.Operadores.length;y++)
				cmbOpcoes.addItem(Util.Operadores[y]

[0]
);

			cmbOpcoes.setValue(Util.Operadores[0]

[0]
);
cmbOpcoes.setValue(Util.getOperadorDesc(campotemp.getFiltro_operador_padrao()));

			cmbOpcoes.setReadOnly(campotemp.getFiltro_operador_permite_alterar().equalsIgnoreCase("N"));
											
			cmbOpcoes.setWidth(110, UNITS_PIXELS);
			cmbOpcoes.setRequired(true);
			//cmbOpcoes.setReadThrough(true);
			
			cmbOpcoes.setVisible(true);			
			cmbOpcoes.setImmediate(false);
			cmbOpcoes.setFilteringMode(Filtering.FILTERINGMODE_OFF);
			panel.addComponent(cmbOpcoes);
			panel.setComboOperador(cmbOpcoes);
			System.out.println("Combo Opcoes " + cmbOpcoes.toString());
			
			Component comp = null;
			
			// valor 1
			comp = criaCompFiltro((ObjCampo)lista[x]

,1);

			if (comp != null) {
				panel.addComponent(comp);
				panel.componente = comp;
				// System.out.println(comp.toString());					
			}
			
			
			
			// valor 2
			comp = criaCompFiltro((ObjCampo)lista[x]

,2);

			if (comp != null) {
				panel.addComponent(comp);
				
				System.out.println("ADICIONO COMPONENTE 2");
				panel.componente2 = comp;							
			}
			
			panel.componente2.setVisible(cmbOpcoes.getValue().toString().equalsIgnoreCase("ENTRE")); 
							
			this.addComponent(panel);

		}
	}

11581.jpg

Hi,

Just a though, have you checked that your widgetset and theme are from Vaadin 6.5.0. This can be done by adding ?debug to the URL of your application. The debug window should show warnings if version aren’t matching.

-Henri

Hi Henry, thanks for your reply, really, debug window show this warning : Warning: widgetset version 6.5.0 does not seem to match theme version 6_3_0, but in my app don´t have any theme, I´m using some Add-ons, and I think they are the problem, how can I make to discover ?

You need to recompile the widgetset (including the addons you’re using) for it to work correctly.

Edit: oops, I think I misread your post. So I believe you’ve also extracted the default theme out of the Vaadin jar, and hence it is the wrong version. Extract the newer version.