Hi,
when i try to update column FIRSTCOMMENT (it is the number of picture
from IMAGES table) in table COMMENTS (which is not in relation with
IMAGES table) <wizard-schema id="empty">
<action type="create">
<object type="comments"></object> </action>
<steps><step form-schema="step1" /></steps>
<form-schema id="step1">
<list minoccurs="1" maxoccurs="1" ordertype="number"
orderby="[EMAIL PROTECTED]'firstcomment']" destination="comments">
<command name="search" nodepath="images" fields="title"
age="-1" orderby="number" directions="down" >
<search-filter>
<search-fields>title</search-fields>
</search-filter>
<search-filter>
<search-fields>description</search-fields>
</search-filter>
</command>
<action type="create">
<object type="comments" >
<field name="firstcomment"></field>
</object>
</action> </list>
</form-schema>
</wizard-schema>
i get exception
Error: Could not find action (add or create) to add a item to list with id f_1
Expanded error:
org.mmbase.applications.editwizard.WizardException: Could not find
action (add or create) to add a item to list with id f_1
at
org.mmbase.applications.editwizard.Wizard.addListItem(Wizard.java:2248)
Is it event possible to update table with command name="search"
when there is no relation?
Thx
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers