protected LocalizedValue createHTMLDDMFormFieldPredefinedValue() {
    LocalizedValue predefinedValue = new LocalizedValue();

    predefinedValue.addString(LocaleUtil.BRAZIL, "");
    predefinedValue.addString(LocaleUtil.US, "");

    return predefinedValue;
  }
  protected LocalizedValue createTextDDMFormFieldPredefinedValue() {
    LocalizedValue predefinedValue = new LocalizedValue();

    predefinedValue.addString(LocaleUtil.BRAZIL, "Exemplo");
    predefinedValue.addString(LocaleUtil.US, "Example");

    return predefinedValue;
  }
  protected LocalizedValue createHTMLDDMFormFieldLabel() {
    LocalizedValue label = new LocalizedValue();

    label.addString(LocaleUtil.BRAZIL, "HTML");
    label.addString(LocaleUtil.US, "HTML");

    return label;
  }
Exemple #4
0
  protected LocalizedValue getDefaultDDMFormPageTitle(Locale defaultLocale) {
    LocalizedValue title = new LocalizedValue(defaultLocale);

    title.addString(defaultLocale, StringPool.BLANK);

    return title;
  }