RE: multiple conditions for an IF statement

2002-03-11 Thread Agrawal, Anuj (Anuj)** CTR **
Hmm... i tried (accidentally) doing: TRUE and that WORKED! So i guess i'd like to know: 1. should i be using {} or ()? 2. is the syntax (AND or &&) dependent on which "style" of brackets i use? 3. where is this all documented? Thanks again. > -Original Mess

FW: checking for files

2002-03-11 Thread Agrawal, Anuj (Anuj)** CTR **
I didn't see any responses to this, so let me try one more time. Anyone? Please? > -Original Message- > From: Agrawal, Anuj (Anuj)** CTR ** > Sent: Friday, March 08, 2002 11:33 PM > To: 'Jakarta Tag Libraries Users List' > Subject: checking for files > > I'd like to to

RE: can output of dbtags query be used to fill javabean properties ?

2002-03-11 Thread Agrawal, Anuj (Anuj)** CTR **
> Subject: Re: can output of dbtags query be used to fill javabean > properties ? This is a similar question i had wanted to ask. > Once again you can use the sql tags available in the Standard > You can populate a bean like this: > > > value="<%=row[0]%>"/> > value="<%=

Re: can output of dbtags query be used to fill javabean properties ?

2002-03-11 Thread Soefara Redzuan
Thank you so much Justyna. I can understand it but in a paralell topic about JSTL it is said that the reason for using tags is to make it easier for web page designers. However I don't know any designers who would not be intimidated by this code. It looks like tags are still putting a lot of

Re: can output of dbtags query be used to fill javabean properties ?

2002-03-11 Thread horwat
Once again you can use the sql tags available in the Standard tag library. You can populate a bean like this: create table mytable ( nameid int primary key, name varchar(80) ) SELECT * FROM mytable Justy - Original Message - Fro

Re: why is there no dbtags getField tag ?

2002-03-11 Thread horwat
Check out the sql tags that are a part of the Standard tag library implementation available in the jakarta taglibs project. You can use the column name to get the column value when iterating over the rows: create table mytable ( nameid int primary key, name varchar(80) )

Re: Missing function in string taglib?

2002-03-11 Thread Henri Yandell
Sounds good. Will add it in. Hen On Mon, 11 Mar 2002, Mike Hulse wrote: > Why isn't there a concat in string taglib? Just wondering if I missed it. > It seems that would have been a good thing to include. > > Mike > > -- To unsubscribe, e-mail: For additional com

Missing function in string taglib?

2002-03-11 Thread Mike Hulse
Why isn't there a concat in string taglib? Just wondering if I missed it. It seems that would have been a good thing to include. Mike -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Question about the io taglib

2002-03-11 Thread Meltsner, Kenneth
Forgot one setting, the incredibly obscure but useful: http.nonProxyHosts It takes a | separated list of hosts and domains. Wildcards (*) are allowed, e.g. "*.ca.com|*.cai.com|localhost|usmpilot|*.techcai.com" Had to look at the source for JDK 1.2 to find this one The difficulty and obs

Re: c:set and scriptlets

2002-03-11 Thread Greg Bishop
There is a evel tag thingy that might do it. -G "Agrawal, Anuj (Anuj)** CTR **" wrote: > In my code i have > > I'd like to be able to access the variable x from within a scriptlet, > something like: > > <% > x = x++; > %> > > and vice versa. > > Is this even possible? I don't see anyt

Re: 2nd try: Using to change scope

2002-03-11 Thread Shawn Bayern
Ah, I meant to try to answer this, but it slipped through... I wasn't sure exactly what you meant by "change the scope on one of the attributes on our tags." You can use to override an existing attribute, and thus to change the scope of a scoped variable: but I'm not sure if that's what you

2nd try: Using to change scope

