The following example shows you how to create a new TextFormInput object:
TextFormInput text = new TextFormInput("userID");
text.setSize(40);
System.out.println(text.getTag());
The code example above generates the following tag:
<input type="text" name="userID" size="40" />