new Prefs(app, ui, view)
- Description:
Object preferences rendering
Parameters:
Name | Type | Description |
---|---|---|
app |
Simplicite.Ajax | Ajax service |
ui |
Simplicite.UI.Engine | Main UI controller |
view |
Simplicite.UI.View.Main | View services |
Methods
bookmarks(ctn, bm, p)
- Description:
Display the user's bookmarks
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jquery | optional container (default popup) |
bm |
Object | bookmarks |
p |
Object | options show=top|bottom |
display(ctn, o, p)
- Description:
Build the object preferences dialog
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
jQuery | parent container |
|||||||||||||||||||||||||||
o |
Simplicite.Ajax.BusinessObject | object |
|||||||||||||||||||||||||||
p |
Object | parameters Properties
|
userFilters(ctn, obj, id, p)
- Description:
Display the dialog of user global filters
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jquery | optional container (dialog if null) |
obj |
Simplicite.Ajax.BusinessObject | UserFilters object |
id |
string | UserFilters id |
p |
Object | options |
userFiltersBadge(ctn, data, remove, click)
- Description:
Badge of a user filter
Parameters:
Name | Type | Description |
---|---|---|
ctn |
jQuery | badges container |
data |
Object |
|
remove |
function | optional handler to remove filter (if not required) |
click |
function | optional handler on click |
userFiltersTitle(ctn, obj)
- Description:
Title of user filters
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | optional container (#userfilters if null) |
obj |
Simplicite.Ajax.BusinessObject | UserFilters object |