> 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)

Reply via email to