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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
This email sent to [EMAIL PROTECTED]
--
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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]