RE: [Q] Struts and date formatters

2003-08-14 Thread Alex Shneyderman
are seeing. Alex. -Original Message- From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 8:41 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [Q] Struts and date formatters Is there a solution without using JSTL? I run on BEA WebLogic 6.1sp2

RE: [Q] Struts and date formatters

2003-08-14 Thread Joe Germuska
At 7:05 -0700 8/6/03, Riaan Oberholzer wrote: I cannot switch to Sturts 1.1 because I use BEA WebLogic 6.1sp2 and a known WL bug limits the number of total jars you can use in an application to a collective name length of 80 characters. :( Same reason why I also cannot use JSTL. We run all of our

RE: [Q] Struts and date formatters

2003-08-14 Thread Chen, Gin
, August 06, 2003 8:37 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [Q] Struts and date formatters I have used JSTL and found it very nice, but then I have to export the property somehow from the struts bean to jstl... right? How do I do it? I use (in simplistic form

RE: [Q] Struts and date formatters

2003-08-14 Thread bmoritz
; [EMAIL PROTECTED] Subject: RE: [Q] Struts and date formatters Is there a solution without using JSTL? I run on BEA WebLogic 6.1sp2 and there is a known bug which limits the number of external jars you can import into an application. Do a google search for CR064391_610sp2.jar

RE: [Q] Struts and date formatters

2003-08-14 Thread Riaan Oberholzer
06, 2003 8:41 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [Q] Struts and date formatters Is there a solution without using JSTL? I run on BEA WebLogic 6.1sp2 and there is a known bug which limits the number of external jars you can import into an application. Do

RE: [Q] Struts and date formatters

2003-08-14 Thread Joe Germuska
At 6:28 -0700 8/6/03, Riaan Oberholzer wrote: Which version of struts is that? I am using 1.02 and for bean:write, neither type or formatKey are allowed attributes It was introduced during the development of Struts 1.1. The Struts development team took great pains to ensure backwards

Re: [Q] Struts and date formatters

2003-08-14 Thread Joe Germuska
Somewhere between 1.0 and 1.1, the format attribute was added to the bean:write tag. You can specify a format string and it will apply the format to the underlying object. The tag has internal logic which determines which kind of formatter to create, but basically if your object is a Date,

RE: [Q] Struts and date formatters

2003-08-14 Thread Mark Galbreath
And you specify the format in your application.properties file. -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 8:49 AM To: Struts Users Mailing List Subject: Re: [Q] Struts and date formatters Somewhere between 1.0 and 1.1, the format

RE: [Q] Struts and date formatters

2003-08-14 Thread Riaan Oberholzer
I have used JSTL and found it very nice, but then I have to export the property somehow from the struts bean to jstl... right? How do I do it? I use (in simplistic form): logic:iterate id=employee name=listOfEmployees bean:write name=employee property=birthdate /logic:iterate How would this

RE: [Q] Struts and date formatters

2003-08-14 Thread bmoritz
yourBean.toString () hence the behavior you are seeing. Alex. -Original Message- From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 8:41 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [Q] Struts

RE: [Q] Struts and date formatters

2003-08-08 Thread Bailey, Shane C.
trying, others here are not so into sharing :) -Original Message- From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 8:41 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [Q] Struts and date formatters Is there a solution without using JSTL? I

RE: [Q] Struts and date formatters

2003-08-08 Thread Riaan Oberholzer
Is there a solution without using JSTL? I run on BEA WebLogic 6.1sp2 and there is a known bug which limits the number of external jars you can import into an application. Do a google search for CR064391_610sp2.jar for more details on that. Anyway, we cannot upgrade to a new version soon, which

RE: [Q] Struts and date formatters

2003-08-07 Thread Riaan Oberholzer
It is/was a known bug for WL 6.1 sp2. If you like more info on it, do a google search for CR064391. A patch was realeased for this bug (CR064391_610sp2.jar) and it is fixed as of sp3. But we cannot upgrade or install patched, for a number of reasons. So, if you use WL 6.1 sp2 without patches,

RE: [Q] Struts and date formatters

2003-08-06 Thread Riaan Oberholzer
are seeing. Alex. -Original Message- From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 8:41 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [Q] Struts and date formatters Is there a solution without

RE: [Q] Struts and date formatters

2003-08-06 Thread bmoritz
yourBean.toString () hence the behavior you are seeing. Alex. -Original Message- From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 8:41 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [Q] Struts

RE: [Q] Struts and date formatters

2003-08-06 Thread Alex Shneyderman
Use JSTL's formatDate tag. Very easy to use and lets you format your date any way you want it. Example: fmt:formatDate value=${yourDate} pattern=-MM-dd HH:mm / it is that simple. Alex. -Original Message- From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06,

RE: [Q] Struts and date formatters

2003-08-06 Thread Riaan Oberholzer
I cannot switch to Sturts 1.1 because I use BEA WebLogic 6.1sp2 and a known WL bug limits the number of total jars you can use in an application to a collective name length of 80 characters. :( Same reason why I also cannot use JSTL. Since struts 1.1 imports a few more new jars, I exceed the