Hey, thanks! I couldn't find anything in the documentation about this. Did I miss something or is my impression correct that the editwizards documentation is largely incomplete?
Rob van Maris Technical Consultant Quantiq xmedia & communication solutions Koninginneweg 11-13 1217 KP Hilversum T +31 (0)356257211 M +31 (0)651444006 E [EMAIL PROTECTED] > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Verelst > Sent: maandag 17 mei 2004 13:53 > To: MMBase developers > Subject: Re: Question: optionlist query in editwizards > > > > I have a nodetype "country", and a nodetype "user". > > One of the fields of user is "country", a NODE type field, > referring > > to a country, i.e. a node of type "country". In the basic > jsp-editor > > inputform, this field is automatically represented by a > select list, > > costructed from all available country nodes. I want the > same kind of > > select list in my editwizard. > > You can do this using the 'query' element in an optionlist: > > <optionlist name="newstype" > optionid="[EMAIL PROTECTED]'type']" > optioncontent="[EMAIL PROTECTED]'name']"> > <query xpath="/[EMAIL PROTECTED]"/> > </optionlist> > > See my post on the devlist from May 5th, where I propose an > extention to the query syntax to allow multilevel searches. > For your purpose, an > <query xpath="/[EMAIL PROTECTED]" /> > would suffice. > > Johannes > -- > [EMAIL PROTECTED] | It is always possible to agglutinate multiple > [EMAIL PROTECTED] | seperate problems into a single > complex inter- > PGP ID: 0xFED127BD | dependent solution. In most cases this is a > Tel: 035-6474202 | bad idea. (RFC 1925, Truth 5) >
