Package com.simoncat.vo

Examples of com.simoncat.vo.HTMLFormField


      //iwao.setEnctype("multipart/form-data");
      iwao.setFormMethod   ("POST");
     
      // HTML form's fields
    Collection fco = new ArrayList();
      HTMLFormField hff1 = new HTMLFormField();
      hff1.setTitle ("c1");
      hff1.setName  ("c1");
      hff1.setType  ("hidden");
      hff1.setSize  ("25");
      hff1.setValue ( null );
      fco.add (hff1);
      HTMLFormField hff2 = new HTMLFormField();
      hff2.setTitle ("c2");
      hff2.setName  ("c2");
      hff2.setType  ("hidden");
      hff2.setSize  ("25");
      hff2.setValue ( null );
      fco.add (hff2);


      iwao.setFields(fco);
View Full Code Here


      iwao.setEnctype("multipart/form-data");
      iwao.setFormMethod   ("POST");
     
      // HTML form's fields
    Collection fco = new ArrayList();
      HTMLFormField hff1 = new HTMLFormField();
      hff1.setTitle ("c1");
      hff1.setName  ("c1");
      hff1.setType  ("hidden");
      hff1.setSize  ("25");
      hff1.setValue ( null );
      fco.add (hff1);
      HTMLFormField hff2 = new HTMLFormField();
      hff2.setTitle ("c2");
      hff2.setName  ("c2");
      hff2.setType  ("text");
      hff2.setSize  ("25");
      hff2.setValue ( null );
      fco.add (hff2);


      iwao.setFields(fco);
View Full Code Here

                                HttpServletRequest request,
                                HttpServletResponse response) throws Exception {

      // HTML form's fields
      Collection fco = new ArrayList();
      HTMLFormField hff1 = new HTMLFormField();
      hff1.setTitle ("Server");
      hff1.setName  ("name");
      hff1.setType  ("text");
      hff1.setSize  ("25");
      hff1.setValue ( null );
      fco.add (hff1);

      HTMLFormField hff2 = new HTMLFormField();
      hff2.setTitle ("IP");
      hff2.setName  ("address");
      hff2.setType  ("text");
      hff2.setSize  ("17");
      hff2.setValue ( null );
      fco.add (hff2);

      HTMLFormField hff3 = new HTMLFormField();
      hff3.setTitle ("USER");
      hff3.setName  ("user");
      hff3.setType  ("text");
      hff3.setSize  ("25");
      hff3.setValue ( null );
      fco.add (hff3);

      HTMLFormField hff4 = new HTMLFormField();
      hff4.setTitle ("PASSWORD");
      hff4.setName  ("password");
      hff4.setType  ("text");
      hff4.setSize  ("25");
      hff4.setValue ( null );
      fco.add (hff4);

      HTMLFormField hff5 = new HTMLFormField();
      hff5.setTitle ("PORTSSH");
      hff5.setName  ("portssh");
      hff5.setType  ("text");
      hff5.setSize  ("5");
      hff5.setValue ( null );
      fco.add (hff5);

      HTMLFormField hff6 = new HTMLFormField();
      hff6.setTitle ("TOMCAT PATH");
      hff6.setName  ("tomcatPath");
      hff6.setType  ("text");
      hff6.setSize  ("25");
      hff6.setValue ( null );
      fco.add (hff6);

      HTMLFormField hff7 = new HTMLFormField();
      hff7.setTitle ("USER TOMCAT");
      hff7.setName  ("userTomcat");
      hff7.setType  ("text");
      hff7.setSize  ("25");
      hff7.setValue ( null );
      fco.add (hff7);

      HTMLFormField hff8 = new HTMLFormField();
      hff8.setTitle ("PASSWORD TOMCAT");
      hff8.setName  ("passwordTomcat");
      hff8.setType  ("text");
      hff8.setSize  ("25");
     hff8.setValue ( null );
      fco.add (hff8);

  HTMLFormField hff9 = new HTMLFormField();
      hff9.setTitle ("PORT");
      hff9.setName  ("port");
      hff9.setType  ("text");
      hff9.setSize  ("5");
      hff9.setValue ( null );
  fco.add (hff9);

      HTMLFormField hff10 = new HTMLFormField();
      hff10.setTitle ("TEST URL");
      hff10.setName  ("testURL");
      hff10.setType  ("text");
      hff10.setSize  ("50");
      hff10.setValue ( null );
      fco.add (hff10);

      HTMLFormField hff11 = new HTMLFormField();
      hff11.setTitle ("OBSERVATION");
      hff11.setName  ("observation");
      hff11.setType  ("textarea");
      hff11.setSize  ("256");
      hff11.setValue ( null );
      hff11.setRows ("5");
      hff11.setCols ("50");
      fco.add (hff11);

      // Now, let's prepare output
      HTMLFormScreenOutput oso = new HTMLFormScreenOutput();
      oso.setPageTitle    ("Add Server"); //LNG
View Full Code Here

     
    // Saturday, February 16, 2002

      iwao.setPageTitle    ("Event Server:" + s1 + " " + s2);
     
      HTMLFormField hff1 = new HTMLFormField();
      hff1.setTitle ("value");
      hff1.setName  ("value");
      hff1.setType  ("hidden");
      hff1.setSize  ("25");
      hff1.setValue (value);
      fco.add (hff1);
      HTMLFormField hff2 = new HTMLFormField();
      hff2.setTitle ("form");
      hff2.setName  ("form");
      hff2.setType  ("hidden");
      hff2.setSize  ("25");
      hff2.setValue ( form_ );
      fco.add (hff2);


      iwao.setFields(fco);
View Full Code Here

TOP

Related Classes of com.simoncat.vo.HTMLFormField

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.