Re: Non HTML WO Components
Re: Non HTML WO Components
- Subject: Re: Non HTML WO Components
- From: Chuck Hill <email@hidden>
- Date: Wed, 8 Mar 2006 14:41:37 -0800
On Mar 8, 2006, at 2:05 PM, Randy Wigginton wrote:
Are there any examples of non-HTML wo pages? I’d like to return a
page of type TEXT/TEXT – ie, non-encoded.
WO is just a template engine attached to an object persistence engine
and an HTTP pipe. It does not really care what it returns, HTML, XML,
plist format, text, or pure non-sense. If you don't want HTML tags,
then don't use links and things that make HTML tags.
I think what you really want to ask is, "How can I change the Content-
Type header of the HTTP response?"
I wish there was a good searchable repository of WO examples with
explanations.
Search for 'content-type' on www.wodev.com
Chuck
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
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