Re: DTW date formatting rule...
Re: DTW date formatting rule...
- Subject: Re: DTW date formatting rule...
- From: James Cicenia <email@hidden>
- Date: Tue, 25 Sep 2007 15:48:43 -0500
I don't see how this works for DirectToWeb rules.
I will start a new thread on more general rule questions that I am
having now.
On Sep 25, 2007, at 2:27 PM, Andrew Lindesay wrote:
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