Re: How to make a NonBreakingString component
Re: How to make a NonBreakingString component
- Subject: Re: How to make a NonBreakingString component
- From: Chuck Hill <email@hidden>
- Date: Tue, 15 Apr 2008 13:03:53 -0700
I'd write a formatter and use the formatter binding:
AString: WOString {
value = someString;
formatter = nonBreakingSpaceFormatter;
}
Formatters are more flexible in terms of reusability that components.
Chuck
On Apr 15, 2008, at 12:58 PM, John Huss wrote:
I'd like to make a component that is exactly like WOString except
that it replaces all spaces with (non-breaking spaces). Is
there an easy way to do that without having to write all the code to
handle the dateformat and numberformat stuff? Is there an existing
component that already does something like this? Either way, it
would be educational to know how to approach it if I wanted to build
my own.
Thanks
John
_______________________________________________
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
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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