Exportar usando displaytag

0 respostas
D

Pessoal, eu fiz um teste simples com o Display Tag para exportar informações de uma tabela, mas ao exportar obtenho o xml e o excel sem informações.

Socorro!

JSP:

<%

	List teste = new ArrayList(4, false);
	teste.add("Testing String 1");
	teste.add("Testing String 2");
	teste.add("Testing String 3");
	teste.add("Testing String 4");
	request.setAttribute("teste", teste);
%>

<display:table name="teste" export="true"/>

XML exportado:

<?xml version="1.0" ?> 
<table>
  <row /> 
  <row /> 
  <row /> 
  <row /> 
</table>

Mas deveria ficar assim:

<table> <row>Testing String 1</row> <row>Testing String 2</row> <row>Testing String 3</row> <row>Testing String 4</row> </table>

Criado 16 de fevereiro de 2005
Respostas 0
Participantes 1