Re: fmt:formatDate problems jstl 1.0.3

2003-09-03 Thread Felipe Leme
On Wednesday 03 September 2003 06:14 am, Tony Grant tony-at-tgds.net |jakarta| wrote: > Now I have located the root of my problem. My query is returning a > string and not a date... If the query is returning a string, you could convert it to a date first - using parseNumber - and then format it

Re: fmt:formatDate problems jstl 1.0.3

2003-09-03 Thread Tony Grant
On Tue, 2003-09-02 at 23:19, Felipe Leme wrote: > I'm not sure if I understood the problem correctly, but it looks like you are > not calling the fmt:formatNumber tag. Try something like this: > > <% Date date =(((oeuvre_data = oeuvre.getObject("dateexpofin"))==null || > > oeuvre.wasNull())?""

Re: fmt:formatDate problems jstl 1.0.3

2003-09-02 Thread Felipe Leme
On Tuesday 02 September 2003 01:15 pm, Tony Grant tony-at-tgds.net |jakarta| wrote: > They are returned to the jsp in the format 2003-11-09 the JSP code is > generated by Dreamweaver MX > <%=(((oeuvre_data = oeuvre.getObject("dateexpofin"))==null || > oeuvre.wasNull())?"":oeuvre_data)%> >From whi

fmt:formatDate problems jstl 1.0.3

2003-09-02 Thread Tony Grant
Hello, I am trying to format dates that are the result of a database query. The dates are stocked in the database (PostgreSQL) as "date" data type. They are returned to the jsp in the format 2003-11-09 the JSP code is generated by Dreamweaver MX <%=(((oeuvre_data = oeuvre.getObject("dateexpofin"