package org.apache.wicket.behavior;
Returns a new instance of
HeaderContributor with a header contributor that references
a CSS file that lives in a package.
- Parameters:
scope
The scope of the package resource (typically the class of the caller, or a class
that lives in the package where the resource lives).path
The path- Returns:
- the new header contributor instance
private static final long serialVersionUID = 1L;
Returns a new instance of
HeaderContributor with a header contributor that references
a CSS file that lives in a package.
- Parameters:
scope
The scope of the package resource (typically the class of the caller, or a class
that lives in the package where the resource lives).path
The pathmedia
The media type for this CSS ("print", "screen", etc.)- Returns:
- the new header contributor instance
private static final long serialVersionUID = 1L;
Returns a new instance of
HeaderContributor with a header contributor that references
a CSS file that lives in a package.
- Parameters:
reference- Returns:
- the new header contributor instance
private static final long serialVersionUID = 1L;
Returns a new instance of
HeaderContributor with a header contributor that references
a CSS file that lives in a package.
- Parameters:
referencemedia
The media type for this CSS ("print", "screen", etc.)- Returns:
- the new header contributor instance
private static final long serialVersionUID = 1L;
Returns a new instance of
HeaderContributor with a header contributor referencing a
CSS file using one of the following schemes:
- Starts with http:// or https:// for an external reference.
- Starts with "/" for an absolute reference that Wicket will not rewrite.
- Starts with anything else, which Wicket will automatically prepend to make relative to
the context root of your web-app.
- Parameters:
location
The location of the css file.- Returns:
- the new header contributor instance
private static final long serialVersionUID = 1L;
Returns a new instance of
HeaderContributor with a header contributor referencing a
CSS file using one of the following schemes:
- Starts with http:// or https:// for an external reference.
- Starts with "/" for an absolute reference that Wicket will not rewrite.
- Starts with anything else, which Wicket will automatically prepend to make relative to
the context root of your web-app.
- Parameters:
location
The location of the css.media
The media type for this CSS ("print", "screen", etc.)- Returns:
- the new header contributor instance
private static final long serialVersionUID = 1L;
Returns a new instance of
HeaderContributor with a header contributor that references
a java script file that lives in a package.
- Parameters:
scope
The scope of the package resource (typically the class of the caller, or a class
that lives in the package where the resource lives).path
The path- Returns:
- the new header contributor instance
private static final long serialVersionUID = 1L;
Returns a new instance of
HeaderContributor with a header contributor that references
a java script file that lives in a package.
- Parameters:
reference- Returns:
- the new header contributor instance
private static final long serialVersionUID = 1L;
Returns a new instance of
HeaderContributor with a header contributor referencing a
java script file using one of the following schemes:
- Starts with http:// or https:// for an external reference.
- Starts with "/" for an absolute reference that Wicket will not rewrite.
- Starts with anything else, which Wicket will automatically prepend to make relative to
the context root of your web-app.
- Parameters:
location
The location of the java script file.- Returns:
- the new header contributor instance
private static final long serialVersionUID = 1L;
Resource reference to contribute.
Construct.
- Parameters:
headerContributor
the header contributor
if (headerContributor == null)