Codota Logo
JavaScriptUrlReferenceHeaderItem.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.apache.wicket.markup.head.JavaScriptUrlReferenceHeaderItem
constructor

Best Java code snippets using org.apache.wicket.markup.head.JavaScriptUrlReferenceHeaderItem.<init> (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: org.apache.wicket/wicket-core

/**
 * Creates a {@link JavaScriptUrlReferenceHeaderItem} for the given url.
 *
 * @param url
 *            context-relative url of the the javascript resource
 * @param id
 *            id that will be used to filter duplicate reference (it's still filtered by URL
 *            too)
 * @param defer
 *            specifies that the execution of a script should be deferred (delayed) until after
 *            the page has been loaded.
 * @param charset
 *            a non null value specifies the charset attribute of the script tag
 * @return A newly created {@link JavaScriptUrlReferenceHeaderItem} for the given url.
 */
public static JavaScriptUrlReferenceHeaderItem forUrl(String url, String id, boolean defer,
  String charset, String condition)
{
  return new JavaScriptUrlReferenceHeaderItem(url, id, defer, charset, condition);
}
origin: apache/wicket

/**
 * Creates a {@link JavaScriptUrlReferenceHeaderItem} for the given url.
 *
 * @param url
 *            context-relative url of the the javascript resource
 * @param id
 *            id that will be used to filter duplicate reference (it's still filtered by URL
 *            too)
 * @param defer
 *            specifies that the execution of a script should be deferred (delayed) until after
 *            the page has been loaded.
 * @param charset
 *            a non null value specifies the charset attribute of the script tag
 * @return A newly created {@link JavaScriptUrlReferenceHeaderItem} for the given url.
 */
public static JavaScriptUrlReferenceHeaderItem forUrl(String url, String id, boolean defer,
  String charset, String condition)
{
  return new JavaScriptUrlReferenceHeaderItem(url, id, defer, charset, condition);
}
origin: org.geoserver.web/gs-web-wms

        null));
header.render(
    new JavaScriptUrlReferenceHeaderItem(
        ResponseUtils.buildURL(base, "/openlayers3/ol.js", null, URLType.RESOURCE),
        null,
origin: org.geoserver.web/gs-web-demo

  @Override
  public void renderHead(Component component, IHeaderResponse response) {
    HttpServletRequest req =
        getGeoServerApplication().servletRequest(getRequest());
    String baseUrl = baseURL(req);
    response.render(
        new CssUrlReferenceHeaderItem(
            buildURL(
                baseUrl,
                "openlayers3/ol.css",
                null,
                URLMangler.URLType.RESOURCE),
            null,
            null));
    response.render(
        new JavaScriptUrlReferenceHeaderItem(
            buildURL(
                baseUrl,
                "openlayers3/ol.js",
                null,
                URLMangler.URLType.RESOURCE),
            null,
            false,
            "UTF-8",
            null));
  }
});
org.apache.wicket.markup.headJavaScriptUrlReferenceHeaderItem<init>

Javadoc

Creates a new JavaScriptUrlReferenceHeaderItem.

Popular methods of JavaScriptUrlReferenceHeaderItem

  • forReference
  • getCharset
  • getCondition
  • getId
  • getUrl
  • internalRenderJavaScriptReference
  • isAsync
  • isDefer
  • setId

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • getSharedPreferences (Context)
  • getApplicationContext (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now