On 11/14/05, Sylvain Vieujot <[EMAIL PROTECTED]> wrote:
>  I don't like this external config file.
>  I think the proper way of doing this is to overload the Kupu method that
> configures the images library box.
>
>  So, we could pass to the inputHtml tag a Map containing images URLs as Key,
> and Images descriptions as held Objects.
>
>  What do you think ?

Yes, we could. Sure.

I had thought before looking how Kupu works, that I could pass a list
of ItemSelect to this component, and fill the combo list of the image
toolbox with it. Or give it the name of a directory and fill it with
everything it contains.

But this will not show the "beutiful" dialog box with images,
previews, and so on.

Propably I can generate kupu's imagelibrary configuration file
automatically  from both sources (list of something and directory
name), so we can use kupu's dialog box, which could be more pleasant,
but probably without image preview (or preview it the same size, I'll
take a look).

Anyway, I will try to remove this config file, neither do I like it.

   al.

Reply via email to