See org.apache.wicket.markup.IMarkupResourceStreamProvider

public class BirtReport extends WebMarkupContainer implements
IMarkupResourceStreamProvider  {

   public IResourceStream getMarkupResourceStream(final
MarkupContainer container, Class<?> containerClass) {

      // do your BIRT logic here
      return new AnyIResourceStreamThatFitsYourNeeds(birtResult)
   }
}

On Fri, Jul 8, 2011 at 4:21 AM, Julian Sinai <[email protected]> wrote:
> I am using the BIRT Report Engine API. It generates html that I want to
> display in a Panel or a WebMarkupContainer. The API requires me to hand it a
> java.io.OutputStream, which it then writes to. How do I obtain a stream from
> Wicket in a way that the BIRT output can be inserted in my Panel?
>
> Any help is appreciated.
> Julian
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to