I prefer (3) because it makes the loop behave in exactly the same way as it
would in any other language.
I don't like (2) at all because it removes information (the null values)
that is likely to have been included in the collection for a reason. Also,
if the iterate tag is ever extended to
Nick Pellow wrote:
"Craig R. McClanahan" wrote:
Bugzilla bug report #706 reports that you will get a JSP page exception
when you try to iterate over collection that contains null values. This
is caused by the fact that the JSP page context refuses to allow null
attributes. The bug
husted 01/03/05 05:08:28
Added: src/doc installation-ipas.xml
Log:
Add instructions for iPortal Application Server, submitted by John Ueltzhoeffer.
Revision ChangesPath
1.1 jakarta-struts/src/doc/installation-ipas.xml
Index:
husted 01/03/05 05:08:50
Modified:src/doc installation.xml
Log:
Add instructions for iPortal Application Server, submitted by John Ueltzhoeffer.
Revision ChangesPath
1.19 +1 -0 jakarta-struts/src/doc/installation.xml
Index: installation.xml
husted 01/03/05 05:09:20
Modified:.WhoWeAre
Log:
Update WhoWeAre bio.
Revision ChangesPath
1.3 +24 -22jakarta-struts/WhoWeAre
Index: WhoWeAre
===
RCS file:
Create an Action to generate and output your page, and then return null
to the controller.
Mallari Kulkarni wrote:
Hi Guys,
My web page is generated on the fly. The no of form elements are
unknown. In this scenario, how can I use the struts framework?
Please help me.
Thanks and
I very much agree with Ted on especially point #2.
Eirik
++
Eirik Lygre
[EMAIL PROTECTED]
e-vita as, Stortorvet 3, Oslo
Mobil: (+47) 905 66476
Fax: (+47) 23 35 70 51
Ted Husted [EMAIL PROTECTED]
05.03.2001 15:02
Please respond to struts-dev
To:[EMAIL PROTECTED]
Title: ATTENTION! The Well-Paid Job in the Internet!
We wish You a pleasant and successful day!In RussianMake money without leaving Your computer!If You show some interest and patience and understand as IT works, You can earn up to $100,000 and more!!! During the following 120 days - it depends
I never saw any comment on this in struts-user. Perhaps it is better for
struts-dev.
Mike
Date: Mon, 26 Feb 2001 11:18:38 MST
From: "Michael McCallister (r2126c)" [EMAIL PROTECTED]
Subject: logic:present Property Oddity?
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Apparently-To:
I want to present a selection of Integers for the user
to choose. The jsp code is:
html:select property="beginYear"
html:options property="years"/
/html:select
The form bean has an indexed property "years":
public Integer [] getYears();
The above jsp code fails
(1) This would be fine with me. Given that there seem to be as many opinions
on this subject as people expressing them, perhaps this would be the
expedient choice for 1.0.
(2) I don't like this because of the disparity between the number of
iterations and the size of the collection. The
11 matches
Mail list logo