checkbox inside vaadin

I have some check boxes inside an accordion. I am unable to select these check boxes.I created the checkboxes individually instead of using option group

Could you give some more details about how your UI is built?

At least this quick test works fine for me:


@SuppressWarnings("serial")
public class TestUI extends UI {

	@Override
	protected void init(VaadinRequest request) {
		
		Accordion acc = new Accordion();
		CheckBox cb = new CheckBox("CB 1");
		cb.addValueChangeListener(new Property.ValueChangeListener() {
			
			@Override
			public void valueChange(ValueChangeEvent event) {
				Notification.show("CheckBox 1 selected.");
			}
		});
		acc.addComponent(cb);
		cb = new CheckBox("CB 2");
		cb.addValueChangeListener(new Property.ValueChangeListener() {
			
			@Override
			public void valueChange(ValueChangeEvent event) {
				Notification.show("CheckBox 2 selected.");
				
			}
		});
		acc.addComponent(cb);
		setContent(acc);
	}

}

Thanks for your help,
I identified the problem, I has a label above the accordion with percentage positions. When I removed the size of the label All worked fine. Don’t know why this should be problem cos there was no overlap, now it works fine