You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ComboxBoxErrorMessage.java 707B

1234567891011121314151617181920212223242526
  1. package com.vaadin.tests.components.combobox;
  2. import com.vaadin.tests.components.TestBase;
  3. import com.vaadin.v7.ui.ComboBox;
  4. public class ComboxBoxErrorMessage extends TestBase {
  5. @Override
  6. protected void setup() {
  7. ComboBox cb = new ComboBox("");
  8. cb.setRequired(true);
  9. cb.setRequiredError("You must select something");
  10. addComponent(cb);
  11. }
  12. @Override
  13. protected String getDescription() {
  14. return "The ComboBox should show an \"You must select something\" tooltip when the cursor is hovering it. Both when hovering the textfield and the dropdown button.";
  15. }
  16. @Override
  17. protected Integer getTicketNumber() {
  18. return 3345;
  19. }
  20. }