RE: Iterating over collections with null values

2001-03-05 Thread Howard Moore
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 supp

Re: Iterating over collections with null values

2001-03-05 Thread Elod Horvath
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

Re: Iterating over collections with null values

2001-03-05 Thread Michael Gerdau
>> Here are the alternatives that I can think of: [skipped for brevity] > (5) Add an attribute(s) on the iterate tag that allows the user to >decide between (1), (2) and (3). Defaulting to (1). I like that idea. Of course all possible behaviours should be selectable. Also add (6) Add an opti

cvs commit: jakarta-struts/src/doc installation-ipas.xml

2001-03-05 Thread husted
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: installation-ipas.xm

cvs commit: jakarta-struts/src/doc installation.xml

2001-03-05 Thread husted
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 ===

cvs commit: jakarta-struts WhoWeAre

2001-03-05 Thread husted
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: /home/cvs/jakarta-strut

WhoWeAre

2001-03-05 Thread Ted Husted
Since we have several new committers now, this would be a good time to update our WhoWeAre file. We started out with some pretty long long bios (see root directory in CVS). Personally, I'd like to do short Jakarta-style "WhoWeAre" page in the documentation, and then link to some longer descripti

Re: HTML generated on the FLY. So how can I use struts for this?

2001-03-05 Thread Ted Husted
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. > > Tha

Re: [PROPOSAL] Struts Source Directory Structure

2001-03-05 Thread Ted Husted
"Craig R. McClanahan" wrote: > src/ Java sources for components > example/ Sources for example webapp > share/Sources for struts.jar > test/ Sources for test webapp > unit/ Sources for unit tests >

Re: [PROPOSAL] Struts Source Directory Structure

2001-03-05 Thread eirik . lygre
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 PR

printlns in taglib

2001-03-05 Thread Michael Hackett
Are the println() calls in a few of the taglib classes (e.g. Checkbox, Html, Multibox, RadioTag) really necessary, or could these be print()s? Or rather, would they be =better= as print()s? Most of the time it doesn't matter, but with the checkbox tag, for example, most browsers interpret the ins

ActionForwards on https?

2001-03-05 Thread Karen Yang
Hi. I'm using Java 1.3, Weblogic 6.0, Struts 1.0 beta 1. I'm using an extension of the STRUTS Action class to perform form-based authentication. After authenticating the user, I retrieve a return URL path from the session and create an ActionForward object with that return URL and return this ob

ATTENTION! Well-Paid Job in the Internet!

2001-03-05 Thread Please Read IT Carefully!
Title: ATTENTION! The Well-Paid Job in the Internet! We wish You a pleasant and successful day!In Russian Make 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 on

logic:present Property Oddity?

2001-03-05 Thread Michael McCallister
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:

non-String properties and html:options

2001-03-05 Thread Gordon Maclean
I want to present a selection of Integers for the user to choose. The jsp code is: The form bean has an indexed property "years": public Integer [] getYears(); The above jsp code fails with this message: Root cause: java.lang.ClassCastException: java.l

Re: Iterating over collections with null values

2001-03-05 Thread Martin Cooper
(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 tag beco

RE: [VOTE] Proposed Committer: Cedric Dumoulin

2001-03-05 Thread Coty Rosenblath
Title: RE: [VOTE] Proposed Committer: Cedric Dumoulin Cedric, Congratulations. I would +1 you, too, if I had a vote. This should be a very good thing for your Components project. - Coty > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Friday, Ma