RE: [JSTL] Indexed array variable

2004-06-02 Thread Derek Mahar
-Original Message- From: Bill Siggelkow [mailto:[EMAIL PROTECTED] Sent: June 1, 2004 8:49 PM To: 'Tag Libraries Users List' Subject: RE: [JSTL] Indexed array variable I don't think that JSTL is going to be able to create array elements. I think you will need to allocate

RE: [JSTL] Indexed array variable

2004-06-02 Thread Simon Benzekri
Good idea but how will multi-dimensional arrays be populated? Simon -Original Message- From: Helios Alonso [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 9:48 AM To: Tag Libraries Users List Subject: RE: [JSTL] Indexed array variable It would be great. I think it's very

RE: [JSTL] Indexed array variable

2004-06-02 Thread Derek Mahar
-dimensional array, and so on. What do you think? Derek -Original Message- From: Simon Benzekri Sent: June 2, 2004 10:10 AM To: Tag Libraries Users List Subject: RE: [JSTL] Indexed array variable Good idea but how will multi-dimensional arrays be populated? Simon -Original

RE: [JSTL] Indexed array variable

2004-06-02 Thread Helios Alonso
Message- From: Simon Benzekri Sent: June 2, 2004 10:10 AM To: Tag Libraries Users List Subject: RE: [JSTL] Indexed array variable Good idea but how will multi-dimensional arrays be populated? Simon -Original Message- From: Helios Alonso [mailto:[EMAIL PROTECTED] Sent

RE: [JSTL] Indexed array variable

2004-06-02 Thread Simon Benzekri
Libraries Users List Subject: RE: [JSTL] Indexed array variable Good question! We can represent a multi-dimensional array as a recursive array of arrays. For example, given tag c:setArray, we could both allocate and assign a two-dimensional array as follows: %-- Create the first row, assign

RE: [JSTL] Indexed array variable (and associations)

2004-06-02 Thread Helios Alonso
Well, c:set can set associations. If the code I saw is fine, you can do this: c:set target=myAsoc property=name value=John/ to add an entry in myAsoc: Map telling that name correspond to John how do I do to access it? ${myAsoc['name']} ? At 12:05 02/06/2004 -0300, you wrote: 2 questions: 1) At

RE: [JSTL] Indexed array variable (and associations)

2004-06-02 Thread Derek Mahar
[mailto:[EMAIL PROTECTED] Sent: June 2, 2004 11:23 AM To: Tag Libraries Users List Subject: RE: [JSTL] Indexed array variable (and associations) Well, c:set can set associations. If the code I saw is fine, you can do this: c:set target=myAsoc property=name value=John/ to add an entry

RE: [JSTL] Indexed array variable (and associations)

2004-06-02 Thread Helios Alonso
At 12:22 02/06/2004 -0300, you wrote: Well, c:set can set associations. If the code I saw is fine, you can do this: c:set target=myAsoc property=name value=John/ to add an entry in myAsoc: Map telling that name correspond to John how do I do to access it? ${myAsoc['name']} ? Thanks (I finally

RE: [JSTL] Indexed array variable

2004-06-02 Thread Derek Mahar
]} and so on. Derek -Original Message- From: Helios Alonso [mailto:[EMAIL PROTECTED] Sent: June 2, 2004 11:05 AM To: Tag Libraries Users List Subject: RE: [JSTL] Indexed array variable 2 questions: 1) At the moment, does EL allows bracket notation for accesing arrays? 2

RE: [JSTL] Indexed array variable

2004-06-02 Thread Michael McGrady
c:set to permit the assignment of array elements? Derek -Original Message- From: Bill Siggelkow [mailto:[EMAIL PROTECTED] Sent: June 1, 2004 8:49 PM To: 'Tag Libraries Users List' Subject: RE: [JSTL] Indexed array variable I don't think that JSTL is going to be able to create array

RE: [JSTL] Indexed array variable (and associations)

2004-06-02 Thread Derek Mahar
as an attribute, you should make this clear in the tag documentation. Derek -Original Message- From: Helios Alonso [mailto:[EMAIL PROTECTED] Sent: June 2, 2004 12:02 PM To: Tag Libraries Users List Subject: RE: [JSTL] Indexed array variable (and associations) At 12:22 02/06/2004 -0300

RE: [JSTL] Indexed array variable

2004-06-01 Thread Bill Siggelkow
I don't think that JSTL is going to be able to create array elements. I think you will need to allocate the array ahead of time. Maybe someone else can clarify this a little more. Bill Siggelkow [EMAIL PROTECTED] -Original Message- From: Derek Mahar [mailto:[EMAIL PROTECTED] Sent: