RE: Handling null dates

2003-07-31 Thread Narayan, Anand
The problem I am encountering seems to be with the JDBC driver. Acc. to the release note for JSTL 1.0 on the jakarta site one should be able to use the EL ${null} for the value parameter of sql:param or sql:dateParam but some drivers do not support the underlying implementation by jakarta. Heres t

RE: Handling null dates

2003-07-31 Thread Siggelkow, Bill
Are you parsing the dates using ? If so, then according to the spec, the if the input value is null or "" the variable specifed by var will be removed. You could then use the empty operator to check for a null value. Hope this helps. -Original Message- From: Narayan, Anand [mailto:[EM

RE: problem with forEach

2003-07-31 Thread Canning, Chuck
Thanks chris. I will try that later. Chuck -Original Message- From: Chris Winters [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 1:43 PM To: Tag Libraries Users List Subject: Re: problem with forEach Canning, Chuck wrote: > I am using JSTL and struts-el in a form, but the forea

Re: problem with forEach

2003-07-31 Thread Chris Winters
Canning, Chuck wrote: I am using JSTL and struts-el in a form, but the foreach is not returning my values. If I use a scriplet, I see them. Here is a snippet of code in same JSP. I added the scriptlet just to test that I wasn't working to late and doing something stupid ;) I'm pretty sure 'header'

problem with forEach

2003-07-31 Thread Canning, Chuck
Hi, I am using JSTL and struts-el in a form, but the foreach is not returning my values. If I use a scriplet, I see them. Here is a snippet of code in same JSP. I added the scriptlet just to test that I wasn't working to late and doing something stupid ;) <% List alist; Iterator iterator;

RE: Handling null dates

2003-07-31 Thread Narayan, Anand
Same issue here with null dates. I need to set the value of a date field to null. How can I create an object that equates to null? The JSTL spec for dateParam says that if the value equates to null the column will be set to null but i have not figured out how to create a null object in JSP. Any id

RE: Using the standard (JSTL) tag library ...

2003-07-31 Thread jmedina
Thanks, this work perfectly without additional work. "Siggelkow, Bill" <[EMAIL PROTECTED]> wrote on 07/31/2003 04:01:24 PM: > The other thing is that there is no reason the original poster could > not use in his HTML markup ... > > > > > > src="allpackages.jsp?server=> > >

Re: XML help

2003-07-31 Thread Felipe Leme
Yes, it does, thanks. And sorry for not searching the archives before (mailing to the list is my last resource, but I forgot the archives: only looked at the specification and bugzilla :) Felipe On Thursday 31 July 2003 01:00 am, matsuhashi-at-quick.co.jp |jakarta| wrote: > Does this help? >

RE: currency format problem on different platform

2003-07-31 Thread Helen Ge
Thanks Eric. By setting locale, it shows same on both. -Original Message- From: Eric W Hauser [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 9:44 AM To: Tag Libraries Users List Subject: Re: currency format problem on different platform The problem is with the locale on your Un

RE: Using the standard (JSTL) tag library ...

2003-07-31 Thread Siggelkow, Bill
The other thing is that there is no reason the original poster could not use in his HTML markup ... > > src="allpackages.jsp?server=> > "> > -Original Message- From: Eric W Hauser [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 9:54 AM To: Tag L

RE: Using the standard (JSTL) tag library ...

2003-07-31 Thread Eric W Hauser
Doing what you want to do is actually pretty simple. You just have to create your own JSP tag library to do it. You could create your own library that was your own custom frame tag that excepting EL expressions for its parameters. If you have the standard JSTL taglibs downloaded, look at the cla

Re: currency format problem on different platform

2003-07-31 Thread Eric W Hauser
The problem is with the locale on your Unix box. You have two choices. Talk to your system administrator and make sure this is set properly on your Unix box, or explicitly define the locale in your JSP like so: On Thu, 31 Jul 2003, Helen Ge wrote: > > Hello, > Can

currency format problem on different platform

2003-07-31 Thread Helen Ge
Hello, Can someone help me with the following problem? I have following JSTL tag used to format currency in a format as $999,999.99. It shows '$1,154.51' correctly on my local webserver which is on window 2000. but it shows differently as 'ยค1,154.51' on test server which is on UNIX. How

RE: Using the standard (JSTL) tag library ...

2003-07-31 Thread matsuhashi
(BAlso see this; (B (Bhttp://www.mail-archive.com/[EMAIL PROTECTED]/msg93186.html (B (B (B (B (B (B"Siggelkow, Bill"

RE: Using the standard (JSTL) tag library ...

2003-07-31 Thread Siggelkow, Bill
Not with Tomcat 4.1.18 -- Starting with Tomcat 5 you can -- Tomcat implements JSP 2.0 (formerly referred to as JSP 1.3) which allows EL anywhere within a page. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 6:55 AM To: [EMAIL PROTECTED]

Using the standard (JSTL) tag library ...

2003-07-31 Thread jmedina
I'm using JWSDP 1.1 that includes JSTL 1.0.3 under Tomcat 4.1.18 Can I use EL outside of the JSTL tags ? Like using ${param.server} in the code below: So far it doesn't work. I read that there are two versions: "This document describes an expre

forEach and CachedRowSet

2003-07-31 Thread Umberto Nicoletti
Hi all, i need to iterate over a CachedRowSet (actually a OracleCachedRowSet), howcan I do that using jstl? If I try the following it gives me an error: org.apache.jasper.JasperException: An error occurred while evaluating custom action attribute "items" with value "${anag.rows}": Unable to