That's it!! Thanx!!

> -----Oorspronkelijk bericht-----
> Van: Nico Klasens [mailto:[EMAIL PROTECTED]
> Verzonden: woensdag 23 juli 2003 11:35
> Aan: '[EMAIL PROTECTED]'
> Onderwerp: RE: Editwizard, lists in lists?
> 
> 
> I think, this should work
> 
>       <action type="load">
>       <relation destination="t_page" role="posrel">
>          <object>
>                       <relation role="posrel">
>                               <object type="t_episode"/>
>                       </relation>
>               </object>
>       </relation>
>    </action>
> 
> Nico Klasens
> 
> Finalist IT Group
> Java Specialists
> 
> 
> -----Oorspronkelijk bericht-----
> Van: Sandra Hibma [mailto:[EMAIL PROTECTED] 
> Verzonden: woensdag 23 juli 2003 10:23
> Aan: [EMAIL PROTECTED]
> Onderwerp: Editwizard, lists in lists?
> 
> 
> Hello,
> 
> I'm trying in the Editwizards to make a list in a list. 
> According to the
> documentation it is possible. The situation is like this: I 
> have a t_page,
> that t_page has a posrel relation to another t_page. This 
> last t_page has
> relations to t_episode.
> 
> (path=t_page,t_page2,t_episode)
> 
> The editwizard (of the first t_page) works only half. I can 
> create and add
> t_episodes to the second t_page (t_page2), but it does not SHOW the
> t_episodes that are related. I think it has something to do 
> with loading the
> relation (action type="load"), but I don't know where in the 
> code I must
> load this relation.
> 
> The example code of  the editwizard of (the first) t_page  (the short
> version of course and without includes). 
> 
> 
> <form-schema id="add_info2">
>   <title>Koppel uitzendingen</title>
>   <field name="title" ftype="data">
>     <prompt>Titel</prompt>
>     <description></description>
>   </field>
>   
>   <list role="posrel" destination="t_page" minoccurs="0" maxoccurs="1"
>   ordertype="number" orderby="[EMAIL PROTECTED]&apos;pos&apos;]">
> 
>     <title>Gerelateerde pagina</title>
>     <item>
>        <field name="title" dtminlength="1">
>           <prompt>Titel in MMBase</prompt>
>        </field>
>        <field name="extra">
>           <prompt>Titel van de pagina</prompt>
>        </field>
>        <field name="description" ftype="text" rows="3">
>           <prompt>Beschrijving</prompt>
>        </field>
>        <field fdatapath="[EMAIL PROTECTED]&apos;pos&apos;]">
>           <prompt>Positie</prompt>
>        </field>
> 
>        <list role="posrel" destination="t_episode"
>        minoccurs="0" maxoccurs="*"
>        ordertype="number" orderby="[EMAIL PROTECTED]&apos;pos&apos;]">
> 
>           <title>Gerelateerde uitzendingen</title>
>           <item>
>              <field name="title" ftype="data">
>                <prompt>Titel</prompt>
>                <description></description>
>              </field>
>              <field name="subtitle" ftype="data">
>                 <prompt>Subtitel</prompt>
>                 <description></description>
>              </field>
>              <field name="intro" ftype="data">
>                 <prompt>Intro</prompt>
>                 <description></description>
>              </field>
>           </item>
>          </list>      
>     
>     </item>
>   </list>     
> 
> </form-schema>
> 
> Any ideas?
> 
> Regards Sandra Hibma
> 
> --------------------------------
> Teleac/NOT
> Sandra Hibma
> Web Application Developer
> [EMAIL PROTECTED]
> 035 - 62 93 478
> www.teleac.nl & www.schooltv.nl
> --------------------------------
> 
> 
> 
> 
> 

Reply via email to