• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: DTW date formatting rule...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: DTW date formatting rule...
      • From: Andrew Lindesay <email@hidden>
References: 
 >DTW date formatting rule... (From: James Cicenia <email@hidden>)
 >Re: DTW date formatting rule... (From: Andrew Lindesay <email@hidden>)

  • Prev by Date: Re: just a reminder
  • Next by Date: Direct To Web Rule Practices?
  • Previous by thread: Re: DTW date formatting rule...
  • Next by thread: Re: DTW date formatting rule...
  • Index(es):
    • Date
    • Thread