Class JavaScriptFilteredIntoFooterHeaderResponse
java.lang.Object
org.apache.wicket.markup.html.DecoratingHeaderResponse
org.apache.wicket.markup.head.filter.FilteringHeaderResponse
org.apache.wicket.markup.head.filter.JavaScriptFilteredIntoFooterHeaderResponse
- All Implemented Interfaces:
Closeable
,AutoCloseable
,IHeaderResponse
A header response that creates two buckets. The header bucket will contain all references to CSS
and markup from the <head> section from the page. The other bucket will contain all other
header items, and you will need to add a
HeaderResponseContainer
to the footer of your
page (typically just before the end body tag) to render those items.- Author:
- Jeremy Thomerson
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wicket.markup.head.filter.FilteringHeaderResponse
FilteringHeaderResponse.IHeaderResponseFilter
-
Field Summary
Fields inherited from class org.apache.wicket.markup.head.filter.FilteringHeaderResponse
DEFAULT_HEADER_FILTER_NAME
-
Constructor Summary
ConstructorDescriptionJavaScriptFilteredIntoFooterHeaderResponse
(IHeaderResponse response, String footerBucketName) Construct. -
Method Summary
Modifier and TypeMethodDescriptioncreateFooterFilter
(String footerBucketName) createHeaderFilter
(String headerFilterName, FilteringHeaderResponse.IHeaderResponseFilter footerFilter) Methods inherited from class org.apache.wicket.markup.head.filter.FilteringHeaderResponse
close, decorate, get, getContent, render, render, setFilters
Methods inherited from class org.apache.wicket.markup.html.DecoratingHeaderResponse
getRealResponse, getResponse, isClosed, markRendered, wasRendered
-
Constructor Details
-
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)
-
-
Method Details
-
createHeaderFilter
protected FilteringHeaderResponse.IHeaderResponseFilter createHeaderFilter(String headerFilterName, FilteringHeaderResponse.IHeaderResponseFilter footerFilter)