tag newbie - easy question

2003-06-03 Thread Mike Whittaker
What goes in name= to access a bean in the collection as specified below collection is an ArrayList of beans, each bean has a getMyProperty() method logic:iterate id=myList collection=%= request.getAttribute(myList) % bean:write name= property=myProperty/ /logic:iterate Thankyou --

RE: tag newbie - easy question

2003-06-03 Thread Mike Jasnowski
myList -Original Message- From: Mike Whittaker [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:46 PM To: Struts List Subject: tag newbie - easy question What goes in name= to access a bean in the collection as specified below collection is an ArrayList of beans, each bean has

RE: tag newbie - easy question

2003-06-03 Thread Bailey, Shane C.
of code. If you don't specify property attribute in the iterate tag then it assumes you want to go to the request directly. -Original Message- From: Mike Whittaker [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:46 PM To: Struts List Subject: tag newbie - easy question What

RE: tag newbie - easy question

2003-06-03 Thread Mike Whittaker
As I thought but: 'No getter method for property myProperty of bean myList' The ArrayList is a raw ArrayList, It isn't a wrapper. myList What goes in name= to access a bean in the collection as specified below collection is an ArrayList of beans, each bean has a getMyProperty() method

Re: tag newbie - easy question

2003-06-03 Thread Jeff Kyser
make it easy on yourself and use the nested tags: nested:iterate property=myList nested:write property=myProperty/ /nested:iterate -jeff On Monday, June 2, 2003, at 11:46 AM, Mike Whittaker wrote: What goes in name= to access a bean in the collection as specified below collection is

RE: tag newbie - easy question

2003-06-03 Thread Mike Jasnowski
Oop, sorry, I should have read your post more carefully, missed the ArrayList part. -Original Message- From: Mike Whittaker [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:56 PM To: Struts Users Mailing List Subject: RE: tag newbie - easy question As I thought but: 'No getter

Re: tag newbie - easy question

2003-06-03 Thread Mark Lowe
12:56 PM To: Struts Users Mailing List Subject: RE: tag newbie - easy question As I thought but: 'No getter method for property myProperty of bean myList' The ArrayList is a raw ArrayList, It isn't a wrapper. myList What goes in name= to access a bean in the collection as specified below

RE: tag newbie - easy question

2003-06-03 Thread Chen, Gin
: Monday, June 02, 2003 2:08 PM To: Struts Users Mailing List Subject: RE: tag newbie - easy question Oop, sorry, I should have read your post more carefully, missed the ArrayList part. -Original Message- From: Mike Whittaker [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:56 PM