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