org.apache.wicket.markup.head.filter
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, IHeaderResponse
public final class JavaScriptFilteredIntoFooterHeaderResponse
- extends FilteringHeaderResponse
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HEADER_FILTER_NAME
public static final String HEADER_FILTER_NAME
- The name of the filter that renders the head section of the page
- See Also:
- Constant Field Values
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 Iterable<? extends FilteringHeaderResponse.IHeaderResponseFilter> createFilters(String footerBucketName)
createFooterFilter
@Deprecated
protected FilteringHeaderResponse.IHeaderResponseFilter createFooterFilter(String footerBucketName,
FilteringHeaderResponse.IHeaderResponseFilter header)
- Deprecated. no longer part of the API
- see WICKET-4736 JavaScriptFilteredIntoFooterHeaderResponse should reverse filter logic
- Parameters:
footerBucketName
- header
-
- Returns:
- the correct header response filter, but a different one
createHeaderFilter
@Deprecated
protected FilteringHeaderResponse.IHeaderResponseFilter createHeaderFilter(String headerFilterName)
- Deprecated. no longer part of the API
- see WICKET-4736 JavaScriptFilteredIntoFooterHeaderResponse should reverse filter logic
- Parameters:
headerFilterName
-
- Returns:
- the wrong header response filter
Copyright © 2006–2013 Apache Software Foundation. All rights reserved.