/** * initialize the given form control from a Webform and a HTMLControl * @param form * @param control */ protected FormControl( WebForm form, HTMLControl control ) { super( control ); _control = control; _form = form; supportAttribute( "tabindex" ); supportAttribute( "disabled" ); // Add all custom attributes Set customAttributes = HttpUnitOptions.getCustomAttributes(); if(customAttributes != null) { for(Iterator iter = customAttributes.iterator(); iter.hasNext(); ) { supportAttribute((String)iter.next()); } } }
/** * initialize the given form control from a Webform and a HTMLControl * @param form * @param control */ protected FormControl( WebForm form, HTMLControl control ) { super( control ); _control = control; _form = form; supportAttribute( "tabindex" ); supportAttribute( "disabled" ); // Add all custom attributes Set customAttributes = HttpUnitOptions.getCustomAttributes(); if(customAttributes != null) { for(Iterator iter = customAttributes.iterator(); iter.hasNext(); ) { supportAttribute((String)iter.next()); } } }
/** * initialize the given form control from a Webform and a HTMLControl * @param form * @param control */ protected FormControl( WebForm form, HTMLControl control ) { super( control ); _control = control; _form = form; supportAttribute( "tabindex" ); supportAttribute( "disabled" ); // Add all custom attributes Set customAttributes = HttpUnitOptions.getCustomAttributes(); if(customAttributes != null) { for(Iterator iter = customAttributes.iterator(); iter.hasNext(); ) { supportAttribute((String)iter.next()); } } }