public void buttonClick(ClickEvent event) {
		try {
			int i = service.addSample(item.getBean());
			if (i > 0) {
				sample2form.setDescription("'" + item.getItemProperty("classname") + "' Add Success");
			}
			else{
				sample2form.setComponentError(new UserError("Failure"));
			}
		} catch (SQLException e) {
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}

	}