RE: JSTL Question

2005-04-11 Thread Karr, David
t; certain, then > > this could 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 > >

Re: JSTL Question

2005-04-11 Thread Jack Lauman
ble values of "param.field". If you can't be certain, then this could 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

RE: JSTL Question

2005-04-11 Thread Karr, David
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 which field will be displayed in column 3. > Can I m

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} once

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

2004-06-09 Thread Mark Goking
The result is 重复 instead of chinese characters -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 7:25 PM To: Tag Libraries Users List Subject: Re: JSTL question What happens with either: or: Quoting Mark Goking <[EMAIL PROTEC

Re: JSTL question

2004-06-09 Thread Kris Schneider
What happens with either: or: Quoting Mark Goking <[EMAIL PROTECTED]>: > > > My problem with jstl is the storing unicode characters. > > Outputting let's say chinese characters from a form post , this code > outputs it correctly > > > > > However, storing this in a variable wil

JSTL question

2004-06-09 Thread Mark Goking
My problem with jstl is the storing unicode characters. Outputting let's say chinese characters from a form post , this code outputs it correctly However, storing this in a variable will result in its html equivalent like 重复 instead of chinese characters I tried this but the result

Re: jstl question

2003-09-11 Thread Adam Hardy
Hi Richard, you should ask this on the taglib-user list. If people don't stick to one list, it makes twice as much work to search the archives, which I find a PITA anyway. With my crude knowledge of jstl I would do this: <%=bean.getValueNum(test) %> People on taglibs-user might know a better w

Re: JSTL question: how to use variables in and

2003-07-21 Thread K.C. Baltz
#x27;sessionScope', 'requestScope' 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 U

Re: JSTL question: how to use variables in and

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

Re: JSTL question: how to use variables in and

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 and

2003-07-21 Thread Michael Duffy
e appreciated. > > > >-- Oorspronkelijk bericht -- > >Reply-To: "Tag Libraries Users List" > <[EMAIL PROTECTED]> > >Date: Mon, 21 Jul 2003 05:48:39 -0700 (PDT) > >From: Michael Duffy <[EMAIL PROTECTED]> > >Subject: Re: JSTL question: how

Re: JSTL question: how to use variables in and

2003-07-21 Thread Charl Gerber
What is "rt" and "EL" tags? Any alternative suggestion would be appreciated. >-- Oorspronkelijk bericht -- >Reply-To: "Tag Libraries Users List" <[EMAIL PROTECTED]> >Date: Mon, 21 Jul 2003 05:48:39 -0700 (PDT) >From: Michael Duffy <[EMAIL

Re: JSTL question: how to use variables in and

2003-07-21 Thread Michael Duffy
I think the syntax should be "${row.ID == i}". I'm not sure that "i" can be an int in this case. Must it be an Integer? After all, that's what a ResultSet will return. Also, does this require the "rt" tags? I've always stuck with the EL stuff, so I'm not sure. --- Sandeep Takhar <[EMAIL PRO

Re: JSTL question: how to use variables in and

2003-07-21 Thread Sandeep Takhar
might be ${row.ID} == ${i} but I don't know much about syntax. Since it is a page scripting variable then you should be able to use it on the same jsp... sandeep --- Charl Gerber <[EMAIL PROTECTED]> wrote: > Hi, > > I have a question. How can I use variables declared > in other pieces of java >

JSTL question: how to use variables in and

2003-07-21 Thread Charl Gerber
Hi, I have a question. How can I use variables declared in other pieces of java code withing my JSP within a piece of code? example: <% int i = 5; * now to a sql call with sql tags and get some results * etc. %> I cannot get that row.ID == i to work. Also tried <%= i %>, but that ca

Re: a JSTL question

2002-12-05 Thread Shawn Bayern
On Fri, 6 Dec 2002, Hao Ding wrote: > 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 tag and how to access these variables? > > For example: > > > > > Can

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 tag and how to access these variables? For example: Can I do like that? If yes, how to access these variables. Can I w