RE: Bean's get method with parameter

2004-08-27 Thread Joe Germuska
At 10:03 AM +0100 8/27/04, Paul McCulloch wrote: A getter with a paramteter is not a bean property, and so won't be accessible with the usual tags. This is true, and in general, Paul's suggestion below is the right way to go. Still, it's interesting to note out that Struts (or more accurately, com

RE: Bean's get method with parameter

2004-08-27 Thread Paul McCulloch
mailto:[EMAIL PROTECTED] > Sent: Friday, August 27, 2004 2:09 PM > To: 'Struts Users Mailing List' > Subject: RE: Bean's get method with parameter > > > Hi, > > thanks for your answer. However, I have 2 issues: > > 1) formatDate tag must not h

RE: Bean's get method with parameter

2004-08-27 Thread Pavel Kolesnikov
On Fri, 27 Aug 2004, Václavík Radek wrote: > 2) I don't see how the format of the date changes accrding to selected > locale. There is one locale in session (the struts one - Globals.LOCALE_KEY) > but this one has no influence. So I've tried to change the locale settings > in windows to, e.g. ENGL

RE: Bean's get method with parameter

2004-08-27 Thread Václavík Radek
[EMAIL PROTECTED] > Sent: Friday, August 27, 2004 11:04 AM > To: 'Struts Users Mailing List' > Subject: RE: Bean's get method with parameter > > > A getter with a paramteter is not a bean property, and so won't be > accessible with the usual tags.

RE: Bean's get method with parameter

2004-08-27 Thread Paul McCulloch
A getter with a paramteter is not a bean property, and so won't be accessible with the usual tags. I'd suggest that the formatting of your date is the responsibility of your view layer, and not the form bean. The easiest way to do waht you ar after is to use the JSTL's tag: