Re: DTW date formatting rule...
Re: DTW date formatting rule...
- Subject: Re: DTW date formatting rule...
- From: Andrew Lindesay <email@hidden>
- Date: Wed, 26 Sep 2007 07:27:29 +1200
Hello James;
I tend to put the formatters into the session and then put an
accessor in the framework/project's component-superclass to get at
the one in the session;
public Format getFormatterForDateAndTimes()
{
return ((Session) context().session()).getFormatterForDateAndTimes();
}
...then in the bindings...
formatter = formatterForDateAndTimes;
cheers.
Is there a way to globally format with a rule so that all dates are
shown consistently....
right now I have to set them all individually like:
___
Andrew Lindesay
technology : www.lindesay.co.nz
business : www.silvereye.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden