Nico Klasens wrote:
> 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?

I find it no matter of support but of clear syntax. I think it would
make complete sense that if you type <field ftype="data" name="handle"
/> that it should than generate a img-src to the image-servlet? What
else should it do?

'displaytype="images"' would not have been needed, and would not need
documentation.

Btw, your point that image-servlet can only serve 'handle' is good, it
seems easy to fix that when it is needed, but I hardly think it
currently is, because I've never heard any complaints from someone who
wanted 2 handle fields in his record or so. But it is imaginable,
perhaps we'd ought to make it possible once...

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

Reply via email to