private TextField buildField(String label, CmsAccountInfo info) {

        TextField field = (TextField)m_binder.buildAndBind(label, info);
        field.setConverter(new CmsNullToEmptyConverter());
        field.setWidth("100%");
        boolean editable = (m_editLevel == EditLevel.all)
            || (info.isEditable() && (m_editLevel == EditLevel.configured));
        field.setEnabled(editable);
        if (editable) {
            field.addValidator(new FieldValidator(info.getField()));
        }
        field.setImmediate(true);
        return field;
    }
private TextField buildField ( String label , CmsAccountInfo info ) { TextField field = ( TextField ) m_binder . buildAndBind ( label , info ) ; field . setConverter ( new CmsNullToEmptyConverter ( ) ) ; field . setWidth ( "100%" ) ; boolean editable = ( m_editLevel == EditLevel . all ) || ( info . isEditable ( ) && ( m_editLevel == EditLevel . configured ) ) ; field . setEnabled ( editable ) ; if ( editable ) { field . addValidator ( new FieldValidator ( info . getField ( ) ) ) ; } field . setImmediate ( true ) ; return field ; }
Builds the text field for the given property.<p>

@param label the field label
@param info the property name

@return the field