-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
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
-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
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
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
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
[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
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
]}
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
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
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
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:
12 matches
Mail list logo