Ralf Hirning ha scritto:
Hi Matteo,
You can find this in the JCR spec (7.1.4 Adding Nodes, page 176):
In order to save a newly added node, save must be called either on the
Session, or on the new node's parent or higher-order ancestor
(grandparent, etc.). An attempt to call save only on the newly added
node will throw a RepositoryException.
Ralf
Thank you Ralf,
I had missed that passage.
Matteo
----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------