• 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: Components and the Memory Game
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Components and the Memory Game


  • Subject: Re: Components and the Memory Game
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 11 Feb 2008 08:41:44 -0800


On Feb 10, 2008, at 2:37 PM, Cornelius Jaeger wrote:

Hi All

Since i'm just a little lazy in certain aspects of my character i was wondering the following:
I have a component that generates a proprietary xml to interface with some legacy software.
Turns out that the xml can get really large, requiring lots of objects.
I figured i could put the XML together using something like Wonders ERXFetchSpecificationBatchIterator, and append to a text file and then send that off.
However, wouldn't it be neat to be able to use a component as such?
Sort of cycling through part of a component, then generating a response for that, append to xml file, gc, repeat until done. It would be tricky to know where in the component to break, but maybe inserting a comment tag that lets the system know when to break and append to the xml file could work?
And a repetition seems like a natural place to cycle editing contexts. Maybe every 10 rows or so, depending on the complexity of the xml.
Has anyone got some pointers on how to do this?
Is it a waste of time?

You could probably just create it, use set... methods to set the objects and then manually call appendToResponse on it. Repeat "use set... methods to set the objects and then manually call appendToResponse on it" as needed.


Chuck

--

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


  • Follow-Ups:
    • Re: Components and the Memory Game
      • From: Cornelius Jaeger <email@hidden>
References: 
 >Components and the Memory Game (From: Cornelius Jaeger <email@hidden>)

  • Prev by Date: Re: SQL Schema comparator
  • Next by Date: Re: Help getting WO to consume .NET web Services
  • Previous by thread: Components and the Memory Game
  • Next by thread: Re: Components and the Memory Game
  • Index(es):
    • Date
    • Thread