32333435363738
/** * @see TextField */ public class TextFieldDirective extends AbstractDirective { protected Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { return new TextField(stack, req, res); }
39404142434445
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); }
36373839404142
public TextFieldModel(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { super(stack, req, res); } protected Component getBean() { return new TextField(stack, req, res); }
49505152535455
} @Override protected void setUp() throws Exception { super.setUp(); this.tag = new TextField(stack, request, response); }
35363738394041
protected String maxlength; protected String readonly; protected String size; public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { return new TextField(stack, req, res); }
41424344454647484950
} protected void populateParams() { super.populateParams(); TextField textField = ((TextField) component); textField.setMaxlength(maxlength); textField.setReadonly(readonly); textField.setSize(size); }
28293031323334
31323334353637