RE: REPOST: A hint how to do the following with a bean.

2001-10-04 Thread Geddes, Mark (ANTS)
I would have thought that you are going to have to try and read the first element of the Collection prior to the iterate tag, and store the first element in the page context so that you can use its name and desc attributes to populate the table caption. You could try with tags but I would use a

Re: REPOST: A hint how to do the following with a bean.

2001-10-04 Thread dhay
Alex, Hi. Just a thought - why don't you take out the first row and place it as another item in your form bean before you get to the page? Not ideal, but would work! Dave Alex Colic [EMAIL PROTECTED] on 10/04/2001 08:16:52 AM Please respond to [EMAIL PROTECTED] To: Struts [EMAIL

RE: REPOST: A hint how to do the following with a bean.

2001-10-04 Thread MacKellar, Kimberly
To get the first element of the Vector set the length=1 in the iterate tag for example: logic:iterate id=currRecord name=beanName property=vectorName length=1 bean:write name=currRecord property=name/ bean:write name=currRecord property=desc/ bean:write name=currRecord property=price/

RE: REPOST: A hint how to do the following with a bean.

2001-10-04 Thread Alex Colic
Thanks for all the help. I got it working. Alex