You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by Apache Wiki <wi...@apache.org> on 2010/10/19 17:02:42 UTC
[Jackrabbit Wiki] Update of "ExamplesPage" by Andreas
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.
The "ExamplesPage" page has been changed by Andreas.
http://wiki.apache.org/jackrabbit/ExamplesPage?action=diff&rev1=35&rev2=36
--------------------------------------------------
void rename(Node node, String newName) throws RepositoryException
{
node.getSession().move(node.getPath(), node.getParent().getPath() + "/" + newName);
+ node.getSession().save();
}
}}}