문제

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?

도움이 되었습니까?

해결책

Did you bind the object to the page?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top