You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dwi Ardi Irawan <dw...@nwa.iao.co.id> on 2006/05/15 04:12:42 UTC

Report in Tapestry using Jasperreport

does anyone try jasperreports in tapestry ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Report in Tapestry using Jasperreport

Posted by Henri Dupre <he...@gmail.com>.
This is really nice! Could you put it in the tapestry wiki? I'm sure it will
help many people!

Henri.


On 5/15/06, Lothar Reisinger <sw...@reisinger-training.de> wrote:
>
> Hi,
>
> I implemented that as a service in Tapestry 4. You may have a look to
> the source code at
> http://www.lrtb.de/tapestry/JasperPdfDownloadService.java
>
> The service should work outside the framework it is written for. The
> only thing you must change is the framework specific HibernateSession
> injection. It is only used to get an active JDBC connection in method
> prepareReport.
>
> Dwi Ardi Irawan schrieb:
> > does anyone try jasperreports in tapestry ?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Thanks,

Henri.

Re: Report in Tapestry using Jasperreport

Posted by Lothar Reisinger <sw...@reisinger-training.de>.
Hi,

I implemented that as a service in Tapestry 4. You may have a look to 
the source code at http://www.lrtb.de/tapestry/JasperPdfDownloadService.java

The service should work outside the framework it is written for. The 
only thing you must change is the framework specific HibernateSession 
injection. It is only used to get an active JDBC connection in method 
prepareReport.

Dwi Ardi Irawan schrieb:
> does anyone try jasperreports in tapestry ?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Hos to custom CSS in Contrib:Table for just one row

Posted by Dwi Ardi Irawan <dw...@nwa.iao.co.id>.
.html
==================================
<table jwcid="mytable" class="distribusi"/> // css will make the whole
                                             //<td> tag have "center"
                                             //align

<span jwcid="bColumnValue@Block">  // but, how to not implemented it in
                                    //this <td> tag and //
                                    //change it align to "left" (only
                                    //this <td> block statement) ?????

    <img jwcid="@Image" image="ognl:assets.checkImage"/>
  </span>

.page
===========================================
<component id="mytable" type="contrib:Table">
         <binding name="columns" expression="'a:A Action:a
                                             ,b:B Action:b
                                             ,c:C Action:c'"/>
         <binding name="source" expression="tableList"/>
  </component>

.css
============================================
.distribution table {
     text-decoration:none;
     text-align: left;
}
.distribution th {
     text-align: center;
     background-color: #C0E3FA;
}
.distribusi td {
     text-align: center;
}



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Hos to custom CSS in Contrib:Table for just one row

Posted by Dwi Ardi Irawan <dw...@nwa.iao.co.id>.
.html
==================================
<table jwcid="mytable" class="distribusi"/>    // css will make the 
whole <td> tag have "center" align

<span 
jwcid="bColumnValue@Block">                                           // 
but, how to not implemented it in this <td> tag and
   <img jwcid="@Image" image="ognl:assets.checkImage"/>          // 
change it align to "left" (only this <td> block statement) ?????
 </span>

.page
===========================================
<component id="mytable" type="contrib:Table">
        <binding name="columns" expression="'a:A Action:a
                                            ,b:B Action:b
                                            ,c:C Action:c'"/>
        <binding name="source" expression="tableList"/>      
 </component>

.css
============================================
.distribution table {
    text-decoration:none;
    text-align: left;
}
.distribution th {
    text-align: center;
    background-color: #C0E3FA;
}
.distribusi td {
    text-align: center;
}


Re: Report in Tapestry using Jasperreport

Posted by Konstantin Ignatyev <kg...@yahoo.com>.
 I did that as a service in Tapestry 3, works perfectly. 
Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million tons of carbon to the atmosphere, destroy 115 square miles of tropical rainforest, create seventy-two miles of desert, eliminate between forty to one hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a Strategy for Reforming Universities and Public Schools.  New York:  State University of New York Press, 1997: (4) (5) (p.206)

----- Original Message ----
From: Dwi Ardi Irawan <dw...@nwa.iao.co.id>
To: Tapestry users <us...@tapestry.apache.org>
Sent: Sunday, May 14, 2006 7:12:42 PM
Subject: Report in Tapestry using Jasperreport

does anyone try jasperreports in tapestry ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org