template::widget::party_search (public)
template::widget::party_search element_reference tag_attributes
Defined in packages/acs-templating/tcl/widget-procs.tcl
A widget that searches for parties (persons, groups and relational_segments) and lets the user select one from the search results.
It only searches in all parties from the system currently. It should probably be extended to allow one to restrict the search to a specific subsite, as well as searching only for groups or persons.
- Parameters:
- element_reference (required)
- tag_attributes (required)
- Author:
- Tilmann Singer
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: upvar $element_reference element if { ![info exists element(options)] } { # initial submission or no data (no options): a text box set output [input text element $tag_attributes] } else { set output "<input type=\"hidden\" name=\"$element(id):select\" value=\"t\" >" append output "<input type=\"hidden\" name=\"$element(id):search_string\" value=\"$element(search_string)\" >" if { ![info exists element(confirmed_p)] } { append output "<input type=\"hidden\" name=\"$element(id):confirmed_p\" value=\"t\" >" } append output [select $element_reference $tag_attributes] } return $outputXQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-templating/tcl/widget-procs.xql