Subject: JSTL Question
I have the following 'working' code to produce a table. The value of
${param.field} determines which field will be displayed in column 3.
Can I move this out of the c:forEach loop and assign a temp
variable to
it using c:if/c:set so that I only need to evaluate
produce
unexpected problems down the road.
-Original Message-
From: Jack Lauman [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 10, 2005 1:37 PM
To: Tag Libraries Users List
Subject: JSTL Question
I have the following 'working' code to produce a table. The value of
${param.field} determines
If you want to save the result of an evaluation into another variable,
then just use c:set to set a variable from a value.
-Original Message-
From: Jack Lauman [mailto:[EMAIL PROTECTED]
Sent: Monday, April 11, 2005 9:32 AM
To: Tag Libraries Users List
Subject: Re: JSTL Question
I have the following 'working' code to produce a table. The value of
${param.field} determines which field will be displayed in column 3.
Can I move this out of the c:forEach loop and assign a temp variable to
it using c:if/c:set so that I only need to evaluate the value of
${param.field}
I'm using the following code to return results from drop down menues and
user input text.
It works fine as long as the text is an exact case sensitive match to
the data record.
What I want to do is evaluate the output the results of a user input
search based on
'param.field' in figure 3. i.e.
All the JSTL tags use EL (Expression Language) which generally looks
like ${ ... }. All of the variables referenced in EL are in some sort
of scope, (page, request, session, application). That scope is handled
by HashMaps (E.g. request.getAttribute() what's used for requestScope
variables).
Users List [EMAIL PROTECTED]
Date: Mon, 21 Jul 2003 06:44:02 -0700
From: K.C. Baltz [EMAIL PROTECTED]
To: Tag Libraries Users List [EMAIL PROTECTED]
Subject: Re: JSTL question: how to use variables in c:if and c:set
All the JSTL tags use EL (Expression Language) which generally looks
like
' and 'applicationScope'?
-- Oorspronkelijk bericht --
Reply-To: Tag Libraries Users List [EMAIL PROTECTED]
Date: Mon, 21 Jul 2003 06:44:02 -0700
From: K.C. Baltz [EMAIL PROTECTED]
To: Tag Libraries Users List [EMAIL PROTECTED]
Subject: Re: JSTL question: how to use variables in c:if and c:set
All the JSTL
Hi all,
I got a question which confused me for several days. I hava a collection
and I want to set each item of the collection to a set of variables. Can
I do it using c:forEach tag and how to access these variables?
For example:
c:forEach var=legend items=${list.legendBuf} varStatus=status