Re: wicket-jasper UI

2009-05-04 Thread raviJPYADAV

Thanks Juha for your reply, though i wanted some java sample code but
whatever instruction you have written is sufficient for me i think.

--Ravi

Juha Palomäki wrote:
> 
> Here are some rough instructions. If you for example want to embed the
> HTML report on a web page, you need:
> - instance of JRResource (there are several implementations, depending
> on what kind of output you want to have)
> - a  report (either as File or as InputStream)
> - datasource
> 
> 1. Instantiate new JRHtmlResource, pass the File or InputStream to the
> constructor, depending on where you compiled report-file is coming
> from.
> 
> 2. Use the setConnectionProvider to pass in an implementation of
> IDatabaseConnectionProvider that will return a JDBC connection to the
> database
> 
> 3. Specify report parameters with setReportParameters method. At least
> some older versions require you to do this even if you don't have
> parameters to pass (you can use an empty map).
> 
> 4. In order to render the report, you just use EmbeddedHtmlReport
> component, which takes in the JRResource reference and otherwise acts
> as a normal label.
> 
> If you want to provide links to the reports, you can use
> JRResourceLink component which takes in JRResource.
> 
> Br,
> Juha
> 
> On Mon, May 4, 2009 at 8:42 AM, raviJPYADAV 
> wrote:
>>
>> Hi , can you please share some sample code how to integrate this api with
>> our
>> code?
>>
>> --Ravi
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/wicket-jasper-UI-tp22634657p23381203.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicket-jasper UI

2009-05-03 Thread raviJPYADAV

Hi , can you please share some sample code how to integrate this api with our
code?

--Ravi

freak182 wrote:
> 
> Hello,
> 
> I just wanna share this simple project called wicket-jasper. It is
> basically jasperreports embeded in wicket. If you wanna share your idea or
> added some features,please do so. Anyway, our company is already using it
> please see the attached files. 
> 
> Thanks. Cheers
> 
>  http://www.nabble.com/file/p22634657/wicket-jasper.tar wicket-jasper.tar 
> 

-- 
View this message in context: 
http://www.nabble.com/wicket-jasper-UI-tp22634657p23363178.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org