hi. i found my error: it should be: #set($space = $doc.web) and it takes my current space. in which it creates the new page.
#set($space = $doc.web) spaceul meu : $space #set($text = $!request.text ) afisare textfield: $text #set ($mydoc = $xwiki.getDocument("${space}.${text}")) $mydoc.setContent("test") $mydoc.save() Take care , Gabriela Radu :) www.gabrielaradu.com _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users