RE: How to handle Dates?

2005-02-25 Thread Bob Arnott
Brian McGovern wrote: Hi looking for input on how to approach dates across all levels of my struts app. Mainly what approach will allow me to handle formatting on the presentation layer. Is there any tag lib available in struts to handle formatting of a date type object ? I wrote my

Re: How to handle Dates?

2005-02-25 Thread Catalin Croitoru
I solved this problem with a format key in my application.properties: application.date_format.short=dd.MM. application.date_format.long=dd.MM. hh:mm:ss and in presentation layer I use : bean:write. this tag has: formatKey or format as atributes. in my case I use formatKey. if you would

Re: How to handle Dates?

2005-02-24 Thread Jim Kennedy
I use Struts throughout my application, but I also use the JSTL in a few places. This is what I use for date formatting: [EMAIL PROTECTED] uri=/WEB-INF/fmt.tld prefix=fmt % Date Available: brbfmt:formatDate value='${prop.availableDate}' / -Original Message- From: Brian McGovern

Re: How to handle Dates?

2005-02-24 Thread Larry Meadors
- From: Jim Kennedy [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 4:21 PM To: Struts Users Mailing List Subject: Re: How to handle Dates? I use Struts throughout my application, but I also use the JSTL in a few places. This is what I use for date formatting: [EMAIL PROTECTED

RE: How to handle Dates?

2005-02-24 Thread Jason Long
- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 4:42 PM To: Struts Users Mailing List Subject: Re: How to handle Dates? A java.util.Date in any scope would work fine. Larry On Thu, 24 Feb 2005 16:40:07 -0500, Brian McGovern [EMAIL PROTECTED] wrote: Im not too