Yes, you can use (even multilevel-)queries to fill optionslists. It's
somewhere in the documentation ;-)

http://www.mmbase.org/mmdocs/frontenddevelopers/editwizard/editwizard-reference.html

Go to the 'optionlist' syntax:

Possible childnodes

    <query> This childnode can be used instead of <option> childnodes
to fill the optionlist with options. The query has three attributes:
optional 'where' and 'orderby' clauses and a required 'xpath' clause.
The xpath can have the following syntax:

        *

          /[EMAIL PROTECTED], in this case a nodequery will be performed.
        *

          /[EMAIL PROTECTED],otherbuildername,..., in this case a
multilevel query will be performed. When doing a multilevel query,
there must be a <object> childnode with two <field> childnodes for the
'optionid' and 'optioncontent' arguments of the optionlist.


On Fri, 5 Nov 2004 10:31:53 +0100, Ernst Bunders <[EMAIL PROTECTED]> wrote:
> Hello
> Is it possible to load an optionlist xml part from an url in stead of
> file system. It would be nice to create the option lists in the cloud
> 
> ernst
> 
>

Reply via email to