Exemple #1
0
def componentInp(request,centre_id,component_id):
    ''' Return inputs for a component '''
    c=componentHandler(centre_id,component_id)
    return c.inputs(request)
Exemple #2
0
def componentCopy(request,centre_id,component_id):
    c=componentHandler(centre_id,component_id)
    return c.copy()
Exemple #3
0
def componentTxt(request,centre_id,component_id):
    ''' Return a textual view of the component with possible values '''
    c=componentHandler(centre_id,component_id)
    return c.XMLasText()
Exemple #4
0
def componentRefs(request,centre_id,component_id):
    ''' Manage the references associated with a component '''
    c=componentHandler(centre_id,component_id)
    return c.manageRefs(request)
Exemple #5
0
def componentSub(request,centre_id,component_id):
    ''' Add a subcomponent onto a component '''
    c=componentHandler(centre_id,component_id)
    return c.addsub(request)
Exemple #6
0
def componentEdit(request,centre_id,component_id):
    ''' Edit a component '''
    c=componentHandler(centre_id,component_id)
    return c.edit(request)
Exemple #7
0
def componentAdd(request,centre_id):
    ''' Add a component '''
    c=componentHandler(centre_id)
    return c.edit(request)