• 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: WOComponent children
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOComponent children


  • Subject: Re: WOComponent children
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 15 Jan 2008 18:09:55 -0500

I would like to make another suggestion why not generate your JavaScript in a direct action. Just create a direct action Create a response that will hold your JavaScript and call a method on each of your component to push there JavaScript when it is all done just return it. WebObjects can be used to generate JavaScript not just HTML.
Ideally you want individual files to be generated to take advantage of browser caching rather than being dynamically generated out of a DA. I'm not even convinced those have to be injected into head -- I don't recall the history that caused that method to come to life. I've always thought it was terribly dirty, though, especially since it presumes that your response is not streaming.

ms

_______________________________________________
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: 
 >Re: WOComponent children (From: email@hidden)
 >Re: WOComponent children (From: Mike Schrag <email@hidden>)
 >Re: WOComponent children (From: "Mr. Pierre Frisch" <email@hidden>)

  • Prev by Date: Re: WOComponent children
  • Next by Date: Re: WOComponent children
  • Previous by thread: Re: WOComponent children
  • Next by thread: Re: WOComponent children
  • Index(es):
    • Date
    • Thread