Package org.projectforge.web.wicket.components

Examples of org.projectforge.web.wicket.components.LanguageField


  public AbstractFieldsetPanel< ? > addLanguage()
  {
    final FieldProperties<Locale> props = getLanguageProperties();
    final AbstractFieldsetPanel< ? > fs = gridBuilder.newFieldset(props);
    final LanguageField language = new LanguageField(fs.getTextFieldId(), props.getModel());
    language.setFavoriteLanguages(contactDao.getUsedCommunicationLanguages());
    fs.add(language);
    if (mobile == false) {
      ((FieldsetPanel) fs).addKeyboardHelpIcon(new ResourceModel("tooltip.autocompletion.title"), new ResourceModel(
          "tooltip.autocomplete.language"));
    }
View Full Code Here


  public AbstractFieldsetPanel< ? > addLanguage()
  {
    final FieldProperties<Locale> props = getLanguageProperties();
    final AbstractFieldsetPanel< ? > fs = gridBuilder.newFieldset(props);
    final LanguageField language = new LanguageField(fs.getTextFieldId(), props.getModel());
    language.setFavoriteLanguages(addressDao.getUsedCommunicationLanguages());
    fs.add(language);
    if (mobile == false) {
      ((FieldsetPanel) fs).addKeyboardHelpIcon(new ResourceModel("tooltip.autocompletion.title"), new ResourceModel(
          "tooltip.autocomplete.language"));
    }
View Full Code Here

TOP

Related Classes of org.projectforge.web.wicket.components.LanguageField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.