Package org.apache.myfaces.trinidad.component.core.input

Examples of org.apache.myfaces.trinidad.component.core.input.CoreSelectOneChoice


  }

  @SuppressWarnings("unchecked")
  public void testSelectOneChoice() throws IOException
  {
    CoreSelectOneChoice choice = new CoreSelectOneChoice();
    choice.setSimple(true);
    choice.setValue(new Integer(2));
    for (int i = 0 ; i < 10; i++)
    {
      UISelectItem selectItem  = new UISelectItem();
      selectItem.setItemLabel("Item " + i);
      selectItem.setItemValue(new Integer(i));
      choice.getChildren().add(selectItem);
    }

    UIViewRoot root = createTestTree(choice, "testSelectOneChoice");
    renderRoot(root);
View Full Code Here

TOP

Related Classes of org.apache.myfaces.trinidad.component.core.input.CoreSelectOneChoice

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.