Hi I want to create a node which is not added/attached to any node in the workspace.
Thank u very much ramesh -----Ursprüngliche Nachricht----- Von: Nicolas [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 24. August 2006 14:26 An: [email protected] Betreff: Re: creating node Hi, Here is an example from the website: Node root = session.getRootNode(); // *Store content* Node hello = root.addNode("hello"); Node world = hello.addNode("world"); world.setProperty("message", "Hello, World!"); session.save(); Here is the link: http://jackrabbit.apache.org/doc/firststeps.html By the way, you should create your app root, it is deemed as a good practive. BR Nico my blog! http://www.deviant-abstraction.net !! On 8/24/06, Ramesh Devaraj <[EMAIL PROTECTED]> wrote: > > Hi > > Is there any to create a Node than attach to the root node > > For example like this > > Node a = createNode("a"); > > Session.getRootNode().addNode(a) > > Thank in Advance > > Devaraj Ramesh > > Maas High Tech Software GmbH > Hornbergstr. 49 > 70794 Filderstadt > Germany > > > http://www.maas.de - Wir integrieren Zukunft > > Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte > Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail > irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und > vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte > Weitergabe dieser Mail ist nicht gestattet. > > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in > error) please notify the sender immediately and destroy this e-mail. Any > unauthorized copying, disclosure or distribution of the material in this > e-mail is strictly forbidden. > > >
