iterate
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ricardo_Mota
Posted On:   Monday, October 15, 2001 06:57 AM

I'm trying to use iterate and I´m having trouble when I try to use two iterates in a row. The code is: Dia do Mês: <bean:write name="relatorioForm" /> </logic:iterate> <logic:iterate id="relatorioForm" name="relatorioForm" property="acessos"> Acessos: <bean:write name="relatorioForm" /> </   More>>

I'm trying to use iterate and I´m having trouble when I try to use two iterates in a row.
The code is:










Dia do Mês: <bean:write name="relatorioForm" />

</logic:iterate>

<logic:iterate id="relatorioForm" name="relatorioForm" property="acessos">







Acessos: <bean:write name="relatorioForm" />

</logic:iterate>


and the error message is:


javax.servlet.ServletException: No getter method for property acessos of bean relatorioForm


I appreciate if someone tell me what is wrong. Thanks.


[Editor: well, the HTML is screwed up for one; I have patched it the best I can, but I don't know what you are trying to say. ]

   <<Less

Re: iterate

Posted By:   Ong_CY  
Posted On:   Monday, October 22, 2001 01:48 AM

from the error message, it seems u didn't include ur set and get method for relatorioForm in ur relatorioForm.java files.

CY

Re: iterate

Posted By:   Ted_Husted  
Posted On:   Tuesday, October 16, 2001 06:59 AM

The tag is truying to call "relatorioForm.getAcessos()"
but there is no public method by that name.


HTH - Ted.

About | Sitemap | Contact