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

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -