RE: JSTL Question

2005-04-11 Thread Karr, David
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

Re: JSTL Question

2005-04-11 Thread Jack Lauman
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

RE: JSTL Question

2005-04-11 Thread Karr, David
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

JSTL Question

2005-04-10 Thread Jack Lauman
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}

JSTL Question

2004-11-27 Thread Jack Lauman
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.

Re: JSTL question: how to use variables in c:if and c:set

2003-07-21 Thread K.C. Baltz
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).

Re: JSTL question: how to use variables in c:if and c:set

2003-07-21 Thread Charl Gerber
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

Re: JSTL question: how to use variables in c:if and c:set

2003-07-21 Thread K.C. Baltz
' 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

a JSTL question

2002-12-05 Thread Hao Ding
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