Hi Eduard
Thank you very much for your suggestion, this makes the situation a
little more transparent,
But i can´t edit the action buttons in the WebHome Page in my app,
because the "real WebHome"
just includes following:
{{include reference="Qualitycall.Data.WebHome" /}}
So i modified the string to fit in my template and put a #set before
because otherwise i see just the velocity script as text in the
"Qualitycall.Data.WebHome" Page of my app.
But now i get an velocity error.
Here is the full code of the WebHome Page of my app
-------------------------------
{{velocity}}
#set ($columnsProperties = {
'Distributor': {"type":"number","size":10},
'vpid': {"type":"number","size":10},
'Zahlungsart': {"type":"text","size":10},
'Vertragsnummer': {"type":"number","size":10},
'Betreff': {"type":"text","size":10},
'Bemerkung':
{"type":"text","filterable":false,"sortable":false,"html":true},
'doc.author':
{"type":"text","size":10,"link":"author"},
'doc.creationDate': {"type":"text","size":10}
})
#set ($options = {
'className': 'Qualitycall.Code.QualitycallClass',
'translationPrefix': 'qualitycall.livetable.',
'tagCloud': true,
'rowCount': 15,
'maxPages': 10,
'selectedColumn': 'Distributor',
'defaultOrder': 'asc'
})
#set ($columns = ['Distributor', 'vpid', 'Zahlungsart',
'Vertragsnummer', 'Betreff', 'Bemerkung', 'doc.author',
'doc.creationDate'])
#livetable('qualitycall' $columns $columnsProperties $options)
#set ($xwiki.getDocument("Qualitycall.Data.1", "edit",
"template=Qualitycall.Code.QualitycallTemplate&parent=Qualitycall.WebHome&editor=inline")
{{/velocity}}
-------------------------------
Am 17.03.2016 um 13:18 schrieb Eduard Moraru:
$xwiki.getDocument("<appName>.Data.<entryName>", "edit",
"template=test.Code.testTemplate&parent=test.WebHome&editor=inline")