2002-03-11 Thread Steve Bang
Can anyone help me on this? Thanks, Steve > -Original Message- > From: Steve Bang [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 08, 2002 11:03 AM > To: 'Tag Libraries Users List' > Subject: Using to change scope > > > We have a custom tag library that treats all of our tags with

RE: c:set and scriptlets

2002-03-11 Thread Shawn Bayern
On Mon, 11 Mar 2002, Agrawal, Anuj (Anuj)** CTR ** wrote: > I really didn't want to use scriptlets (per the documentation), but i was > running into situations where the JSTL actions were not (yet) supporting > some things that scriptlets could do.. OR SO I THOUGHT! 8 :-) Yeah, JSTL is prog

RE: c:set and scriptlets

2002-03-11 Thread Agrawal, Anuj (Anuj)** CTR **
I really didn't want to use scriptlets (per the documentation), but i was running into situations where the JSTL actions were not (yet) supporting some things that scriptlets could do.. OR SO I THOUGHT! 8 I've since then found a way around it using JSTL actions alone - so i'm a little happier

Re: c:set and scriptlets

2002-03-11 Thread Shawn Bayern
On Tue, 12 Mar 2002, Soefara Redzuan wrote: > > > I'd like to be able to access the variable x from within a scriptlet, > > > something like: > > > > > > <% > > > x = x++; > > > %> > > > > > > and vice versa. > > > > > > Is this even possible? I don't see anything in the docs that refer to > >

Re: c:set and scriptlets

2002-03-11 Thread Shawn Bayern
Anuj was writing about the JSTL tag , though. JSTL de-emphasizes scripting variables in favor of the expression language it introduces. Scripting variables are a reasonable mechanism for some applications, but they inherently depend on scriptlets, which means that they're useful only if a page a

Re: c:set and scriptlets

2002-03-11 Thread Soefara Redzuan
> > In my code i have > > > > I'd like to be able to access the variable x from within a scriptlet, > > something like: > > > > <% > > x = x++; > > %> > > > > and vice versa. > > > > Is this even possible? I don't see anything in the docs that refer to > > such interchangeability. 8( > >JSTL

Re: c:set and scriptlets

2002-03-11 Thread Mark R. Diggory
I'm sorry, that was on the development list, not the user list Mark R. Diggory wrote: > See my last message about multipart stuff. You can capture this > functionality in TEI (TagExtraInfo) Support class to your tag. Then in > your tag you can set the value of the variable via a special method

Re: c:set and scriptlets

2002-03-11 Thread Mark R. Diggory
See my last message about multipart stuff. You can capture this functionality in TEI (TagExtraInfo) Support class to your tag. Then in your tag you can set the value of the variable via a special method which you have to define. -Mark Diggory Shawn Bayern wrote: >On Mon, 11 Mar 2002, Agra

Re: c:set and scriptlets

2002-03-11 Thread Shawn Bayern
On Mon, 11 Mar 2002, Agrawal, Anuj (Anuj)** CTR ** wrote: > In my code i have > > I'd like to be able to access the variable x from within a scriptlet, > something like: > > <% > x = x++; > %> > > and vice versa. > > Is this even possible? I don't see anything in the docs that refer t

c:set and scriptlets

2002-03-11 Thread Agrawal, Anuj (Anuj)** CTR **
In my code i have I'd like to be able to access the variable x from within a scriptlet, something like: <% x = x++; %> and vice versa. Is this even possible? I don't see anything in the docs that refer to such interchangeability. 8( Thanks. -- To unsubscribe, e-mail:

can output of dbtags query be used to fill javabean properties ?

2002-03-11 Thread Soefara Redzuan
Sorry I have another question. I have a form that sets the default values of the fields with a javabean like this First name is Last name is This fills default field values if the parameters are submitted in the request otherwise it makes the fields blank "". But how can I set the valu

why is there no dbtags getField tag ?

2002-03-11 Thread Soefara Redzuan
Instead of writing getColumn, is there a more intuitive method that uses the field name instead getColumn ? For example the current method is this select * from members Why is there not something like this instead select * from members Or does

Re: Question about the io taglib

2002-03-11 Thread Mike Hulse
From: Meltsner, Kenneth >If you set the system properties: > >http.proxyHost >http.proxyPort > >(either programmatically, or by using -Dpropname=value when starting Java) >it will work with a proxy server that doesn't require authentication. For >authentication, you need to add a custom header t