RE: message and struts tiles

2003-09-02 Thread Chen, Gin
yup.. just include a var and optional scope attribute. isnt jstl simple? ;) example would be something like: fmt: message var=foo key=bar/ and then in your result page do a: c:out value=${foo}/ -Tim -Original Message- From: Ray Madigan [mailto:[EMAIL PROTECTED] Sent: Sunday, August

sql:resultset behaves strangely

2003-09-02 Thread Martin van Dijken
Hey gang, I've got something really strange going on. I've got a servlet that creates a resultset and then puts this resultset in the request attributes under results. In the page I've got these tags: sql:resultSet name=results id=rslts p sql:getColumn colName=app_title/br /p /sql:resultSet

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 =

c:forEach problem

2003-09-02 Thread Adam Hardy
Hi All, I'm trying to swop a struts logic:iterate tag for a c:forEach and I have run into the problem that I get no output. I get no errors either. There is obviously something wrong with my forEach tag. Here is what I have: c:set var=sectionListKey value=%=Constants4Lists.SECTION_LIST % /

RE: forEach problem

2003-09-02 Thread Karr, David
If you're using the non-RT version of the tag library, then you can't use expression scriptlets for attribute values. You'll have to change your initial c:set to this (untested): c:set var=sectionListKey %=Constants4Lists.SECTION_LIST % /c:set -Original Message- From: Adam Hardy

Re: forEach problem

2003-09-02 Thread Adam Hardy
Great. That's sorted it. Thanks Adam On 09/02/2003 10:15 PM Karr, David wrote: If you're using the non-RT version of the tag library, then you can't use expression scriptlets for attribute values. You'll have to change your initial c:set to this (untested): c:set var=sectionListKey