Package enomalism2 :: Package modules :: Package usercontrol :: Module model
[hide private]

Module model

User control API.

Classes [hide private]
  UserControlTools
Abstract class that defines several user control helper methods.
Variables [hide private]
String uuid = '7b350ad6-ee6b-4f9a-a1df-ccfec9eae566'
The uuid of the module.
String user_save_string = ...
The string that is displayed when a user is saved.
turbogears.widgets.Form newuserform = user_edit_form(fields= edit_user_widget(), valid...
The new user form widget.
tubogears.widgets.Form edituserform = user_edit_form(fields= edit_user_widget(), vali...
The edit user form widget.
turbogears.widgets.Form newgroupform = group_edit_form(fields= edit_group_widget(), ac...
The new group form widget.
Variables Details [hide private]

user_save_string

The string that is displayed when a user is saved.
Type:
String
Value:
"""
"<div class='flash'>%s</div>
<div id='user_manager'>
    <div id='user_edit'>
        <form id='enomalism2_user_edit_form'>
             <div class="portal_action">
                <span class="portal_action_txt">User Saved</span>
            </div>
...

newuserform

The new user form widget.
Type:
turbogears.widgets.Form
Value:
user_edit_form(fields= edit_user_widget(), validator= new_user_schema(\
), action= turbogears.url("/modules/user_controller/user_save"), submi\
t_text= _("Save-User"))

edituserform

The edit user form widget.
Type:
tubogears.widgets.Form
Value:
user_edit_form(fields= edit_user_widget(), validator= edit_user_schema\
(), action= turbogears.url("/modules/user_controller/user_update"), su\
bmit_text= _("Update-User"))

newgroupform

The new group form widget.
Type:
turbogears.widgets.Form
Value:
group_edit_form(fields= edit_group_widget(), action= turbogears.url("/\
modules/user_controller/group_save"), submit_text= _("Save-Group"))