org.apache.wicket.resource.filtering
Class JavascriptFilteredIntoFooterHeaderResponse
java.lang.Object
org.apache.wicket.markup.html.DecoratingHeaderResponse
org.apache.wicket.resource.filtering.HeaderResponseContainerFilteringHeaderResponse
org.apache.wicket.resource.filtering.JavascriptFilteredIntoFooterHeaderResponse
- All Implemented Interfaces:
- IHeaderResponse
public final class JavascriptFilteredIntoFooterHeaderResponse
- extends HeaderResponseContainerFilteringHeaderResponse
A header response that creates two buckets. The header bucket will contain all references to CSS.
The other bucket will contain all Javascript, and you will need to add a
HeaderResponseFilteredResponseContainer to the footer of your page (typically just before the end
body tag) to render the Javascript.
- Author:
- Jeremy Thomerson
Methods inherited from class org.apache.wicket.resource.filtering.HeaderResponseContainerFilteringHeaderResponse |
close, get, getContent, renderCSSReference, renderCSSReference, renderCSSReference, renderCSSReference, renderJavascript, renderJavascriptReference, renderJavascriptReference, renderJavascriptReference, renderJavascriptReference, renderOnDomReadyJavascript, renderOnEventJavascript, renderOnLoadJavascript, runWithFilter, setFilters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavascriptFilteredIntoFooterHeaderResponse
public JavascriptFilteredIntoFooterHeaderResponse(IHeaderResponse response,
String footerBucketName)
- Construct.
- Parameters:
response
- the response you are wrappingfooterBucketName
- the name of the bucket that you will use for your footer container (see the class
javadocs for a reminder about putting this container in your footer)
createFilters
protected HeaderResponseContainerFilteringHeaderResponse.IHeaderResponseFilter[] createFilters(String footerBucketName)
createFooterFilter
protected JavascriptAcceptingHeaderResponseFilter createFooterFilter(String footerBucketName)
createHeaderFilter
protected CssAcceptingHeaderResponseFilter createHeaderFilter(String headerFilterName)
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.