What interests me is that creating a node with the wizards there is no
call to precommit() while the node is still virtual (no number), and
even when insert() is called for the new node the nodenumber is allready
there. Using the taglib this is not the case, insert() is called with a
virtual node with number -1.

This is not due to the wizards, but because of the use of transactions. When you use transaction, nodenumbers for new nodes are obtained so references to these new nodes can be resolved by the transactionmanager.
Hence when insert is called, those nodes allready have a node number assigned.


--
Pierre van Rooden
Mediapark, C 107 tel. +31 (0)35 6772815
"Some Drink at the Fountain of Knowledge. Others Just Gurgle."

_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to