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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to