%' //logic:iterateThanks
Chiji
From: Don Saxton <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: IM IN DESPARATE NEED OF SOME HELP USING THE ITERATE TAG!!!
Date: Tue, 02 Oct 2001 16:07:09 -0700
MIME-Version: 1.0
Received: from [64.125.133.20
Hi,
I have a bean that encapsulates the properties needed to render an image (border, height, width etc).
I want to able to use the values stored in this bean as attribute values for the struts img tag.
Eg
ArrayListimages = new ArrayList();
images.add(new Image("pix1", "22", "43" )
: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 2:02
PM
Subject: IM IN DESPARATE NEED OF SOME
HELP USING THE ITERATE TAG!!!
Hi,
I have a bean that encapsulates the properties needed to render an image
(border, height, width etc).
I want to able to use the values store
Hi,
Thanks Ted for the advice on using the link tag, your advice has been heeded to.
Problem for today:
logic:iterate id="pages" name="pageList" offset="0" length="5" html:link forward="search" paramName="CONFUSED" paramId="pageNumber" page #: %= pages % /html:link/logic:iterate
What I would want
Hi,
I am try to use the iterate tag to display a list of strings on a page. The strings I am using have been initialized in an ArrayList. I want to be able to check how many strings are in the list so that I can display a certain amount on a number of pages. This is because I do not know how many
Personally, I would wrap the ArrayList in a bean and expose the size (or
row count) with an accessor. Then you can do things like this:
logic:notEqual name=result property=rowCount value=0
... iterate the list
/logic:notEqual
logic:equal name=result property=rowCount value=0
... explain
isn't there a bean:size tag, which is designed for this?
G.
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 05, 2001 5:15 PM
To: [EMAIL PROTECTED]
Subject: Re: Using the iterate tag
Personally, I would wrap the ArrayList in a bean and expose
7 matches
Mail list logo