Re: WOComponent children
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