well, still it's not working. attached it's the pdf file that my application is creating.
cheers,
German
On 10/21/05, German Gonzalez <[EMAIL PROTECTED]> wrote:
> thanks for your help, but still it doesnt show me any data.
> I'll post the final PDF ASAP, anyway somebody knows something else I may try?
>
>
> On 10/21/05, Guillaume Drot <[EMAIL PROTECTED]> wrote:
> > you must add the media parameter to the column tag you want to appear in
> > your pdf file.
> >
> > Example :
> >
> >
> > <display:column media="html pdf" property="cli_rut" title="Rut"/> ==> the
> > column appears in html code and in pdf file
> >
> > <display:column property="cli_rut" title="Rut"/> ==> the column appears
> > only in html code
> >
> >
> > German Gonzalez wrote:
> >
> > >Dear All,
> > >
> > >I have a question about exporting the table generated by displaytag to
> > >PDF Format.
> > >
> > >
> > >In my class I created a List in the request:
> > >
> > >List lista_cliente = null;
> > >ClienteDAO cliente_dao = new ClienteDAO();
> > >Cliente clienteDTO = new Cliente();
> > >PropertyUtils.setProperty(clienteDTO, "cli_rut", new Integer(0) );
> > >lista_cliente = cliente_dao.viewCliente( clienteDTO );
> > >request.setAttribute("clientes", lista_cliente);
> > >
> > >
> > >and I have in the jsp:
> > >
> > ><display:table name="clientes" export="true" id="currentRowObject">
> > > <display:column property="cli_rut" title="Rut"/>
> > > <display:column property="cli_nombres" title="Nombres" />
> > > <display:column property="cli_apellidos" title="Apellidos" />
> > > <display:column property="cli_telefono" title="Telefono" />
> > > <display:column property="cli_email" title="Email" autolink="true"/>
> > > <display:setProperty name="export.pdf" value="true" />
> > ></display:table>
> > >
> > >well, the displaytag is display ok in the jsp (I mean the final html
> > >it shows all the element form the clientes attribute, but when I try
> > >to export to any format (excel, pdf, etc.) only it shows me the titles
> > >of the table with no data on it at all.
> > >
> > >anyone knows what I'm doing wrong?
> > >
> > >thanks fory your help.
> > >
> > >
> > >German Gonzalez
> > >
> > >
> > >-------------------------------------------------------
> > >This SF.Net email is sponsored by:
> > >Power Architecture Resource Center: Free content, downloads, discussions,
> > >and more. http://solutions.newsforge.com/ibmarch.tmpl
> > >_______________________________________________
> > >displaytag-user mailing list
> > >[email protected]
> > >https://lists.sourceforge.net/lists/listinfo/displaytag-user
> > >
> > >
> > >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by:
> > Power Architecture Resource Center: Free content, downloads, discussions,
> > and more. http://solutions.newsforge.com/ibmarch.tmpl
> > _______________________________________________
> > displaytag-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/displaytag-user
> >
>
>
> --
> Atte.
>
> German Gonzalez
>
--
Atte.
German Gonzalez
reporte.pdf
Description: Adobe PDF document

