Hi all Leaving out the CN_Webpagina doesn't solve anything.
This is the error I receive now. I don't kwow why I didn't receive the error earlier. Error: Error on line 15 (column 138) of schema xml file file:/usr/jakarta-tomcat-4.1.18/webapps/cultuurnet/edit/editwizards/wizards/ CN_Nieuws/add_hoofdonderdeel.xml: Attribute "constraints" must be declared for element type "command". The error message is wrong, should say that constraints cannot be defined. I checked the DTD on http://www.mmbase.org/dtd/wizard-schema_1_0.dtd and indeed, constraints in not listed as an allowed attribute in the command tag Toon > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Henk Hangyi > Sent: Thursday, August 28, 2003 12:18 PM > To: [EMAIL PROTECTED] > Subject: RE: editwizard Search command and constraints > > > Hi Toon, > > > <command name="search" nodepath="CN_Webpagina" > > constraints="CN_Webpagina.hoofdonderdeel=1" fields="navigatienaam" > > orderby="navigatienaam" age="-1"> > > Did you try it without the CN_Webpagina before hoofdonderdeel, like: > > <command name="search" nodepath="CN_Webpagina" > constraints="hoofdonderdeel='1'" fields="navigatienaam" > orderby="navigatienaam" age="-1"> > > Regards, Henk. >
