Hi Frank,

I've tested the af:iterator, but it cannot be put inside a af:table without an af:column.
So I've put it inside, but it is only one column, that does not solve my problem. So I've added af:column inside too, to generate new columns as it iterates, but generates an error... :(

Anyway, I changed my design and then it is now working!
Thanks to all who helped me.

In af:forEach I can get the current object, that is, the var. So I'm not doing a binding and getting the info from only one method (outside those iterated) that gets two bindings, find the info and then return the data. The object that is being iterated in column gets the row by binding (af:table has binding) and created one method (in this column-iterated object) that does the job.

I know that is very confusing... but it is working :)



--

Fernando Madruga Pinheiro
Analista de Sistemas
WMix Distribuidora Ltda
Fone/Fax: +55 (48) 3035-9734

Esta mensagem foi enviada pela Wmix Distribuidora Ltda, para uso exclusivo do destinatário, podendo conter informações confidenciais. Se for recebida por terceiro que não o destinatário, deve ser apagada imediatamente do seu computador e a Wmix Distribuidora Ltda notificada ([EMAIL PROTECTED]). As informações aqui prestadas não podem ser distribuídas ou reproduzidas sem a expressa autorização da Wmix Distribuidora Ltda.




-----Mensagem Original-----
De: "Frank Felix Debatin" <[EMAIL PROTECTED]>
Enviado em: Tuesday, 21. Feb 2006 18:40 -0300
Para: "'MyFaces Discussion'" <[email protected]>
Assunto: RE: Grouping headers + af:forEach

Hi Fernando,
not sure what you intend to do, but did you look at the af:iterator tag as an alternative?
Frank Felix


From: Fernando Madruga Pinheiro [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 21, 2006 10:32 PM
To: [email protected]
Subject: Re: Grouping headers + af:forEach

Now I have other problem, and possibly a work-around.

Since my report is based in n rows/columns, I need binding to show the information.
Using af:table is working as expected.
But, for grouping headers, I need to use only af:column. I can't use t:columns to create the "n" columns.
I've found the af:forEach, that partially does the job: I can create the "n" columns and group them as expected, but this tag doesn't have a binding property, so I can't show the information after that.

Is there a workaround for this?

I've tried to put a binding in an af:outputText, that has the ID to locate the object, but it only seens to fire (and display the value) in the last column. If we remove the binding, the value is rendered in all of them.
The same happens in af:column binding.

I'm trying a solution all this afternoon, but no success. Now that the grouping header is working, I'm going back to bindings...



--

Fernando Madruga Pinheiro
Analista de Sistemas
WMix Distribuidora Ltda
Fone/Fax: +55 (48) 3035-9734

Esta mensagem foi enviada pela Wmix Distribuidora Ltda, para uso exclusivo do destinatário, podendo conter informações confidenciais. Se for recebida por terceiro que não o destinatário, deve ser apagada imediatamente do seu computador e a Wmix Distribuidora Ltda notificada ([EMAIL PROTECTED]). As informações aqui prestadas não podem ser distribuídas ou reproduzidas sem a expressa autorização da Wmix Distribuidora Ltda.




-----Mensagem Original-----
De: "Matthias Wessendorf" <[EMAIL PROTECTED]>
Enviado em: Tuesday, 21. Feb 2006 15:34 -0300
Para: "MyFaces Discussion" <[email protected]>
Assunto: Re: Grouping headers

Nice to hear

Just a question of my interest, did you compile ADF on your own?

On 2/21/06, Fernando Madruga Pinheiro <[EMAIL PROTECTED]> wrote:
> Thanks! It worked!
>


Reply via email to