Re: Equivalent to WebResource in Wicket 1.5.8

2012-09-09 Thread Madasamy Sankarapandian
Thank you very much I used ByteArrayResource(String contentType, byte[] array, String filename) constructor.

Equivalent to WebResource in Wicket 1.5.8

2012-09-07 Thread Madasamy Sankarapandian
Right now i migrating my application from wicket 1.4.x to 1.5.8 In wicket 1.4.x For view the image i used MyResource class which is extends the WebResource class. The coding is add(Image(image,MyResource(new File(path))); WebResource#getResourceStream() are Removed from wicket 1.5.x What

Re: Equivalent to WebResource in Wicket 1.5.8

2012-09-07 Thread Martin Grigorov
Hi, I think the easiest for would be to extend org.apache.wicket.request.resource.ByteArrayResource. On Fri, Sep 7, 2012 at 10:38 AM, Madasamy Sankarapandian madas...@mcruncher.com wrote: Right now i migrating my application from wicket 1.4.x to 1.5.8 In wicket 1.4.x For view the image i