<
From version < 36.1 >
edited by Fabio Mancinelli
on 2011/11/08
To version < 37.1 >
edited by Fabio Mancinelli
on 2011/11/08
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -902,7 +902,7 @@
902 902  {{code language="xml"}}
903 903  <object xmlns="http://www.xwiki.org">
904 904   <className>XWiki.TestClass</className>
905 - <property name="Text">
905 + <property name="text">
906 906   <value>Whatever you want to put here</value>
907 907  </property>
908 908  </object>
... ... @@ -922,7 +922,7 @@
922 922  where ##test.txt## contains something like:
923 923  
924 924  {{code}}
925 -className=XWiki.TestClass&property#Test=Whatever+you+want
925 +className=XWiki.TestClass&property#test=Whatever+you+want
926 926  {{/code}}
927 927  
928 928  Or, better, you can use directly curl to specify these parameters
... ... @@ -933,7 +933,7 @@
933 933   -X POST -H "Content-type: application/x-www-form-urlencoded"
934 934   -H "Accept: application/xml"
935 935   -d "className=XWiki.TestClass"
936 - -d "property#Test=Whatever you want"
936 + -d "property#test=Whatever you want"
937 937   http://localhost/xwiki/rest/wikis/xwiki/spaces/Test/pages/Test/objects
938 938  {{/code}}
939 939  

Get Connected