• 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: Non HTML WO Components
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Non HTML WO Components (From: "Randy Wigginton" <email@hidden>)

  • Prev by Date: Re: Non HTML WO Components
  • Next by Date: [Meet] Toronto Area Cocoa & WebObjects Developer Group - Registration Now Open
  • Previous by thread: Re: Non HTML WO Components
  • Next by thread: Value from a Subcomponent
  • Index(es):
    • Date
    • Thread