ERMResourceInjector Class Reference

Inherits er::extensions::components::ERXStatelessComponent.

Collaboration diagram for ERMResourceInjector:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void appendToResponse (WOResponse response, WOContext context)
 ERMResourceInjector (WOContext context)


Detailed Description

Stupid little component to allow you to inject a resource at any point on a page. Useful for instance, if you need to guaruntee that your css will override the dynamically injected css from some other component.

Author:
davidleber

Constructor & Destructor Documentation

ERMResourceInjector ( WOContext  context  ) 


Member Function Documentation

void appendToResponse ( WOResponse  response,
WOContext  context 
)

Adds a link to the resource specified by filename and framework bindings to the header or includes it in an Ajax friendly manner.

Assumes that if the isScript binding is null or false resource is a css file.

See also:
er.extensions.components.ERXNonSynchronizingComponent.appendToResponse(com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext)

ERXResponseRewriter.addScriptResourceInHead(WOResponse, WOContext, String, String)

Reimplemented from ERXNonSynchronizingComponent.


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:23 2012 for Project Wonder by  doxygen 1.5.8