39404142434445
protected String maxlength; protected String readonly; protected String size; public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { return new TextField(stack, req, res); }
45464748495051525354
} protected void populateParams() { super.populateParams(); TextField textField = ((TextField) component); textField.setMaxlength(maxlength); textField.setReadonly(readonly); textField.setSize(size); }
38394041424344
44454647484950515253
35363738394041
public TextFieldModel(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { super(stack, req, res); } protected Component getBean() { return new TextField(stack, req, res); }
36373839404142
protected String readonly; protected String size; protected String type; public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { return new TextField(stack, req, res); }
4546474849505152535455
} protected void populateParams() { super.populateParams(); TextField textField = ((TextField) component); textField.setMaxlength(maxlength); textField.setReadonly(readonly); textField.setSize(size); textField.setType(type); }
32333435363738
/** * @see TextField */ public class TextFieldDirective extends AbstractDirective { protected Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { return new TextField(stack, req, res); }
49505152535455
} @Override protected void setUp() throws Exception { super.setUp(); this.tag = new TextField(stack, request, response); }