Understanding the Iterate Tag

2003-02-21 Thread Brian Hart
I have a JavaBean Array in the session scope which I can loop through in a scriptlet to output properties of each member of the array. Example: % SearchResultBean[] c = (SearchResultBean[]) session.getAttribute(results); for (int x = 0; x c.length; x++){ out.println(c[x].getTitle());

RE: Understanding the Iterate Tag

2003-02-21 Thread James Mitchell
: Brian Hart [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 2:37 PM To: [EMAIL PROTECTED] Subject: Understanding the Iterate Tag I have a JavaBean Array in the session scope which I can loop through in a scriptlet to output properties of each member of the array. Example

Re: Understanding the Iterate Tag

2003-02-21 Thread alexj
: Friday, February 21, 2003 8:36 PM Subject: Understanding the Iterate Tag I have a JavaBean Array in the session scope which I can loop through in a scriptlet to output properties of each member of the array. Example: % SearchResultBean[] c = (SearchResultBean[]) session.getAttribute(results

RE: Understanding the Iterate Tag

2003-02-21 Thread James Mitchell
: alexj [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 2:46 PM To: Struts Users Mailing List Subject: Re: Understanding the Iterate Tag Hi here is the *translation* : logic:iterate id=SearchResultBean name=results bean:write name=results property=title/ bean:write name

Re: Understanding the Iterate Tag

2003-02-21 Thread Robert S. Sfeir
be in the name= part not the name of the results collection. Alexandre Jaquet - Original Message - From: Brian Hart [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 21, 2003 8:36 PM Subject: Understanding the Iterate Tag I have a JavaBean Array in the session scope which I can

Re: Understanding the Iterate Tag

2003-02-21 Thread alexj
, February 21, 2003 8:36 PM Subject: Understanding the Iterate Tag I have a JavaBean Array in the session scope which I can loop through in a scriptlet to output properties of each member of the array. Example: % SearchResultBean[] c = (SearchResultBean[]) session.getAttribute(results

Re: Understanding the Iterate Tag

2003-02-21 Thread alexj
yep I think to :) - Original Message - From: James Mitchell [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, February 21, 2003 8:47 PM Subject: RE: Understanding the Iterate Tag I think you may gotten the id and name reversed.. -- James Mitchell

RE: Understanding the Iterate Tag

2003-02-21 Thread James Mitchell
:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 2:48 PM To: Struts Users Mailing List Subject: Re: Understanding the Iterate Tag logic:iterate id=SearchResultBean name=results bean:write name=SearchResultBean property=title/ bean:write name=SearchResultBean property=description

Re: Understanding the Iterate Tag

2003-02-21 Thread alexj
I ve better to didn't post when I drink my beers ;) - Original Message - From: alexj [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, February 21, 2003 8:49 PM Subject: Re: Understanding the Iterate Tag yep I think to :) - Original Message

RE: Understanding the Iterate Tag

2003-02-21 Thread James Mitchell
:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 2:52 PM To: Struts Users Mailing List Subject: Re: Understanding the Iterate Tag I ve better to didn't post when I drink my beers ;) - Original Message - From: alexj [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Re: Understanding the Iterate Tag

2003-02-21 Thread alexj
:p - Original Message - From: James Mitchell [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, February 21, 2003 8:54 PM Subject: RE: Understanding the Iterate Tag What? Why aren't you sharing ;) -- James Mitchell Software Engineer/Struts

Re: Understanding the Iterate Tag

2003-02-21 Thread Brian Hart
Your Example still Failed. I received a no 'getter' method found for property Description. As suggested I found the user guide and the logic below seems to be the proper equilvalent syntax of the scriptlet loop sample. Does anyone else have further insight on the appropriate way to return a

RE: Understanding the Iterate Tag

2003-02-21 Thread Chen, Gin
=Description/ will not. -Tim -Original Message- From: Brian Hart [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 3:31 PM To: [EMAIL PROTECTED] Subject: Re: Understanding the Iterate Tag Your Example still Failed. I received a no 'getter' method found for property Description

RE: Understanding the Iterate Tag

2003-02-21 Thread Sri Sankaran
the Iterate Tag Your Example still Failed. I received a no 'getter' method found for property Description. As suggested I found the user guide and the logic below seems to be the proper equilvalent syntax of the scriptlet loop sample. Does anyone else have further insight on the appropriate