Hi all,

To my surprise i learn from the documentation that a query is possible
to create an editwizard optionlist.

I tried it out:

<?xml version="1.0"?>
<!DOCTYPE optionlist .... >
<optionlist name="images_metatags"
            optionid="[EMAIL PROTECTED]'thema.naam']"
            optioncontent="[EMAIL PROTECTED]'thema.naam']">
    <query xpath="/[EMAIL PROTECTED]">
        <object>
            <field name="thema.naam" />
            <field name="thema.naam" />
        </object>
    </query>
</optionlist>

However, when using it i get the error:

Foutmelding: WRONG_DOCUMENT_ERR: A node is used in a different document
than the one that created it.
Uitgebreide foutmelding:
org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node is used in a
different document than the one that created it.
        at org.apache.xerces.dom.ParentNode.internalInsertBefore(Unknown
Source)
        at org.apache.xerces.dom.ParentNode.insertBefore(Unknown Source)
        at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source)
        at
org.mmbase.applications.editwizard.Wizard.createPreHtml(Wizard.java:873)
        at
org.mmbase.applications.editwizard.Wizard.getPreForm(Wizard.java:263)
        at
org.mmbase.applications.editwizard.Wizard.writeHtmlForm(Wizard.java:514)
        at
nl.leocms.editwizard.WizardController.perform(WizardController.java:201)

Any idea what i am doing wrong?

Thanks in advance!

Regards, Henk.

Henk Hangyi
MMatch / MMBase consultancy and implementation
Hommelstraat 9A
NL-3061 VA Rotterdam
T. +31-(0)6-29054903
E. [EMAIL PROTECTED]
I. http://www.mmatch.nl

_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to