• 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: Use of the "formatter" binding on a WOString?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of the "formatter" binding on a WOString?


  • Subject: Re: Use of the "formatter" binding on a WOString?
  • From: Paul Lynch <email@hidden>
  • Date: Wed, 11 Oct 2006 19:17:47 +0100

On 11 Oct 2006, at 16:09, Matt Kime wrote:

I'm terribly confused as to how to use a formatter in on a WOString in
a WOComponent. How is the "formatter" binding to be used? Must there
be code in the component? I've used the date and number formatters so
I guess I'm expecting something similar. I'd appreciate even a point
towards simple documentation. I'm confused as to how I could be so
confused over this.

The formatter binding should be bound to an object that can act as a formatter, which will be an NSFormatter subclass. See, for example, http://developer.apple.com/documentation/WebObjects/Reference/ DynamicElements/index.html


Typically this might be a custom class that you have written.

Number and date formats (not formatters) are strings that are fed to one of these formatter objects.

Paul
_______________________________________________
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


References: 
 >Use of the "formatter" binding on a WOString? (From: "Matt Kime" <email@hidden>)

  • Prev by Date: Re: Use of the "formatter" binding on a WOString?
  • Next by Date: Re: Component Java class lookup
  • Previous by thread: Re: Use of the "formatter" binding on a WOString?
  • Next by thread: WOGenericContainer Question
  • Index(es):
    • Date
    • Thread