Package org.exoplatform.webui.core.model

Examples of org.exoplatform.webui.core.model.SelectItemOption


      selectedItemOption_ = getDefaultItemOption();
      List<SelectItemOption<String>> itemOptions = new ArrayList<SelectItemOption<String>>();

      for (SelectItemCategory itemCategory : categories_)
      {
         itemOptions.add(new SelectItemOption(itemCategory.getName()));
      }

      // modify: Dang.Tung
      UIDropDownControl uiItemSelector = addChild(UIDropDownControl.class, null, "UIDropDownPageTemp");
      uiItemSelector.setOptions(itemOptions);
View Full Code Here


    public Object getValue() {
        SelectItemCategory selectedCategory = getSelectedCategory();
        if (selectedCategory == null)
            return null;
        SelectItemOption selectedItem = selectedCategory.getSelectedItemOption();
        if (selectedItem == null)
            return null;
        return selectedItem.getValue();
    }
View Full Code Here

TOP

Related Classes of org.exoplatform.webui.core.model.SelectItemOption

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.