ERXResponseRewriter .addStylesheetResourceInHead(context().response(), context(), null, "my.css"); ERXResponseRewriter.addScriptResourceInHead(context().response(), context(), null, "my.js");
I would only use this method if you're injecting CSS/js from a subcomponent. If you are adding it in your headerfooter component, you should use:

<wo:ERXStyleSheet framework="whatever" filename="CSS/MyCSSFile.css"/>
<wo:ERXJavaScript framework="whataver" filename="Javascript/ MyJavascriptFile.css"/>

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to