Package org.jboss.jsfunit.jsfsession

Examples of org.jboss.jsfunit.jsfsession.ComponentIDNotFoundException


    */
   public void clickTreeNodeHandle( String treeNodeKey, String treeNodeId ) throws IOException
   {
     final String handleId = ":"+treeNodeKey+"::"+treeNodeId+":handle";
     ClickableElement icon = (ClickableElement)jsfClient.getElement(handleId);
     if( icon == null ) throw new ComponentIDNotFoundException(handleId);
     icon.click();    
   }
View Full Code Here


    *                            specified component is not an HtmlInput.
    */
   public void setValue(String componentID, String value)
   {
      Element input = getElement(componentID);
      if (input == null) throw new ComponentIDNotFoundException(componentID);
     
      if (input instanceof HtmlInput)
      {
         ((HtmlInput)input).setValueAttribute(value);
         return;
View Full Code Here

    *                            specified component is not an HtmlElement.
    */
   public void type(String componentID, char c) throws IOException
   {
      HtmlElement element = (HtmlElement)getElement(componentID);
      if (element == null) throw new ComponentIDNotFoundException(componentID);
      element.type(c);
   }
View Full Code Here

TOP

Related Classes of org.jboss.jsfunit.jsfsession.ComponentIDNotFoundException

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.