Thanks a lot, that does the trick :-)

Greetz,

- Kors

-----Oorspronkelijk bericht-----
Van: Nico Klasens [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 15 april 2004 19:09
Aan: [EMAIL PROTECTED]
Onderwerp: RE: Editwizards question...


Hi Kors,

If you open the wizard with the nodenumber of the content_item then you can
do something like this. I left out some things, but this will be the basics.

<wizard-schema>
  <form-schema>
    <field name="start_date" ftype="datetime"/>
    <field name="end_date" ftype="datetime"/>
    <field name="publication_date" ftype="datetime"/>
    <list role="related" destination="images">
      <item>
        <field name="title" ftype="line" />
      </item>
    </list>
  </formschema>
  <action type="create">
    <object type="content_item">
      <relation role="related"> //maybe you have to add
destinationtype="images" here
        <object type="images"/>
      </relation
    </object>
  </action>
<wizard-schema>

Nico

--------------------------------------------------------------------
If you have a procedure with 10 parameters, you probably missed some.

> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Kors van Beem
> Verzonden: donderdag 15 april 2004 16:41
> Aan: '[EMAIL PROTECTED]'
> Onderwerp: Editwizards question...
> 
> Hi there,
> 
> I'm wondering if and how the following is possible:
> 
> I have two objects with a  1 - 1 relation: "images" and 
> "content_item".
> "images" contains image specific data (like title and 
> handle), "content_item" contains data about the publication 
> (like start_date and end_date).
> 
> Now I would like to be able to edit the all the data of the 
> image (title AND
> publicationdata) in ONE editwizard. Is this possible?
> 
> Greetings,
> 
> - Kors
> 


Reply via email to