Another option could be to use Image and override onComponentTag
Juergen
On 11/14/05, James Yong <[EMAIL PROTECTED]> wrote:
> Johan Compagner <jcompagner <at> gmail.com> writes:
>
> >
> >
> > Of course you save youre files to a server you have to know the folder where
> you have write access.
> > Then you can load them from that location just as fine as reading them from
> > a
> database.
> >
> Hi,
>
> I used a label to generate the img tag. It works for me. But I am not sure if
> there is a more correct way to do. Any comments?
>
> listItem.add(new Label("file_img", "<img src='" + childfolder + "/" +
> file.getName() + "'
> />").setEscapeModelStrings(false).setRenderBodyOnly(true));
>
> Regards,
> james
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user