Title: Message
Hi
if u have an array of beans inside an another bean. I'd suggest you use the nested tags apporach instead of logic:iterate.
For info on nested you can check up the tutorial at http://www.keyboardmonkey.com/struts/primer/Tutorial_partOne.html  .
Hope it helps!
-----Original Message-----
From: keerti shrimal [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 20, 2002 4:26 PM
To: Struts Users Mailing List
Subject: problem with logic:iterate while displaying an array of beans.

Hi All,
 I am facing a problem displaying a table using logic:iterate tag.
I am using two separate beans in my jsp for displaying different values.
 The logic:iterate loop works absolutely fine if I pass just a bean to display the values but when I pass an array of beans, it gives me the following error :

Root cause of ServletException
javax.servlet.jsp.JspException: No getter method for property Ranges of bean Ranges

I will explain in short what i am doing.
 I have a jsp NPResult.jsp which has a set of records(right now hard-coded).The user selects a row and depending on that i have to display details of that record in another jsp - NPOrderDetails.jsp. I am passing a hidden value for this through my first jsp.

 In order to get the details, i am using 2 separate beans (which is hard-coded right now as this is just a prototype).
 I am attaching the required files for reference.

<<NPOrderDetails.jsp>> <<NPResult.jsp>> <<SearchAction.java>> <<SearchForm.java>> <<Ranges.java>> <<Search.java>> <<struts-config.xml>>

Can anybody please help me out with this problem. I have been trying to figure this out for quite some time.


Thanks and Regards,
Keerti


**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to