[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3824: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3826: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3827: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3828: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
Next Framework • Ver Tópico - Campo totalizador no grid detalhe
Página 1 de 1

Campo totalizador no grid detalhe

MensagemEnviado: Ter Out 19, 2010 8:59 am
por ibotirama
Eu gostaria de saber se existe uma forma "fácil" alguma tag que me ajude a colocar uma tabela de total em um tabelaResultados, por exemplo, eu tenho um id, descricao, area, e eu queria colocar um total de área no rodapé do grid.

Re: Campo totalizador no grid detalhe

MensagemEnviado: Ter Out 19, 2010 6:16 pm
por rogelgarcia

Re: Campo totalizador no grid detalhe

MensagemEnviado: Qua Out 20, 2010 8:46 am
por ibotirama

Re: Campo totalizador no grid detalhe

MensagemEnviado: Qua Out 20, 2010 8:47 am
por ibotirama
Esqueci de mencionar aparece um rodapé, mas totalmente limpo, eu coloquei o valor 10.0 no controller apenas para testar, mas mesmo assim não aparece nada.

Re: Campo totalizador no grid detalhe

MensagemEnviado: Qua Out 20, 2010 10:34 am
por rogelgarcia
O que você tem que fazer no controller é:

Sobrescrever o método listagem.. e nele colocar:

setAttribute("totalArea", 10.0);

Assim.. voce conseguirá acessar no JSP pela forma ${totalArea}