Package s3 :: Module s3widgets :: Class S3PersonAutocompleteWidget
[frames] | no frames]

Class S3PersonAutocompleteWidget

source code

??-269 --+
         |
        S3PersonAutocompleteWidget

Renders a pr_person SELECT as an INPUT field with AJAX Autocomplete. Differs from the S3AutocompleteWidget in that it uses 3 name fields

To make this widget use the HR table, set the controller to "hrm"


To Do: Migrate to template (initial attempt failed)

Instance Methods
 
__init__(self, controller="pr", function="person_search", post_process="", hideerror=False, ajax_filter="") source code
 
__call__(self, field, value, **attributes) source code
Method Details

__init__(self, controller="pr", function="person_search", post_process="", hideerror=False, ajax_filter="")
(Constructor)

source code 

__call__(self, field, value, **attributes)
(Call operator)

source code