I'm trying to edit a object in a wiki page

I created a class with name = "Test.Message" and a single string attribute
named "text"

I put this code in a page 

    {{velocity}}

    {{html clean="false" wiki="true"}}
    #set($mobj=$doc.getObject("Tests.Message",true))
    $mobj.display("text",$context.action)<p/>
    {{/html}}  

    {{/velocity}}

It show the form but when I save the page the object is not saved/updated.
What am I doing wrong?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Update-objects-editing-a-page-tp7585001.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to