velocity - Edit objects in a page with Xwiki -
i'm trying edit object in wiki page
i created class name = "test.message" , single string attribute named "text"
i put code in page
{{velocity}} {{html clean="false" wiki="true"}} #set($mobj=$doc.getobject("tests.message",true)) $mobj.display("text",$context.action)<p/> {{/html}} {{/velocity}}
it show form when save page object not saved/updated. doing wrong?
did bind object page?
Comments
Post a Comment