Examples of WanFormInputText


Examples of net.sf.jwan.servlet.gui.form.WanFormInputText

  }
 
  public StringBuffer render()
  {
   
    WanFormInputText inputLogin = new WanFormInputText("login","Login");
    WanFormInputText inputPassword = new WanFormInputText("password","Password");
      inputPassword.setStyle("-border:1px solid black;");
   
    StringBuffer sb = new StringBuffer();
   
    sb.append("<a href=\"#_lFormResult\" rel=\"action\" class=\"iButton iBAction\" onclick=\"return WA.Submit('form2')\" id=\"logme\">Login</a>"+ls);
    sb.append("<a href=\"#\" rel=\"back\" class=\"iButton iBClassic\" onclick=\"return WA.Back()\">Cancel</a>"+ls);
    sb.append("<form id=\"form2\" action=\""+target+"\" onsubmit=\"return WA.Submit(this)\">"+ls);
   
    sb.append("  <div class=\"iPanel\">"+ls);
    sb.append("    <div id=\"form-res\"></div>"+ls);
    sb.append("    <fieldset>"+ls);
    sb.append("      <legend>Login</legend>"+ls);
    sb.append("      <ul>"+ls);
    sb.append("        <li>"+inputLogin.render()+"</li>"+ls);
    sb.append("        <li>"+inputPassword.render()+"</li>"+ls);
    sb.append("      </ul>"+ls);
    sb.append("    </fieldset>"+ls);
    sb.append("   </div>"+ls);
    sb.append("</form>"+ls);
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.