@Override
 public List<ILookupRow<T>> getDataByAll(ILookupCall<T> call) throws ProcessingException {
   String sql = getConfiguredSqlSelect();
   if (containsRefusingAllTag(sql)) {
     throw new VetoException(ScoutTexts.get("SearchTextIsTooGeneral"));
   }
   List<ILookupRow<T>> rows = execLoadLookupRows(sql, filterSqlByAll(sql), call);
   return rows;
 }
  /** Tests the html veto exception error message creation */
  @Test
  public void testVetoExceptionHtmlMessage() {
    TestFormWithMandatoryField form = new TestFormWithMandatoryField();
    String htmlErrorMessage = "";

    String expectedErrorMessage =
        HTML.fragment(
                HTML.bold(ScoutTexts.get("FormEmptyMandatoryFieldsMessage")),
                HTML.ul(HTML.li(form.getStringField().getFullyQualifiedLabel(": "))),
                HTML.br())
            .toEncodedHtml();

    try {
      form.validateForm();
    } catch (VetoException ve) {
      htmlErrorMessage = ve.getHtmlMessage().toEncodedHtml();
    }

    assertEquals(expectedErrorMessage, htmlErrorMessage);
  }
 @Override
 protected String getConfiguredText() {
   return ScoutTexts.get("FormStateStoreAs");
 }
 /*
  * Configuration
  */
 @Override
 protected String getConfiguredLabel() {
   return ScoutTexts.get("FormStateLoad");
 }
 @Override
 public String getDisplayText() {
   return ScoutTexts.get("Column") + " \"" + getColumn().getHeaderCell().getText() + "\"";
 }
 @Override
 protected String getConfiguredTooltipText() {
   return ScoutTexts.get("CancelButtonTooltip");
 }
 @Override
 protected String getConfiguredLabel() {
   return ScoutTexts.get("CancelButton");
 }