I all, i'm really newbie user of displaytag and need
an help to understand how to use the export view in
the right way...i've created a table with some values
and i need to export those in an excel and/or a pdf
file but i want to have not only the values in the
columns but also other values that i've put in a
footer and in a caption tag but i was unable to
understood in what way i can obtain that.
Is the right way to define a new view? and if yes how
i can do that?
i've added the code of my table at the end of this
mail to be clear as much as possible.
Obiviously i've read all the documentation of the site
but i haven't found what i'm searching for...

thank's in advance
hope you can help me.....and sorry for my bad english
:D


<display:table name="dTForm.listDails" pagesize="10"
id="ril" export="true"
requestURI="/prepareDetailsT.do" class="grigio1"
decorator="...(mydecorator).displaytag.decorator.Wrapper">
                <display:caption>
                        <br><p class="bold10" align="center">blablabla
                </display:caption>
                <display:column class="grigio" property="giorno"
title="Giorno" group="1" style="width:
25%;vertical-align: middle;"/>
                <display:column class="grigio"
property="nome_progetto" title="Progetto" group="2"
style="width: 25%;vertical-align: middle;"/>
                <display:column class="grigio"
property="nome_attivita" title="Attività"
style="width: 25%;vertical-align: middle;"/>
                <display:column class="grigio" property="num_ore"
title="N° Ore" style="width: 15%;vertical-align:
middle;"/>
                <display:footer>
                        <tr>
                                <td class="grigio1" bgcolor="#666699">
                                        Totale Attività    : <bean:write
name="dTForm" property="total1"/><br>
                                        Totale Assenza     : <bean:write
name="dTForm" property="total2"/><br>
                                        Totale Lavoro      : <bean:write
name="dTForm" property="total3"/><br>
                                        Totale Lavorati : <bean:write
name="dTForm" property="total4"/>
                                </td>
                        </tr>
                </display:footer>
                <display:setProperty name="export.excel.filename"
value="RilT.xls" />
                <display:setProperty name="export.pdf.filename"
value="RilT.xls" />
</display:table>


      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to