Hi Emile, The "default" way of creating objects / nodes is by using the MMBase editors.
On the 1.7 release they can be found at http://youradres:yourport/mmbase/edit/index.jsp Kind regards, Henk. MMatch / MMbase consultancy and implementation Hommelstraat 9A NL-3061 VA Rotterdam T. +31-(0)6-29054903 E. [EMAIL PROTECTED] I. http://www.mmatch.nl > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Emile > Sent: Saturday, April 17, 2004 10:48 PM > To: [EMAIL PROTECTED] > Subject: Re: org.mmbase.bridge.NotFoundException > > > Hi Henk > > thanks for the reply. That's the problem really - I thought > I had created > the default ... in > WEB-INF\config\applications\Machinery\machines.xml, but > apparently this is not the case. Is there somewhere else I should be > creating it? > > the xml content: > <?xml version="1.0" encoding="utf-8"?> > <machines exportsource="mmbase://www.mmbase.org/mmexamples/Machinery" > timestamp="20020516170724"> > <node number="9995" owner="system" alias="default.machines"> > .... etc. > > Regards > Emile > > ----- Original Message ----- > From: "Henk Hangyi" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, April 17, 2004 4:14 AM > Subject: RE: org.mmbase.bridge.NotFoundException > > > > Hi Emile, > > > > In your JSP code there is probably something like <mm:node > > number="default.machines"> .... </mm:node> and there is no object in > > your cloud with the object alias "default.machines". If you create a > > node with that alias the error will probably disappear. > > > > Kind regards, Henk. > > > > T. +31-(0)6-29054903 > > E. [EMAIL PROTECTED] > > I. http://www.mmatch.nl > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > On Behalf Of Emile > > > Sent: Saturday, April 17, 2004 9:16 PM > > > To: [EMAIL PROTECTED] > > > Subject: org.mmbase.bridge.NotFoundException > > > > > > > > > Hi All > > > > > > Having copied and pasted the mags object into a "machines" > > > object, I get the > > > folowing error: > > > Something went wrong while getting node with number > > > 'default.machines': Node > > > not found !! (key = 'default.machines') > > > > > > I've created the default object in - > > > WEB-INF\config\applications\Machinery > > > as machines.xml. I created it all by hand and had to > guess a new node > > > number, so created on from the ether, randomly. > > > > > > Where have I gone wrong? > > > > > > Regards > > > Emile > > > > > > > > > > > > > > > > > > > > > > >
