Refactored builder interface.

The IPA.entity_builder has been modified to take a 'factory' parameter
in custom facet's and custom dialog's spec. The IPA.dialog has been
modified to take an array of fields in the spec. The IPA.search_facet
has been modified to take an array of columns in the spec.
This commit is contained in:
Endi S. Dewata
2011-04-07 16:14:58 -05:00
committed by Endi Sukma Dewata
parent f0f83a862e
commit 689fd30b52
9 changed files with 103 additions and 68 deletions

View File

@@ -47,8 +47,8 @@ IPA.entity_factories.group = function () {
name:'details',
fields:['cn','description','gidnumber']
}]}).
facet( IPA.association_facet({
'name': 'member_user',
association_facet({
name: 'member_user',
columns:[
{
name: 'uid',
@@ -72,7 +72,7 @@ IPA.entity_factories.group = function () {
}
]
})).
}).
association_facet({
name: 'memberof_group',
associator: IPA.serial_associator