> -----Oorspronkelijk bericht----- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Namens Pierre van Rooden > Verzonden: vrijdag 14 januari 2005 11:44 > Aan: [email protected] > Onderwerp: Re: [Developers] precommit differences editwizards - taglib > > > > 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.
I get it, thanks Ernst > > -- > 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 > _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
