parameters: (self, field, key, value, REQUEST, render_prefix=None)
docstring: Render text input field.
docstring_summary: Render text input field.
docstring_tokens: Render text input field .
function: def render(self, field, key, value, REQUEST, render_prefix=None):
      """Render text input field.
      """
      display_maxwidth = field.get_value('display_maxwidth') or 0
      input_type = field.get_value('input_type') or 'text'
      if display_maxwidth > 0:
        return render_element("input",
                              type=input_type,
                              name=key,
                              css_class=field.get_value('css_class'),
                              value=value,
                              size=field.get_value('display_width'),
                              maxlength=display_maxwidth,
                              extra=field.get_value('extra'))
      else:
        return render_element("input",
                              type=input_type,
                              name=key,
                              css_class=field.get_value('css_class'),
                              value=value,
                              size=field.get_value('display_width'),
                              extra=field.get_value('extra'))
function_tokens: def render ( self , field , key , value , REQUEST , render_prefix = None ) : display_maxwidth = field . get_value ( 'display_maxwidth' ) or 0 input_type = field . get_value ( 'input_type' ) or 'text' if display_maxwidth > 0 : return render_element ( "input" , type = input_type , name = key , css_class = field . get_value ( 'css_class' ) , value = value , size = field . get_value ( 'display_width' ) , maxlength = display_maxwidth , extra = field . get_value ( 'extra' ) ) else : return render_element ( "input" , type = input_type , name = key , css_class = field . get_value ( 'css_class' ) , value = value , size = field . get_value ( 'display_width' ) , extra = field . get_value ( 'extra' ) )