Re: [Wicket-user] best practice for uploading and using content (images) with wicket?

2006-08-23 Thread Sebastian Pflugbeil
Well, thanks a lot, thats really much more simple then i figured =P. Maybe any pointers why the stream from the file system doesnt work? ;) igor.vaynberg wrote: your problem is not retreiving the data from the db - it is the weird stuff you try to do when stream it back to the browser. why

Re: [Wicket-user] best practice for uploading and using content (images) with wicket?

2006-08-23 Thread Korbinian Bachl
it easily) Regards, Korbinian -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Sebastian Pflugbeil Gesendet: Mittwoch, 23. August 2006 11:24 An: wicket-user@lists.sourceforge.net Betreff: Re: [Wicket-user] best practice for uploading

Re: [Wicket-user] best practice for uploading and using content (images) with wicket?

2006-08-23 Thread Igor Vaynberg
11:24 An: wicket-user@lists.sourceforge.net Betreff: Re: [Wicket-user] best practice for uploading and using content (images) with wicket? Well, thanks a lot, thats really much more simple then i figured =P. Maybe any pointers why the stream from the file system doesnt work? ;) igor.vaynberg wrote

Re: [Wicket-user] best practice for uploading and using content (images) with wicket?

2006-08-22 Thread Eelco Hillenius
Hi, I haven't read through your whole email, but the cdapp example in wicket-contrib-examples which you can find in the wicket-stuff repository has functionality for uploading an image (edit details of a cd), which is then stored in the database. That image is then displayed as a thumbnail and

Re: [Wicket-user] best practice for uploading and using content (images) with wicket?

2006-08-22 Thread Igor Vaynberg
your problem is not retreiving the data from the db - it is the weird stuff you try to do when stream it back to the browser. why all the awt image stuff? all you have to do is read the byte array from the db and stream it back to the browser. here is some pseudo codeadd(new Image(myimage) {