I allready solved it. My confusion was coused by the fact that <field name="handle" ftype="data"/> dous not work. But after removing the ftype attribute it was ok. I must say i find the displytype attribute on the item element a bit of a mystery. It is not documented and there seems to be a scope issue. If you declare this item to have a display type of 'image', you suggest that the entire body contenst should be displayed as an image. bit funny, that.
regards, Ernst > -----Oorspronkelijk bericht----- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Namens Nico Klasens > Verzonden: donderdag 13 januari 2005 20:34 > Aan: [email protected] > Onderwerp: RE: [Developers] image thumbnails in the wizard list items > > > You only have to do something like this > > <item displaytype="image"> > <field ftype="data" name="title" /> > <field ftype="startwizard" > wizardname="config/images/images" /> > </item> > > The displaytype will instruct the editwizard to genereate a > img-src to the imageservlet. The imageservlet does only > support one field (handle) so why should the editwizards support more? > > Nico > > > -----Oorspronkelijk bericht----- > > Van: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Namens Michiel Meeuwissen > > Verzonden: dinsdag 11 januari 2005 17:18 > > Aan: Ernst Bunders > > CC: [email protected] > > Onderwerp: Re: [Developers] image thumbnails in the wizard > list items > > > > > > Ernst Bunders wrote: > > > I discovered that if i use > > > > > > <list role="posrel" destination="images" minoccurs="1" > > > orderby="[EMAIL PROTECTED]'pos']" ordertype="number"> > > > <title>Voeg een plaatje aan dit site onderdeel toe</title> > > > <item displaytype="image"> > > > <field name="handle"/> > > > > > > and omit the ftype attribute it works, so i guess that is ok. > > > thanks anyway > > > > > > I don't know if that is ok. It hardly makes sense to me, > > because the item can contain more than one field, so why is > > its displaytype 'image', while only one of its fields is an > > image. Your original syntax was easier to understand, isn't > > it, and I don't see why it couldn't work. I would not give up > > so easily, as far as i'm concerned it's a flaw. > > > > Michiel > > > > > > > > > > -- > > Michiel Meeuwissen mihxil' > > Mediacentrum 140 H'sum [] () > > +31 (0)35 6772979 nl_NL eo_XX en_US > > > > > > > > _______________________________________________ > > Developers mailing list > > [email protected] > > http://lists.mmbase.org/mailman/listinfo/developers > > > > _______________________________________________ > Developers mailing list > [email protected] > http://lists.mmbase.org/mailman/listinfo/developers > _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
